1827811 Members
1907 Online
109969 Solutions
New Discussion

Replacing Drives

 
SOLVED
Go to solution

Replacing Drives

Good morning all,

I have an SC10 with 10 drives in it. It is setup as one volume group (vg02). The OS (HP-UX 11.i) is on another volume group. I have a third vg that is on a seperate tower. On the SC10 4 of the drives are stripped together across two logical volumes (lvol7 & lvol8) which in turn gives me two directory structure folders. lvol7 & lvol8 are 18.2 GB HD's and I would like to replacing them with four new 73.2 GB HD's. Is there a simple way to export the logical volumes, or am I in for a lot of work to make this change? In the end I would like to have four new logical volumes so that I have four seperate drives.
Thanks,
Conrad
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: Replacing Drives

Shalom Conrad,

I would suggest:

1) back up all the data with logical volumes on the two 18 GB disks.
2) lvremove the two logical volumes.
3) vgreduce the disks out of the volume group
4) replace disks.
5) pvcreate the two disks
6) vgextend the volume group back onto the disks.
7) restore the data.

export/import might work, but you are dealing with new disks and the new disks are not going to have the LVM structures on them.

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
Pete Randall
Outstanding Contributor

Re: Replacing Drives

The problem with an export/import scenario is that the PE size and MAXPE number were probably set up to handle the 18.2 GB drives, so you're going to have to create the VG from scratch and then restore your data to it.


Pete

Pete