1843936 Members
1993 Online
110226 Solutions
New Discussion

extending logical volume

 
Allan Palma Faylona
Contributor

extending logical volume

I tried extending my logical volume drive. and i got these error message.
"$lvextend -l 1252 /dev/tr/vl4 /dev/dsk/c1t2d9"
Need more PVs for "4" Stripes. Only have "1" PVs.
Failure possibly caused by strict allocation policy

what can i do about it.

3 REPLIES 3
RAC_1
Honored Contributor

Re: extending logical volume

Your LV is stripped onto four disks.(pvs)
Check the allocation policy -- lvdisplay /dev/vgxx/lvolx

You will have to add foure more PVs to vg group, before extending the lvol.

Else, change the allocation policy and try
Also you should have enough free space in vg for this.

Anil
There is no substitute to HARDWORK
KapilRaj
Honored Contributor

Re: extending logical volume

Find out how lv's are being distributed for pv's in this VG.
Find out how many logical volumes are striped.
Note down the one's which are not (here that is the case) striped.
Use pvmove command to move some Pe's of non-striped lv's to diffrent disks and create equal space available on all Pv's and retry the command.

If you do not need striping , you can do it by lvchange command.

Regds,

Kaps
Nothing is impossible
Bharat Katkar
Honored Contributor

Re: extending logical volume

Hi,
You need to add 3 more PV's or go with the way suggested by KAPIL.
Regards,
You need to know a lot to actually know how little you know