[linux-lvm] lvextend Insufficient free space
roderick tapang
retapang at gmail.com
Thu Jan 11 08:51:57 UTC 2007
On 1/11/07, David Tran <davidtt3 at gmail.com> wrote:
> Thank for your help.
> My pvs:
> linux-server:/ # pvscan
> PV /dev/hdb1 VG gdata lvm2 [111.79 GB / 0 free]
> PV /dev/hde1 VG gdata lvm2 [279.46 GB / 40.00 MB free]
> PV /dev/hdf1 VG gdata lvm2 [153.38 GB / 153.38 GB free] (this is the
> new hd)
> Total: 3 [544.62 GB] / in use: 3 [544.62 GB] / in no VG: 0 [0 ]
> I think that it is enogh free space, because I add one more HD already.
> More over, vgdisplay show it has: Free PE / Size 39276 / 153.42 GB
so /dev/gdata/priv is striped? you can check by running:
lvdisplay /dev/gdata/priv
and look for the value of Segments.
if its more than 1, it is sriped. and to resize it:
lvextend -L +100G -t -i1 /dev/gdata/priv /dev/hdf1
which will only use the free PEs from /dev/hdf1. the -t will only test
the process. if says it is ok, re-run the command w/o the "-t".
> Thank you.
>
--
roderick e. tapang, nclp
retapang at gmail dot com
(o_.' http://counter.li.org/
//\ ----------------------
V_/_ Linux User # 253842
More information about the linux-lvm
mailing list