Backup / Clone Solaris Zone Issue


 
Thread Tools Search this Thread
Operating Systems Solaris Backup / Clone Solaris Zone Issue
# 1  
Old 07-27-2011
Backup / Clone Solaris Zone Issue

Hi, I'd like to discuss the subject of backing up / cloning Solaris zone.

I was trying to clone zone A to zone B (Solaris 10 11/06: Cloning a Non-Global Zone on the Same System (System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones)). The first test was failed, probably because A and B used the same dataset. The strange thing is that zone A became "incomplete" after the failed cloning. I have to reinstall it as a fresh installation. All data on the zone was lost. How could this happen? Clone is just like copy. If I copy file A to file B, file A won’t be corrupted even if the coping fails. How zone cloning is so risky? That’s my first question.

After I used a different name for the dataset to clone A to B, it succeeded. My second question: Can I use this way to backup a zone?

Code:
# cp –R /apool/zone1 /apool/zone2

# 2  
Old 07-27-2011
Whats the hardware u r using..Please paste the o/p of
Code:
uname -a

so that we can help u out..Cloning also depends on the hardware type..Like if u are doing it on a V440 m/c u wil face issues..as this m/c doesn't support cloning..If u r using mid range m/c's like e2900 or 4800 series..or a M4,M5,M9+ machine u wil be able to do it easily
# 3  
Old 07-27-2011
I've never been in a situation like this before . So I cannot answer. your 1st question accurately.
For backup I do know some few ways to backup non global zones here .
There are some other techniques in official documents if you want more
I never tried mere copying to backup non global zones . I recommend you try those procedures above
# 4  
Old 07-27-2011
Solaris 10/08 + Sun M5000

I did visit Zones Best Practices. Most of the backup methods there are for UFS. What is the best way of zone backup for ZFS (other than NetBackup)?
# 5  
Old 07-27-2011
ZFS snapshots

have a look regarding clonning here
As I said earlier digging in official documents might revel something , Some of those techniques are extracted from ZFS from Solaris documents
1
2
3
4

Last edited by h@foorsa.biz; 07-27-2011 at 12:50 PM..
# 6  
Old 07-27-2011
Thank you for the info, but my original questions are not about how to clone zones - I did it successfully already.
# 7  
Old 07-28-2011
No one talks about zfs snapshot that is good for zones on zfs' backup and restore. Isn't it?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

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

2. Solaris

Default route issue in share local zone in Solaris 11

Hi We took the reboot of server/global zone after that Solaris 11 share local zone not able to ping the default gateway but global zone able to ping same default gateway. I check/compare the before activity logs of global zone and local zones which looks fine to me, further IP and netmask of... (6 Replies)
Discussion started by: sb200
6 Replies

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

4. UNIX for Advanced & Expert Users

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: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 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

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

Solaris 10 11/06 Zone creation issue

Hi, I am new to zone creations in solaris 10. When I try to create a zone with "set ip-type=exclusive" it gives the usage. OS == Solaris 10 11/06 s10s_u3wos_10 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license... (17 Replies)
Discussion started by: niman
17 Replies

8. Solaris

Postprocess issue installing Solaris 9 Branded Zone

Hello, I am attempting to install a newly configured Solaris 9 zone using the flash archive image provided on the sun website. Each time I run the install I get a failure during the Postprocess: Creating mount points. Following is the log: Log File: /var/tmp/s9-zone.install.25457.log... (0 Replies)
Discussion started by: brialt1
0 Replies

9. 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
Login or Register to Ask a Question