LVM and VxVM
Showing results for 
Search instead for 
Do you mean 

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

Respected Contributor

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

5 REPLIES
Acclaimed Contributor Acclaimed Contributor

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

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 Acclaimed Contributor

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

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

 

Please find the details...

 

Thanks,

Vel

Advisor

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