LVM and VxVM

Re: PVG-Strict/Distributed not enough space - what options

 
SOLVED
Go to solution
Joao Rei
Frequent Advisor

PVG-Strict/Distributed not enough space - what options

A VG with one lvol PVG-Strict/Distributed.

/etc/lvmpvg

VG vg21
PVG PVG_Primary
PV /dev/dsk/c1t0d0
PV /dev/dsk/c1t0d1
PV /dev/dsk/c1t0d2

PVG PVG_Mirror
PV /dev/dsk/c2t1d0
PV /dev/dsk/c2t1d1
PV /dev/dsk/c2t1d2

All PVs have the same number of free extents.
The total number is not enough to increase the FS.
Suppose I get two new LUNs (One for primary, second for mirror)

What options do I have to overcome this limitation?
Is It possible to keep the policy or is It a requirement to lvchange?


Thanks in advance.

Joao Rei




4 REPLIES 4
Devender Khatana
Honored Contributor

Re: PVG-Strict/Distributed not enough space - what options

Hi Joao,

Another option to check will be the LVOL defination. If the logical volume is a stripped one, you require the no. of devices equal to the no. of stripes defined in each PVG group. But if stripping is not defined, you will be able to extend the current LVOL to the two devices itself as yo mentioned.

lvdisplay /dev/vg_name/lv_name

will give you the stripping information.

HTH,
Devender
Impossible itself mentions "I m possible"
James R. Ferguson
Acclaimed Contributor

Re: PVG-Strict/Distributed not enough space - what options

Hi Joao:

You need to add ('vgextend') two (2) new physical volumes to your volume group. You don't want to change the policy you have set. The whole idea of mirroring is to segregate mirrored extents onto separate physical volumes such that the failure of any one physical volume still leaves viable data on another.

Regards!

...JRF...
Joao Rei
Frequent Advisor

Re: PVG-Strict/Distributed not enough space - what options

Thanks for the replies!!!

No Stripes.

After extending the vg....

If I insert the new disks in the lvmpvg definition I still will not be able to extend because the original disks have a small number of free extents. Is that so?

Regards,

Joao Rei
Devender Khatana
Honored Contributor
Solution

Re: PVG-Strict/Distributed not enough space - what options

Hi Again,

No that is not true, you will be able to extend the LVOL after adding new devices to the VG.

The LVOL will be extend to the new devices when the free extents on the existing ones are totally consumed.

HTH,
Devender
Impossible itself mentions "I m possible"