[pve-devel] applied: [PATCH storage] fix volume activation for ZFS subvols
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Nov 23 07:09:23 CET 2020
On 19.11.20 11:29, Fabian Ebner wrote:
> When using the path to request properties, and no ZFS file system is mounted
> at that path, ZFS will fall back to the parent filesystem:
>
>> # zfs unmount myzpool/subvol-172-disk-0
>> # zfs get mounted /myzpool/subvol-172-disk-0
>> NAME PROPERTY VALUE SOURCE
>> myzpool mounted yes -
>> # zfs get mounted myzpool/subvol-172-disk-0
>> NAME PROPERTY VALUE SOURCE
>> myzpool/subvol-172-disk-0 mounted no -
>
> Thus, we cannot use the path and need to use the dataset directly.
>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>
> See commit 59fdc2b71e5da8eaf3c821a5c55f410f58da200a for more context.
> I did build the package as root to run the zfs regressiontests this time.
>
> PVE/Storage/ZFSPoolPlugin.pm | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list