01-04-05 10:59 PM
In article <c06e4d68.0501031905.321cdc8e@posting.google.com>, yls177 wrote:
> with sam, i could not increase the size of the logical volume with the
> error message as belows
>
> lvextend: Not enough free physical extents available. Logical volume
> "/dev/vg00/lvol6" could not be extended. Failure possibly caused by
> strict allocation policy.
>
>
>
> strict allocation policy means "Mirrors of a logical extent cannot
> share the same physical volume."
>
>
> Based on the information below, my volume group has 2 disks. Also my
> logical volume has a mirror copy. Now, i have free space of (163*8) in
> the volume group for increasing size in sam but has failed. I can
> removed existing logical volumes in this volume group. But will this
> help?
>
>
>
> # vgdisplay -v vg00
> --- Volume groups ---
> VG Name /dev/vg00
> Cur PV 2
> Act PV 2
> Max PE per PV 4350
> VGDA 4
> PE Size (Mbytes) 8
> Total PE 8680
> Alloc PE 8517
> Free PE 163
^^^
With 2 disks in the VG, if all LVs are mirrored, this would be an even numbe
r
unless your disks are not the same size. Use 'pvdisplay' on each disk and ma
ke
sure there are free extents (Free PE) on each one. Since your LV is mirrored
and you have strict allocation (good!), the lvextend will need to allocate t
he
same amount of space on each disk.
> Total PVG 0
> Total Spare PVs 0
> Total Spare PVs in use 0
>
>
> # lvdisplay -v /dev/vg00/lvol6
> --- Logical volumes ---
> LV Name /dev/vg00/lvol6
> VG Name /dev/vg00
> Current LE 107
> Allocated PE 214
> Mirror copies 1
>
>
> lvdisplay -v /dev/vg00/lvol6
> the current logical volume has the below info
> --- Distribution of logical volume ---
> PV Name LE on PV PE on PV
> /dev/dsk/c1t2d0 107 107
> /dev/dsk/c2t2d0 107 107
Kevin
[ Post a follow-up to this message ]
|