SUMMARY: how to backup encapsulated rootdg]

From: Sun Bob <suntalk_at_usa.net>
Date: Thu Jun 21 2001 - 10:53:58 EDT
This is a multi-part message in MIME format.

------NetAddressPart-00--=_uo277216S382ff9458a
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Dear Sun Managers,

I got a few responses. Highly appreciate the reply and special
thanks to Robin Li and Jill for the steps. I had forwarded the
steps given by Robin.

Special thanks to
Robin Li
Raj, Dilip (SD-EX) <DRaj@gi.com>    =

Naarsing, Erik <Erik.Naarsing@hazewinkel.nl
Bertrand_Hutin@notes.amdahl.com    =

jill.ridsdale@yeg.co.uk    =


-------------------------------------------------------------------------=


Bob,
I think there are not any other special to backup the boot disk under
VM control.
If following is your rootvol and other partitions in boot disk:

volume rootvol (/) encapsulated partition c0t3d0s0
#NOTE: volume swapvol (swap) encapsulated partition c0t3d0s1
#NOTE: volume opt (/opt) encapsulated partition c0t3d0s4
#NOTE: volume usr (/usr) encapsulated partition c0t3d0s5
#NOTE: volume var (/var) encapsulated partition c0t3d0s6

You can go to signal lever of OS and using
# ufsdump 0cuf /dev/rmt/0n /dev/rdsk/c0t3d0s0 =

backup to a tape
# ufsdump 0cuf filename /dev/rdsk/c0t3d0s0
backup to a file named filename localing directory =


Of course ,you can backup another partition like this way.
then you can using 'ufsrestore' to restore the data to
a new disk partition


Move out the data volume from the Rootdg:

1. You would backup all data before remove the volume from the rootdg,
because it's very tricky way to do it,done correctly ,it will work,
any a little mistake along the way,you'll lost the data
2. save the configuration of the volumes you want to move,
save the vmdisk name =


vxprint -g rootdg -hmvps vol01 vol02 > /var/tmp/filename1
(vol01 and vol02 you'll revome from the rootdg)
vxdisk list > /var/tmp/filename2

3. delete the volume vol01,vol02,remove the resided disks
out the rootdg

4. create the new disk group and the volume.
vxmake -g newdg -d /var/tmp/filename1


> Delivered-To: sunmanagers@sunmanagers.org
> To: sunmanagers@sunmanagers.org
> Subject: how to backup encapsulated rootdg
> Mime-Version: 1.0
> X-BeenThere: sunmanagers@sunmanagers.org
> X-Mailman-Version: 2.0.5
> List-Help: <mailto:sunmanagers-request@sunmanagers.org?subject=3Dhelp>
> List-Post: <mailto:sunmanagers@sunmanagers.org>
> List-Subscribe: <http://www.sunmanagers.org/mailman/listinfo/sunmanager=
s>, =

<mailto:sunmanagers-request@sunmanagers.org?subject=3Dsubscribe>
> List-Id: The Sun Managers Mailing List <sunmanagers.sunmanagers.org>
> List-Unsubscribe: <http://www.sunmanagers.org/mailman/listinfo/sunmanag=
ers>,

<mailto:sunmanagers-request@sunmanagers.org?subject=3Dunsubscribe>
> List-Archive: <http://www.sunmanagers.org/pipermail/sunmanagers/>
> Content-Transfer-Encoding: 8bit
> X-MIME-Autoconverted: from quoted-printable to 8bit by suncd.PRC.Sun.CO=
M id

SAA14365
> =

> Dear Sun Managers,
> =

> I've a boot disk that is encapsulated and all the other data
> volume are inside rootdg. (Volume Manager is 3.0.3)
> How can I do a full backup and would appreciate if any of
> you can provide me the steps to restore back.
> Also, can somebody kind enough to provide me the steps to
> move out the data volume from the rootdg.
> =

> =

> TIA.
> =

> Regards,
> Bob
> =



------NetAddressPart-00--=_uo277216S382ff9458a
Content-Type: message/rfc822; name="Forwarded Message"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Received: from nwcst091 [204.68.24.91] by nm195 via mtad (34FM.0700.19.01A) 
	with ESMTP id 703FFuHZ80775M19; Thu, 21 Jun 2001 07:25:59 GMT
Received: from mercury.Sun.COM [192.9.25.1] by nwcst091 via mtad (34FM.0700.19.01A); 
	Thu, 21 Jun 2001 07:25:59 GMT
Received: from suncd.PRC.Sun.COM ([129.158.164.2])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id AAA21316
	for <suntalk@usa.net>; Thu, 21 Jun 2001 00:25:54 -0700 (PDT)
Received: from cd-dog (cd-dog [129.158.164.26])
	by suncd.PRC.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id PAA01236
	for <suntalk@usa.net>; Thu, 21 Jun 2001 15:25:48 +0800 (CST)
Message-Id: <200106210725.PAA01236@suncd.PRC.Sun.COM>
Date: Thu, 21 Jun 2001 15:18:36 +0800 (CST)
From: Robin Li <Robin.Li@Sun.COM>
Reply-To: Robin Li <Robin.Li@Sun.COM>
Subject: Re: how to backup encapsulated rootdg
To: suntalk@usa.net
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: MpZlbFCJto1MaLGy/kYL1g==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 

Bob,
 I think there are not any other special to backup the boot disk under
 VM control.
 If following is your rootvol and other partitions in boot disk:

 volume rootvol (/) encapsulated partition c0t3d0s0
 #NOTE: volume swapvol (swap) encapsulated partition c0t3d0s1
 #NOTE: volume opt (/opt) encapsulated partition c0t3d0s4
 #NOTE: volume usr (/usr) encapsulated partition c0t3d0s5
 #NOTE: volume var (/var) encapsulated partition c0t3d0s6

 You can go to signal lever of OS and using
   # ufsdump 0cuf /dev/rmt/0n /dev/rdsk/c0t3d0s0  
       backup to a tape
   # ufsdump 0cuf filename /dev/rdsk/c0t3d0s0
       backup to a  file named filename localing directory 
       
    Of course ,you can backup another partition like this way.
    then you can using 'ufsrestore' to restore the data to
    a new disk partition
 
 
 Move out the data volume from the Rootdg:
 
 1. You would backup all data before remove the volume from the rootdg,
    because it's very tricky way to do it,done correctly ,it will work,
    any a little mistake along the way,you'll lost the data
 2. save the configuration of the volumes you want to move,
    save the vmdisk name 
    
   vxprint -g rootdg -hmvps vol01 vol02 > /var/tmp/filename1
    (vol01 and vol02 you'll revome from the rootdg)
    vxdisk list > /var/tmp/filename2
    
 3. delete the volume vol01,vol02,remove the resided disks
    out the rootdg
    
 4. create the new disk group and the volume.
    vxmake -g newdg -d /var/tmp/filename1
    
 
> Delivered-To: sunmanagers@sunmanagers.org
> To: sunmanagers@sunmanagers.org
> Subject: how to backup encapsulated rootdg
> Mime-Version: 1.0
> X-BeenThere: sunmanagers@sunmanagers.org
> X-Mailman-Version: 2.0.5
> List-Help: <mailto:sunmanagers-request@sunmanagers.org?subject=help>
> List-Post: <mailto:sunmanagers@sunmanagers.org>
> List-Subscribe: <http://www.sunmanagers.org/mailman/listinfo/sunmanagers>, 
<mailto:sunmanagers-request@sunmanagers.org?subject=subscribe>
> List-Id: The Sun Managers Mailing List <sunmanagers.sunmanagers.org>
> List-Unsubscribe: <http://www.sunmanagers.org/mailman/listinfo/sunmanagers>, 
<mailto:sunmanagers-request@sunmanagers.org?subject=unsubscribe>
> List-Archive: <http://www.sunmanagers.org/pipermail/sunmanagers/>
> Content-Transfer-Encoding: 8bit
> X-MIME-Autoconverted: from quoted-printable to 8bit by suncd.PRC.Sun.COM id 
SAA14365
> 
> Dear Sun Managers,
> 
> I've a boot disk that is encapsulated and all the other data
> volume are inside rootdg. (Volume Manager is 3.0.3)
> How can I do a full backup and would appreciate if any of
> you can provide me the steps to restore back.
> Also, can somebody kind enough to provide me the steps to
> move out the data volume from the rootdg.
> 
> 
> TIA.
> 
> Regards,
> Bob
> 
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers

Regards

	 ______          Robin Li -- Li Xinhua
        /_____/\         System Support Engineer
       /_____\\ \          
      /_____\ \\ /       Enterprise Services   
     /_____/ \/ / /      Sun Microsystems China Ltd.    
    /_____/ /   \//\     ChengDu Representative Office    
    \_____\//\   / /     Suite C,11/F,Chuan Xin Mansion,18,Sec.2,  
     \_____/ / /\ /      Ren Min S.Road,ChengDu,PRC    
      \_____/ \\ \       Postal Code: 610016     
       \_____\ \\        Phone:  (86-28) 6199333 ext 34    
        \_____\/         FAX#:   (86-28) 6199332                 
         		 Email:  Robin.li@PRC.Sun.COM






------NetAddressPart-00--=_uo277216S382ff9458a--
Received on Thu Jun 21 15:53:58 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:57 EDT