Solved

umounting from a non-global zone

Posted on 2011-02-17
5
1,046 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now