[Pkg-zfsonlinux-devel] Bug#990130: Problems when mounting ZFS datasets in wrong order
Juan Cespedes
cespedes at debian.org
Mon Jun 21 14:46:10 BST 2021
Package: zfsutils-linux
Version: 2.0.3-8
Severity: important
First of all, I am not really sure if this bug belongs to zfs-dkms or to
zfsutils-linux.
When mounting a parent and a child dataset in the wrong order (first
child, then parent), it is not possible to unmount any of them with
"zfs unmount" anymore:
root at cespedes:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 104K 832M 24K /tank
root at cespedes:~# zfs create -p tank/foo/bar
root at cespedes:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 177K 832M 24K /tank
tank/foo 48K 832M 24K /tank/foo
tank/foo/bar 24K 832M 24K /tank/foo/bar
root at cespedes:~# zfs mount
tank /tank
tank/foo /tank/foo
tank/foo/bar /tank/foo/bar
root at cespedes:~# zfs unmount tank/foo
root at cespedes:~# zfs mount tank/foo/bar
root at cespedes:~# zfs mount tank/foo
root at cespedes:~# zfs mount
tank /tank
tank/foo/bar /tank/foo/bar
tank/foo /tank/foo
root at cespedes:~# zfs unmount tank/foo/bar
cannot unmount '/tank/foo/bar': unmount failed
root at cespedes:~# zfs unmount tank/foo
cannot unmount '/tank/foo/bar': unmount failed
Best,
Juan Cespedes
More information about the Pkg-zfsonlinux-devel
mailing list