I'm trying to find a proper answer to the cloning thing. I have
read a some of the Q&A and the FAQ on this, but I can't seem to fine
a definitive solution.
Here is the situation. I have 2 43P with a 2gig drive with AIX 4.1.5
on it. What I would like to be able to do is clone the 2gig to the
9gig drive, remove the 2gig drive, change the SCSI ID of the new
drive to have the hdisk0 ID for the system. reboot and all is find
as if the system had originally the 9gig drive. All that without using
a tape drive.
The closest I found to doing something equivalant is:
1. Extend your rootvg with the new disk
eg: extendvg rootvg hdisk1
2. Migrate everything from your old to your new disk:
eg: migratepv hdisk0 hdisk1
3. Create a new blv
bosboot -ad /dev/hdisk1
4. Set your bootlist (if you're on a MCA machine, different if your're
bootlist -m normal hdisk1 [and whatever else]
5. You may need to delete the boot record from the old disk
mkboot -c -d /dev/hdisk0 (if your hd5 was on the old disk)
6. Some peole unset and set their primary dump device:
sysdumpdev -p /dev/sysdumnull
sysdumpdev -p /dev/hd6
7. Get the old disks out of your root vg
reducevg rootvg hdisk0
Any suggestion on something better, an if step 4 will work on a 43P.
From the previous, it should make hdisk1 the solo boot disk.
Richard Lefebvre, Sys-admin, CERCA, (514)369-5224 "Don't Panic"