System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Increasing the size of a striped & mirrored logical volume

JOE HEPWORTH_4
Occasional Contributor

Increasing the size of a striped & mirrored logical volume

I have an rp4440 running HPUX 11.11 that uses three way striping and then mirroring across 6 disks in a named PVG, The volume is becoming full . How do I go about adding extra disks to the vg01 volume group that has these striped volumes ?

I enclose a print of the /etc/lvmpvg file and an lvdisplay of one of the logical volumes
6 REPLIES
Robert-Jan Goossens_1
Honored Contributor

Re: Increasing the size of a striped & mirrored logical volume

Hi Joe,

If you would to keep your current policy/configuration (striping+mirror) intact, you will need to add 6 disks to you volume group vg01 and then extend your /dev/vg01/lvol2 logical volume.

Regards,
Robert-Jan
unix adm
Regular Advisor

Re: Increasing the size of a striped & mirrored logical volume

hi Joe

your lvdisplay command output does not show any striping , are you sure there are any ?

# lvdisplay -v /dev/vg01/lvol2
Stripes 0
Stripe Size (Kbytes) 0

Thanks and Regards
Rajeev
Torsten.
Acclaimed Contributor

Re: Increasing the size of a striped & mirrored logical volume

It's not striped, it is distributed.

However, if you want to continue that way you need 6 more disks, if not, you need only 2 but you need to change to non distributed.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
R.K. #
Honored Contributor

Re: Increasing the size of a striped & mirrored logical volume

Hi Joe,

As said you need to add six disks to extend the LV. Three for distributing and three for mirorring them.

Differences between Striped and Distributed layout:
Striped logical volumes:
-Stripe unit = 4K to 32768K
-Can't be mirrored

Distributed logical volumes:
-Stripe unit = 1 extent
-Can be mirrored

Regds..
Don't fix that what ain't broke
Lijeesh N G_1
Respected Contributor

Re: Increasing the size of a striped & mirrored logical volume

Hi,

How do I go about adding extra disks to the vg01 volume group that has these striped volumes ?
==>Its not striped, its distributed across 3 disks and mirrored to anothere 3 disks. So you have to add 6 disks in order to extend the lvols in this Allocation policy.

Regards,
LIJEESH N G
JOE HEPWORTH_4
Occasional Contributor

Re: Increasing the size of a striped & mirrored logical volume

Thanks to all who replied