From: Fiona Ebner <f.ebner@proxmox.com>
To: Christoph Heiss <c.heiss@proxmox.com>
Cc: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH v2 storage 1/2] fix #5071: zfs over iscsi: add 'zfs-base-path' configuration option
Date: Thu, 5 Jun 2025 13:17:56 +0200 [thread overview]
Message-ID: <ce917c6b-0c59-4a62-b1d9-62de484eb5da@proxmox.com> (raw)
In-Reply-To: <DAEJRK60I18R.3H50H3BHTNIA1@proxmox.com>
Am 05.06.25 um 13:02 schrieb Christoph Heiss:
> Tested the series by setting up a iSCSI target using targetcli(d) (on a
> separate PVE 8.4 system as a base, due to ZFS goodies) and then adding a
> ZFS-over-iSCSI storage using the LIO provider to a test cluster.
>
> Confirmed that
>
> - `zfs-base-path` is correctly detected when adding the storage
>
> - the iSCSI storage is seen correctly after setting up and that VM disks
> can be (live-)migrated to the ZFS-over-iSCSI storage w/o problems.
>
> One small comment inline, just a typo in the API description.
>
> Please consider the series in any case
>
> Tested-by: Christoph Heiss <c.heiss@proxmox.com>
Thank you for testing! Superseded by v3 with the typo fixed:
https://lore.proxmox.com/pve-devel/20250605111109.52712-1-f.ebner@proxmox.com/
> One unrelated thing I noticed during testing, but wanted to note for
> reference:
>
> When one hits the error due to a bad `zfs-base-path` (e.g. as currently
> happens):
>
> `TASK ERROR: storage migration failed: Could not open /dev/<poolname>/vm-100-disk-0`
>
> the target zvol isn't cleaned up, e.g. the above would result in
> `<poolname>/vm-100-disk-0` still being present on the remote zpool.
>
> Fortunately this doesn't really break anything, as the next available
> disk number (in this case, `vm-100-disk-1`), is chosen automatically
> anyway when creating a new disk.
There actually is already error handling for freeing up allocated disks
in this context. But the storage plugin itself already fails during
allocation, so the new volume ID is never returned as a result, so
qemu-server doesn't know about it. I'll send a patch to improve cleanup
handling inside the plugin itself.
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
prev parent reply other threads:[~2025-06-05 11:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 13:34 Fiona Ebner
2025-05-27 13:34 ` [pve-devel] [PATCH v2 storage 2/2] zfs over iscsi: on-add hook: dynamically determine base path Fiona Ebner
2025-06-05 11:02 ` [pve-devel] [PATCH v2 storage 1/2] fix #5071: zfs over iscsi: add 'zfs-base-path' configuration option Christoph Heiss
2025-06-05 11:17 ` Fiona Ebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ce917c6b-0c59-4a62-b1d9-62de484eb5da@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=c.heiss@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal