Operating System - HP-UX
1833030 Members
2743 Online
110049 Solutions
New Discussion

Moving from smaller root disks to larger root disks

 
Tony Dopkins
Occasional Contributor

Moving from smaller root disks to larger root disks

I'm looking for the best way to move the o/s (HP-UX 11.11) from smaller disks to larger disks. We do use Ignite.
8 REPLIES 8
Sundar_7
Honored Contributor

Re: Moving from smaller root disks to larger root disks

Take the ignite backup and boot the server using the tape. Select the larger disks as the vg00 disks and you are all set.
Learn What to do ,How to do and more importantly When to do ?
Pete Randall
Outstanding Contributor

Re: Moving from smaller root disks to larger root disks

Ignite is the ideal solution. Do your make_tape_recovery, then boot off the tape to load your new disks, then use vgimport to re-connect any other VGs aside from vg00.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Moving from smaller root disks to larger root disks

Hi Tony:

If the disk(s) in question is vg00, then make an Ignite recovery tape and simply reinstall from it:

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

This will make a recovery tape of the entire contents of vg00. The '-I' option will provide an interactive prompt when you boot from the tape.

Choose the "Advanced Installation" mode from the Ignite menus. This will allow you to resize your vg00 logical volumes according to your tastes.

Regards!

...JRF...
Robert-Jan Goossens
Honored Contributor

Re: Moving from smaller root disks to larger root disks

Hi Tony,

Create a bootable tape with below command. Power down your server and replace the root disk(s) with larger disks. Power on the server. Interrupt the boot process and search for the tape. Boot from the tape, choose the Advanced Installation option targeting your new disk. You can also resize your filesystems during this process.

# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/Xmn

Regards,
Robert-Jan
DCE
Honored Contributor

Re: Moving from smaller root disks to larger root disks



Make sure all of VG00 is on the smaller disks.

Take an ignite backup of the origianl disks

Back up your data (twice!!)

If, the larger disks are yet instaeed, power down the systsem and replace/add the disks

Boot from the ignite tape. Interact with ignite to select the new larger disks.

Let ignite do its thing

Andy Torres
Trusted Contributor

Re: Moving from smaller root disks to larger root disks

Has anyone had any success mirroring VG00 to new disk, then setting primary boot to the new disks after they are syncd and split? We recently contracted HP to help us migrate to our new XP10000 array, and that's how they did it. We moved the entire system. There may be a difference in the steps if you are moving only VG00.
Patrick Wallek
Honored Contributor

Re: Moving from smaller root disks to larger root disks

Yes, it is entirely possible. Now the big caveat with this method is that your VG has to be set up correctly before you start.

If your max PE per PV setting in the VG is too small to handle the new disks, then you are pretty much out of luck using the mirror method.
Andy Torres
Trusted Contributor

Re: Moving from smaller root disks to larger root disks

VG00 was carved up in three LUNs sizes no larger than 18GB, so it worked out well for us.