Solved

umounting from a non-global zone

Posted on 2011-02-17
5
1,137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

734 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