dsmexperts
asked on
umounting from a non-global zone
I recently created a lofi device to mount an iso. I then mounted that iso in a non-global zone so the zone could read the iso image. I am not not able unmount the iso from it's mount point in the non-global zone or from the global zone. Anybody know how.
root@server: umount /mnt
umount: /mnt busy
root@server: umount -f /mnt
umount: Operation not supported
umount: cannot unmount /mnt
root@server: umount /mnt
umount: /mnt busy
root@server: umount -f /mnt
umount: Operation not supported
umount: cannot unmount /mnt
ASKER
Results:
root@server: fuser /mnt
/mnt:
root@server: umount -l /mnt
umount: illegal option -- l
Usage:
umount [-f] [-V] [-o specific_options] {special | mount-poin
root@server: fuser /mnt
/mnt:
root@server: umount -l /mnt
umount: illegal option -- l
Usage:
umount [-f] [-V] [-o specific_options] {special | mount-poin
ASKER
OK I got it working: I had umount it from the zone first using the full path as you can see in line 1. I then umounted it from the global zone in line 2.
/dev/lofi/2 /iso1 hsfs ro,noglobal,maplcase,rr,tr aildot,dev =24c0002 1297965654
/iso1 /hosts/chndm1/root/iso1 lofs dev=24c0002 1297965777
1. root@server: umount /hosts/chndm1/root/iso1
2. root@server: umount /iso1
3. root@server:
/dev/lofi/2 /iso1 hsfs ro,noglobal,maplcase,rr,tr
/iso1 /hosts/chndm1/root/iso1 lofs dev=24c0002 1297965777
1. root@server: umount /hosts/chndm1/root/iso1
2. root@server: umount /iso1
3. root@server:
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Further research showed how to do it.
umount -l /mnt ?