[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] lvextend Insufficient free space



On 1/11/07, David Tran <davidtt3 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]