OpenSolaris

Printable Version Enter a New Search
Bug ID 6612218
Synopsis inherited zfs set mountpoint mounts children before parent
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer William Gorrell
Reported Against snv_72 , snv_74 , solaris_10 , solaris_10u5
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_121
Fixed In snv_121
Release Fixed solaris_nevada(snv_121)
Related Bugs 6718982
Submit Date 2-October-2007
Last Update Date 13-August-2009
Description
If you set a mountpoint on a currently unmounted filesystem with one or more unmounted children, it appears that the children get mounted first, preventing the parent from mounting.

test case:
# zfs create z/space/test		<- test placeholder
# zfs set mountpoint=none z/space/test 	<- unmount
# zfs create z/space/test/one		<- create child
# zfs set mountpoint=/zz z/space/test	<- mount
cannot mount '/zz': directory is not empty

# df -F zfs
Filesystem           1024-blocks        Used   Available Capacity  Mounted on
z/space                 45674496     1421018    42937575     4%    /space
z/space/sommerfeld      45674496     1313592    42937575     3%    /space/sommerfeld
z/space/test/one        45674496          18    42937575     1%    /zz/one
Work Around
N/A
Comments
N/A