UX:vxfs mount: ERROR: V-3-21264: /dev/vx/dsk/jdg/jvol is already mounted, /jvol_global is busy, allowable number of mount points exceeded
Problem
UX:vxfs mount: ERROR: V-3-21264: /dev/vx/dsk/jdg/jvol is already mounted, /jvol_global is busy, allowable number of mount points exceeded
Solution
When the file system gets disabled with an I/O error, the process might still hold the mount point, and it would prevent mounting back the file system later.
If the system has a non-global(or local) zone with a loopback file system, then you might see I/O error on the lofs inside the zone, and it should be cleaned up as well.
You can see the 2 entry for the file system; one for local file system, and the other for loopback file system(lofs) for none-global zone.
# mount |grep jvol/jvol_global on /dev/vx/dsk/jdg/jvol read/write/setuid/devices/delaylog/largefiles/qio/ioerror=mwdisable/dev=4c8afc8 on Mon Apr 12 10:32:50 2010
/zone/jzone/root/jvol_local on /jvol_global read/write/setuid/devices/dev=4c8afc8 on Mon Apr 12 10:33:09 2010
Error Message when you try to mount the file system:
# mount -F vxfs /dev/vx/dsk/jdg/jvol /jvol_globalUX:vxfs mount: ERROR: V-3-21264: /dev/vx/dsk/jdg/jvol is already mounted, /jvol_global is busy,
allowable number of mount points exceeded
Solution:
(1) umount the file system from global zone.
# umount -f /jvol_global
Note: should use '-f' as normally some process still holding the mount point.
(2) umount the lofs in global zone
force option(-f) is not available for lofs, so you have to kill all the processes are running on the file system in the local zone before umount it.
# fuser -cu /zone/jzone/root/jvol_local/zone/jzone/root/jvol_local: 26059c(root) 24336c(root)
# fuser -k /zone/jzone/root/jvol_local/zone/jzone/root/jvol_local: 26264c 24336c
# umount /zone/jzone/root/jvol_local
(3) mount back the file system in global zone.
# mount -F vxfs /dev/vx/dsk/jdg/jvol /jvol_global