Can not force unmount child directory if underlying file system is unavailable when using nested mounts.

Problem

Can not force unmount child directory if underlying file system is unavailable when using nested mounts.

Solution

ISSUE:
 
When using nested mounts, can not force unmount a child mount point if the parent mount point is force unmounted.
 
This problem is applicable to only VxFS 5.0MP3 (+ RP1 and RP2).
 
This problem is not applicable to earlier versions of VxFS.
 

 
ERROR CODE/ MESSAGE:
 
# umount -f /parent/child
 
UX:vxfs umount: ERROR: V-3-21704: cannot set force unmount for /parent/child: No such file or directory
 

 
REPRODUCTION STEPS:
 
# modinfo | grep vxportal
 
237 7b244f90 cb0 310 1 vxportal (VxFS 5.0_REV-5.0MP3RP1k_sol por)
 

 
# mount -F vxfs /dev/vx/dsk/testdg/vol01 /parent
 
# mount -F vxfs /dev/vx/dsk/testdg/vol02 /parent/child
 

 
# mount -v | grep parent
 
/dev/vx/dsk/testdg/vol01 on /parent type vxfs read/write/setuid/devices/delaylog/largefiles/qio/ioerror=mwdisable/dev=4e080e8 on Tue Jun 9 12:15:44 2009
 
/dev/vx/dsk/testdg/vol02 on /parent/child type vxfs read/write/setuid/devices/delaylog/largefiles/qio/ioerror=mwdisable/dev=4e080e9 on Tue Jun 9 12:15:59 2009
 

 
*** Force unmounting parent dir
 
# umount -f /parent
 
#
 
# mount -v | grep parent
 
/dev/vx/dsk/testdg/vol02 on /parent/child type vxfs read/write/setuid/devices/delaylog/largefiles/qio/ioerror=mwdisable/dev=4e080e9 on Tue Jun 9 12:12:27 2009
 

 
*** Force unmounting child dir fails...
 
# umount -f /dev/vx/dsk/testdg/vol02
 
UX:vxfs umount: ERROR: V-3-21704: cannot set force unmount for /parent/child: No such file or directory
 
# umount -f /parent/child
 
UX:vxfs umount: ERROR: V-3-21704: cannot set force unmount for /parent/child: No such file or directory
 

 
*** Normal unmount works ok.
 
# umount /parent/child
 
# mount -v | grep parent
 
#
 

 
CAUSE:
 
The problem is caused due to known defect tracked via e1417467 / e1713160 / e526580 (vxumount fails to force unmount a nested filesystem when the underlying filesystem is unavailable).
 

 
SOLUTION:
 
The fix for this issue is available via VxFS 5.0MP3RP1HF2. Please contact Symantec Technical Support to obtain this patch.
 

 

 

 

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)