1826123 Members
4709 Online
109690 Solutions
New Discussion

Replace root disk.

 
SOLVED
Go to solution
AnthonySN
Respected Contributor

Replace root disk.

We need to replace the root disk which is 72gb with 300gb disk.

My plan was to take an ignite and restore it on the new 300 gb disk but ignite has a limitation of not backing up files more than 2 gb in size.
other option is to remove mirrored 72 gb disk and replace it with 300 gb disk and follow the below steps.
1.mv /etc/lvmtab /etc/lvmtab.old
2.pvcreate -f -B /dev/rdsk/newdisk.
4.mv /etc/lvmtab.old /etc/lvmtab
5.vgcfgrestore -n vg00
6.vgchange -a y /dev/vg00
7.vgsync vg00
8.mkboot /dev/rdsk/newdisk
9.mkboot -a "hpux -lq" /dev/rdsk/newdisk
10.lvlnboot -Rv /dev/vg00

after this replace the other 72 gb disk with a 300 gb and repeat the above process.

pls suggest any alternative or better method to do the same.
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: Replace root disk.

Hi:

Follow the boot disk replacement steps in this guide:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf (BSC link updated by admin)

The advantage to the replacement strategy is that you are using mirroring to perform the data replication needed with none to minimal downtime.

You don't offer the release on which you are running. If it is 11.23 or later, you have the 'vgmodify' command available should you need to increase the value of the 'max_pe' to accomodate using the full space that a 300GB disk offers.

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)

In the event that you are pre 11.23, you *may* need to evaluate using Ignite to re-install your boot disk. This would be necessary to fully utilize all disk physical extents on your new disk, should your existing LVM geometry not allow the use of all extents.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Replace root disk.

Shalom,

I'd suggest taking an ignite make_tape_recovery or make_net_recovery backup.

Then boot the system with the new disk installed and recover from the backup. There is a step that lets you intervene and set file system sizes to the levels you want.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Shrikant Lavhate
Esteemed Contributor