zfs fails on remount when using bind mounts
Bug #1699804 reported by
Dan Streetman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Unknown
|
|||
linux (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
When using a ZFS filesystem, if it is mounted and the bind-mounted, and then the original mount is unmounted, the bind mount will still be able to access the zfs filesystem contents, and zfs refuses to mount the original mount point.
This is upstream zfs bug 5796:
https:/
Example repro steps (from upstream bug):
zfs create tank/test
zfs set mountpoint=
touch /tank-test/
mount -B /tank-test /mnt
zfs umount tank/test
ls -al /tank-test/ (filesystem unmounted, file not found)
ls -al /mnt (filesystem still referenced and file still found)
zfs mount tank/test (will complain about dataset being mounted)
Changed in linux (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
affects: | linux → zfs |
affects: | zfs → linux |
Changed in linux: | |
status: | Unknown → New |
Changed in linux: | |
status: | New → Fix Released |
tags: | added: cscc |
To post a comment you must log in.