Solved

umounting from a non-global zone

Posted on 2011-02-17
5
1,086 Views
Last Modified: 2012-09-26
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
Comment
Question by:dsmexperts
  • 4
5 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34920498
fuser /mnt ?
umount -l /mnt ?

0
 

Author Comment

by:dsmexperts
ID: 34920701
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
 

Author Comment

by:dsmexperts
ID: 34921006
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
 

Accepted Solution

by:
dsmexperts earned 0 total points
ID: 34926463
You must be reside outside the root of the non-global zone in order for a umount to work.
0
 

Author Closing Comment

by:dsmexperts
ID: 38435940
Further research showed how to do it.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 425
Shell script errors 10 133
What are recommended OS for exim mail server? 10 110
How do disable only TLSv1.0 in Oracle Sun One 7.1 Server 9 97
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question