Help with zone in "mounted" state


 
Thread Tools Search this Thread
Operating Systems Solaris Help with zone in "mounted" state
# 1  
Old 12-06-2010
Help with zone in "mounted" state

Greetings Forumers!

I have a zone in a "mounted state and cannot do anything with it:

Code:
# zoneadm list -cv
  ID NAME             STATUS     PATH                           BRAND    IP
   0 global           running    /                              native   shared
   4 zone1            running    /ZONES/zone1                   native   shared
   7 zone2            running    /ZONES/zone2                 native   shared
   8 zone3            running    /ZONES/zone3                 native   shared
  86 zone4            mounted    /ZONES/zone4                native   shared

When I try to uninstall the zone I get this error message:
Code:
# zoneadm -z zone4 uninstall
zoneadm: zone 'zone4': uninstall operation is invalid for mounted zones.

I am running Solaris 10u9 on M5000. All filesystems are ZFS.



Thanks In Advance!
# 2  
Old 12-06-2010
Try:
Code:
zonecfg -z zone4 delete

# 3  
Old 12-06-2010
Quote:
Originally Posted by bartus11
Try:
Code:
zonecfg -z zone4 delete

I already tried that (even with "-F"). Here the error message I got:
Code:
Zone state is invalid for the requested operation

# 4  
Old 12-06-2010
can you "detach" the zone?

Code:
# zoneadm -z <zonename> detach

# 5  
Old 12-06-2010
Code:
zoneadm -z <zonename> unmount

It's undocumented, but neither is the mounted state which should be transcient only. Probably a system task was interrupted for some reason.
This User Gave Thanks to jlliagre For This Post:
# 6  
Old 12-06-2010
# 7  
Old 12-06-2010
Quote:
Originally Posted by jlliagre
Code:
zoneadm -z <zonename> unmount

It's undocumented, but neither is the mounted state which should be transcient only. Probably a system task was interrupted for some reason.
That worked! The zone was in the "installed" state when I listed it again. Then I ran "zoneadm -z <zonename> uninstall" which deleted the zone.

Thanks!!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Red Hat

Related to "NAS" some file system (mounted volumes) were not writable

Dear friends, I have been facing an issue with one of my red hat unix machine, suddenly lost to switch sudo users. My all colleagues lost to switch to access sudo users. Then, we have realized its related to NAS issue which does not allowing to write the file. because of this we got so many... (1 Reply)
Discussion started by: Chand
1 Replies

3. Solaris

How to remove a LUN in "Online Busy" state?

Hi all, I have a LUN that is in "Online Busy" when I issue the dev_gestate subcommand of luxadm: root@es088wb6:~# luxadm -v -e dev_getstate /dev/rdsk/c21t50050763090887FEd4s2 phys path = "/devices/pci@6c0/pci@1/pci@0/pci@4/SUNW,qlc@0/fp@0,0/ssd@w50050763090887fe,4:c,raw" ... (5 Replies)
Discussion started by: ludiegu
5 Replies

4. Solaris

How to solve M5000 CPU "Deconfigured" state?

Hi Community, i have one M5000 spare machine which was handled by support team. they told me that it is gone completely . i have checked the status. before it was showing MBU_B degraded. i updated to latest firmware and , resetted the xscf and now this is showing as normal. MBU_B... (5 Replies)
Discussion started by: bentech4u
5 Replies

5. Red Hat

eliminating "mounted filesystem" messages from syslog

Hello all, perhaps this is an odd request, but I have the requirement none the less. Every time I mount a filesystem (at least an ext4 filesystem), I get a line indicating such in the syslog: Oct 9 22:26:28 sulaco kernel: EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: I... (2 Replies)
Discussion started by: lupin..the..3rd
2 Replies

6. BSD

Process stuck in "pipewr" state

Hi Experts, I am executing "svn" checkout command through my java code on a freeBSD machine. SVN checkout gets started , but when I run "top" command on my freebsd machine, I have observed that "svn" processes are stuck in "pipewr" state. Any pointer for this problem? Thanks, akash (0 Replies)
Discussion started by: akash.mahakode
0 Replies

7. UNIX for Advanced & Expert Users

Processes on FreeBSD are stuck in "pipewr" state

Hi Experts, I am executing "svn" checkout command through my java code on a freeBSD machine. SVN checkout gets started , but when I run "top" command on my freebsd machine, I have observed that "svn" processes are stuck in "pipewr" state. Any pointer for this problem? Thanks, akash (0 Replies)
Discussion started by: akash.mahakode
0 Replies

8. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

9. OS X (Apple)

"Permission Denied" while modifying mounted files on MAC

Hi, I have two machines 1. MacOSx (Users --> userMac , IP - a.b.c.d) 2. FreeBSD (Users --> userBSD, IP- p.q.r.s) I want to modify some files of FreeBSD on my MacOS. So, I mounted the FreeBSD folder on my Mac as follows. $ sudo mount -o -P p.q.r.s:/usr/home/user... (5 Replies)
Discussion started by: akash.mahakode
5 Replies
Login or Register to Ask a Question