Operating System - HP-UX
1837178 Members
2700 Online
110113 Solutions
New Discussion

Re: Best solution to increase disk space on mirrored root drives

 
Marcos Trinidad
Occasional Contributor

Best solution to increase disk space on mirrored root drives

I have a K380 running HP-UX 11.0 with two mirrored 4.3GB root drives in a storage enclosure (A3312A). All file systems are in one volume group: vg00 with the exception of our custom application and data which is on a 12h array. I'm depserately in need of disk space on the mirrored root drives. What is the best method to accomplish this? Can I add two more 4.3GB to the mirror easily? Or will I have to do a make_recovery and reconstruct the volume group using bigger size drives?

Max PE per PV is 2500 with a PE size of 4MB.

Thanks in advance.

-Marcos
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: Best solution to increase disk space on mirrored root drives

Hi Marcos:

Since you indicate that you would be adding the same physical size drives, then there is no problem with the 'max_pe' attribute. The "problem" that arises with it (and 'pe_size', 'max_pv' and 'max_lv') is that they are fixed at 'vgcreate' time.

Yes, you can dynamically add more physical disks to vg00. The usual insurance-policies apply -- have backups when making LVM changes. A current Ignite recovery tape is always important to have, no matter what.

Regards!

...JRF...
John Palmer
Honored Contributor

Re: Best solution to increase disk space on mirrored root drives

You can easily add 2 4Gb or even 2 9Gb to your existing vg00. Your storage enclosure should have 6 free slots.

You can then extend some of the root volumes (not /stand, / or primary swap which require a volume group rebuild) onto the new disks.

Regards,
John
Victor BERRIDGE
Honored Contributor

Re: Best solution to increase disk space on mirrored root drives

Hi,
I would suggest (almost like John) that you add 9 GB disks:
Unmirror vg00 and remove one 4GB disk
Add a 9GB disk in vg00, and mirror again (dont forget to make it bootable)
Then again unmiroor and remove the 4GB disk left, add the second 9 GB disk and again mirror...

I dont like having vg00 spread on many disks...

Just my 2 cents

All the best

Victor