How to extend a LV with Allocation "PVG-strict/distributed" (594 Views)
Reply
Respected Contributor
P Arumugavel
Posts: 328
Registered: ‎02-16-2010
Message 1 of 6 (594 Views)

How to extend a LV with Allocation "PVG-strict/distributed"

Gurus,

 

I have to extend a lvol which has the allocation policy "PVG-strict/distributed". The VG has two PVGs and each PVG has 4 disks. The LV which needs extend, is sitting on PVG1, and none of the disks in this PVG has free PE's. But the disks in PVG2 has free PE's.

 

I have two questions:

 

1. In this scenario, Can I extend the LV without breaking the allocation policy?

2.  If not, should I add equal number of disks to PVG1 and then extend? - But I got only one disk with larger size.

 

Can you please advise if any possiblities to extend this LV and how

 

Thanks...

Vel

Acclaimed Contributor
Torsten.
Posts: 23,450
Registered: ‎10-02-2001
Message 2 of 6 (582 Views)

Re: How to extend a LV with Allocation "PVG-strict/distributed"

PVG-strict is used for mirroring.

 

>>none of the disks in this PVG has free PE's. But the disks in PVG2 has free PE's.

 

Does this means at least some LVOLs are not mirrored?

 


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!   
Respected Contributor
P Arumugavel
Posts: 328
Registered: ‎02-16-2010
Message 3 of 6 (575 Views)

Re: How to extend a LV with Allocation "PVG-strict/distributed"

Hello Torsten,

I dont understand why these lvols are PVG-strict, but not mirroed...

No lvols are mirrored...

Thanks,
Vel
Acclaimed Contributor
Torsten.
Posts: 23,450
Registered: ‎10-02-2001
Message 4 of 6 (570 Views)

Re: How to extend a LV with Allocation "PVG-strict/distributed"

[ Edited ]

What is used as "disk" - a SAN array or real disks?

 

Could you provide an

 

# ioscan -fn

 

and

 

# vgdisplay -v ...

 

# lvdisplay -v ...

 

for the VG/LVOL in question?


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!   
Respected Contributor
P Arumugavel
Posts: 328
Registered: ‎02-16-2010
Message 5 of 6 (554 Views)

Re: How to extend a LV with Allocation "PVG-strict/distributed"

 

Please find the details...

 

Thanks,

Vel

Advisor
arunaphcl
Posts: 22
Registered: ‎01-28-2013
Message 6 of 6 (434 Views)

Re: How to extend a LV with Allocation "PVG-strict/distributed"

You can just remove PVG strict for the partilar LV and extent it.

 

lvchange -D n -s y  lv name

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.