Link to home
Start Free TrialLog in
Avatar of dsmexperts
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
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

fuser /mnt ?
umount -l /mnt ?

Avatar of dsmexperts
dsmexperts

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

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,traildot,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:

ASKER CERTIFIED SOLUTION
Avatar of dsmexperts
dsmexperts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Further research showed how to do it.