Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Back up of hard disk in a aix 4.2 rs/6000

Status
Not open for further replies.

tmhall

Technical User
Nov 13, 2002
9
US
I am trying to create a backup hard drive for all 8 of the risc units I currently maintain.

I need to find the correcet way to make an exact copy of the hard drive.

I tried the disk copy option on the diag disk, but when i try to run the copy afterwards I get errors telling me it can not find hdisk0. The system thinks the copied drive is hdisk1 instead of hdisk0.

Please help before we have a crash.
 
hi,

if i understand you correctly , you have a root disk and want to make a copy of it on another disk and you have other disks where you may have data on them and want to make a copy of them ? right

mirror your root volume group i.e. hdisk0 may be current
Os and hdisk 1 will be copy

if you have 2 disks in rootvg
1. mirrorvg rootvg
2. copy boot area ober to 2nd disk boost boot -ad hdisk1
3. Change bootlist to include hdisk1
bootlist -m normal rmt0 cd0 hdisk0 hdisk1
to check do lslv -m hd2 ( show to columns , 2nd being a copy.


to find out more about these commands look at man pages for
man mirrorvg ( only on AIX version 4.2.1 or greater)
man bosboot
man bootlist

if you haven't got mirrorvg then do

smitty mklvcopy
or command line
mklvcopy '-k' (logical volume name) 2 hdisk1

logical volume would be all LVs in rootvg ( to list lsvg -l rootvg)

do man mklvcopy
then you'll have to do bosboot and bootlist.

HTH
 
thanks for the help. I could not get the mirror to work. It may be the fact I am using a different version on my diag disk than the system. I have 4.3.2 and my system is 4.2.1.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top