Update single zone in alternate boot environment.

Thread Tools Search this Thread
Operating Systems Solaris Update single zone in alternate boot environment.
# 1  
Old 10-30-2009
Update single zone in alternate boot environment.

I 'm having a weired situation my system has 8 zones, running fine on solaris x86_u4. I installed the live upgrade bundle patch and did a live upgrade. The new BE was created but it missed one of the zone and now if i mount the new BE i do not see that zone in the environment so my question is how do i copy my left out zone in the new BE.

Following are the o/p' for the same.
# zoneadm list -cv
0 global running / native shared
1 OTM3_wa_lab running /zones/app/OTM3_wa_lab native shared
2 OTM4_wa_lab running /zones/app/OTM4_wa_lab native shared
3 FMW3_db_lab running /zones/db/FMW3_db_lab native shared
4 FMW4_db_lab running /zones/db/FMW4_db_lab native shared
5 OID3_db_lab running /zones/db/OID3_db_lab native shared
6 FMW6_wa_lab running /zones/app/FMW6_wa_lab native shared
7 SEC4_db_lab running /zones/db/SEC4_db_lab native shared
8 OEM2_db_lab running /zones/db/OEM2_db_lab native shared

# df -h | grep /.alt
/dev/md/dsk/d20 15G 9.3G 5.3G 64% /.alt.Sol10_u6
/dev/md/dsk/d22 39G 24G 15G 62% /.alt.Sol10_u6/zones
swap 80G 28K 80G 1% /.alt.Sol10_u6/var/run
swap 80G 0K 80G 0% /.alt.Sol10_u6/tmp
swap 80G 4K 80G 1% /.alt.Sol10_u6/zones/app/OTM4_wa_lab/lu
swap 80G 4K 80G 1% /.alt.Sol10_u6/zones/db/FMW3_db_lab/lu
swap 80G 4K 80G 1% /.alt.Sol10_u6/zones/db/FMW4_db_lab/lu
swap 80G 4K 80G 1% /.alt.Sol10_u6/zones/db/OID3_db_lab/lu
swap 80G 4K 80G 1% /.alt.Sol10_u6/zones/app/FMW6_wa_lab/lu
swap 80G 4K 80G 1% /.alt.Sol10_u6/zones/db/SEC4_db_lab/lu
swap 80G 4K 80G 1% /.alt.Sol10_u6/zones/db/OEM2_db_lab/lu

the new BE is missing OTM3_wa_lab zone.
# 2  
Old 10-30-2009
what do you mean by
"but it missed one of the zone" ??
# 3  
Old 10-31-2009
While creating the boot environment it failed to copy that particular zone and error was cannot copy zone.
# 4  
Old 10-31-2009
It should be able to, thus, its better to investiate why it failed, then re-create the BE. Rather than thinking of a workaround. If possible, provide the exact error on the log. Or I think it was due to some open files or I/O writing through.. Mainly that would be the reason. Why not try lucreate again?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

T5-4 Bootloop with 11.4 Boot Environment

TLDR: Patched a separate boot environment to 11.4. Activated and rebooted the system only to have it boot loop and show 11.3 on the patched boot environment. Bootloop process: The system went down, came up showing 11.3 then spewed bunch of errors and resetted. SEE BELOW FOR THE FINAL MSG... (1 Reply)
Discussion started by: samthewildone
1 Replies

2. Solaris

How to remove pkg from zone in newly created boot environment?

fyi, I already have SR opened with Oracle. We are looking to upgrade from S11.3 to S11.4 with the latest SRU. Create new BE; success Mount new BE; success pkg -R /mnt update the updating of the global went fine until it touched local zone. pkg: update failed (linked image... (2 Replies)
Discussion started by: samthewildone
2 Replies

3. Solaris

Configuring zone and LDOM boot order

Is anyone aware of a method of configuring the boot order of zones and or LDOMS? (2 Replies)
Discussion started by: os2mac
2 Replies

4. Shell Programming and Scripting

Shell script to update zone file

Hi folks, I have zone files at below path i want to modify their name i don't know how to do it, Can some can suggest some kind line technique. I give you detail I have domain ibphello.com host at ip address and 50 plus domain are there /var/named/*.db. If i want to change... (0 Replies)
Discussion started by: learnbash
0 Replies

5. Solaris

Solaris 9 zone wont boot - interface in use

We have a Solaris 10 system with a solaris 9 branded zone. Trying to create a new lo interfaces i ended up rebooting the zone. The zone will not come up, it ran fine before i tried this. When i run the zoneadm -z zone-s9 boot command i get "zoneadm: zone 'zone-s9': lo0:2: could not bring... (4 Replies)
Discussion started by: oly_r
4 Replies

6. 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

7. Solaris

Update java version in Zone

I am using a solaris zone in Sun blade-T6320 which has a java version "1.5.0_18" i want to update it to or higher , how can i do that , does i need to add the new java package to the global server or just instal it in the zone itself. do i need to remove the older version or and install... (1 Reply)
Discussion started by: Sojourner
1 Replies

8. Solaris

Boot a local zone from cdrom

Hi Is it possible to boot a zone from cdrom. If so please help in getting the steps to do so. (2 Replies)
Discussion started by: ningy
2 Replies

9. HP-UX

How to remove alternate boot disk (vg00) in mirror

How do we remove mirror (vg00) in itanium system having 11.23 version. (2 Replies)
Discussion started by: jeelans
2 Replies

10. UNIX for Dummies Questions & Answers

Adding to boot-up environment

During the boot-up process *nix runs scripts linked into the runlevel directories rc#.d. What I'm wondering is, how do I control the environment that those scripts see? I need to set a couple environment variables, and I can NOT do it from within the scripts because it poses a maintenance nightmare... (1 Reply)
Discussion started by: DreamWarrior
1 Replies
Login or Register to Ask a Question