1834479 Members
3658 Online
110067 Solutions
New Discussion

stripping

 
Ade Falusi_1
Occasional Contributor

stripping

I need to unload a filesystem and then stripe the logical volume - lvol1 over 4 hyper volumes, the volume groups already contains two disks and I need to add 2 unused disks to this server. Please help, time is running out.
1 REPLY 1
Bill Hassell
Honored Contributor

Re: stripping

Now if you mean that you want the final logical volume to contain 4 disks and the data to start on the first and continue onto the second and third, etc, there is no reason to unload the data at all. Just use pvcreate on the 2 new disks and vgextend to add them to the volume group. Then extend the logical volume with lvextend and finally, run extendfs (with the filesystem unmouinted) to take advantage of the new space.

On the other hand, if you truly want to stripe the extents across all the disks, you will need to backup all the data, pvcreate and vgextend the new disks, then create the logical volume using the stripe option in lvextend. Note that if you do not keep up with patches or do not have a current version of HP-UX, you will have to write a script to lvextend each extent to a specific disk.


Bill Hassell, sysadmin