Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1325
  • Last Modified:

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
0
dsmexperts
Asked:
dsmexperts
  • 4
1 Solution
 
woolmilkporcCommented:
fuser /mnt ?
umount -l /mnt ?

0
 
dsmexpertsAuthor Commented:
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

0
 
dsmexpertsAuthor Commented:
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:

0
 
dsmexpertsAuthor Commented:
You must be reside outside the root of the non-global zone in order for a umount to work.
0
 
dsmexpertsAuthor Commented:
Further research showed how to do it.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now