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@cespedes:~# zfs list
NAME   USED  AVAIL     REFER  MOUNTPOINT
tank   104K   832M       24K  /tank
root@cespedes:~# zfs create -p tank/foo/bar
root@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@cespedes:~# zfs mount
tank                            /tank
tank/foo                        /tank/foo
tank/foo/bar                    /tank/foo/bar
root@cespedes:~# zfs unmount tank/foo
root@cespedes:~# zfs mount tank/foo/bar
root@cespedes:~# zfs mount tank/foo
root@cespedes:~# zfs mount
tank                            /tank
tank/foo/bar                    /tank/foo/bar
tank/foo                        /tank/foo
root@cespedes:~# zfs unmount tank/foo/bar
cannot unmount '/tank/foo/bar': unmount failed
root@cespedes:~# zfs unmount tank/foo
cannot unmount '/tank/foo/bar': unmount failed


Best,

Juan Cespedes

Reply via email to