Sponsored Content
Top Forums UNIX for Advanced & Expert Users Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone? Post 302919289 by custos on Tuesday 30th of September 2014 06:57:20 AM
Old 09-30-2014
Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all,

recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes.
I did the following:
host1:
Code:
$ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed
$ zpool export zone1

host2:
Code:
$ zpool import zone1
$ zoneadm -z zone1 attach # zone was already configured
$ zoneadm -z zone1 boot

Basically, I forgot to do a "zoneadm -z zone1 detach" on host1 before exporting the zpool. Can I enforce a detach on host1 without exporting and importing the zpool again? Do I even have to uninstall the zone1 on host1? Or is there a better solution?

Thanks in advance for your help,

Michael
 

9 More Discussions You Might Find Interesting

1. Solaris

Bind zone transfer recategorises zone file?

Hi, I have a primary/slave Bind 9 setup running on a Solaris 10 platform. Everything is hunky dorey, except for when I make a zone file change and up the serial the file that is transferred to the slave looses all its comments, and the entries are place in alphabetical order. I administer many... (1 Reply)
Discussion started by: fulhamfcboy
1 Replies

2. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

3. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

4. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

5. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

6. Solaris

Increase root filesystem on solaris zone using zpool

I have a solaris zone of 12 GB and i have to increase the / filesystem to 31GB as requested. Earlier I had expanded filesystems other than / by setting quota to new value like "zfs set quota=new value mountpoint" but I am not sure whether its a good practice in zfs because by default in my... (5 Replies)
Discussion started by: vikkash
5 Replies

7. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

8. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

9. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies
DONUTSD(1p)						User Contributed Perl Documentation					       DONUTSD(1p)

NAME
donutsd - Run the donuts syntax checker periodically and report the results to an administrator SYNOPSIS
donutsd [-z FREQ] [-t TMPDIR] [-f FROM] [-s SMTPSERVER] [-a DONUTSARGS] [-x] [-v] [-i zonelistfile] [ZONEFILE ZONENAME ZONECONTACT] DESCRIPTION
donutsd runs donuts on a set of zone files every so often (the frequency is specified by the -z flag which defaults to 24 hours) and watches for changes in the results. These changes may be due to the time-sensitive nature of DNSSEC-related records (e.g., RRSIG validity periods) or because parent/child relationships have changed. If any changes have occurred in the output since the last run of donuts on a particular zone file, the results are emailed to the specified zone administrator's email address. OPTIONS
-v Turns on more verbose output. -o Run once and quit, as opposed to sleeping or re-running forever. -a ARGUMENTS Specifies command line arguments to be passed to donuts executions. -z TIME Sleeps TIME seconds between calls to donuts. The DNSSEC-Tools timetrans program can be used to convert from large time units (e.g., weeks and days) to seconds. -e ADDRESS Mail ADDRESS with a summary of the results from all the files. These are the last few lines of the donuts output for each zone that details the number of errors found. -s SMTPSERVER When sending mail, send it to the SMTPSERVER specified. The default is localhost. -f FROMADDR When sending mail, use FROMADDR for the From: address. -x Send the diff output in the email message as well as the donuts output. -t TMPDIR Store temporary files in TMPDIR. -i INPUTZONES See the next section details. ZONE ARGUMENTS
The rest of the arguments to donutsd should be triplets of the following information: ZONEFILE The zone file to examine. ZONENAME The zonename that file is supposed to be defining. ZONECONTACT An email address of the zone administrator (or a comma-separated list of addresses.) The results will be sent to this email address. Additionally, instead of listing all the zones you wish to monitor on the command line, you can use the -i flag which specifies a file to be read listing the TRIPLES instead. Each line in this file should contain one triple with white-space separating the arguments. Example: db.zonefile1.com zone1.com admin@zone1.com db.zonefile2.com zone2.com admin@zone2.com,admin2@zone2.com For even more control, you can specify an XML file (whose name must end in .xml) that describes the same information. This also allows for per-zone customization of the donuts arguments. The XML::Smart Perl module must be installed in order to use this feature. <donutsd> <zones> <zone> <file>db.example.com</file> <name>example.com</name> <contact>admin@example.com</contact> <!-- this is not a signed zone therefore we'll add these args so we don't display DNSSEC errors --> <donutsargs>-i DNSSEC</donutsargs> </zone> </zones> </donutsd> The donutsd tree may also contain a configs section where command-line flags can be specified: <donutsd> <configs> <config><flag>a</flag><value>--features live --level 8</value></config> <config><flag>e</flag><value>wes@example.com</value></config> </configs> <zones> ... </zones> </donutsd> Real command line flags will be used in preference to those specified in the .xml file, however. EXAMPLE
donutsd -a "--features live --level 8" -f root@example.com db.example.com example.com admin@example.com COPYRIGHT
Copyright 2005-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. AUTHOR
Wes Hardaker <hardaker@users.sourceforge.net> SEE ALSO
donuts(8) timetrans(1) http://dnssec-tools.sourceforge.net perl v5.14.2 2012-06-28 DONUTSD(1p)
All times are GMT -4. The time now is 06:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy