Wednesday, October 5, 2011

Re: [BLUG] How to utilize these unused spaces?

Thanks, Thomas.  So you don't need to extend the physical volume first and the lvextend will magically know which free space to use (since in this case there are 4 possibilities here)?  I was trying to find a way to extend the pv on each disk first before trying to use lvextend (so that lvextend sees extra space to use).

Thanks,
Shing-Shong

On 10/5/2011 1:14 PM, Thomas Smith wrote:
Yes!

Here is the page I've used to do this before:

http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html

Hope this helps,
-Thomas

On Wed, Oct 5, 2011 at 12:58 PM, Shei, Shing-Shong <shei@cs.indiana.edu> wrote:
Hi,

I have a lvm2 system that's currently not utilizing all available disk space as shown in the following pvs output:

# pvs
  PV         VG      Fmt  Attr PSize   PFree  
  /dev/sdb1  pool_vg lvm2 a-   931.51g 118.26g
  /dev/sdc1  pool_vg lvm2 a-   931.51g      0
  /dev/sdd1  pool_vg lvm2 a-   931.51g 528.00m
  /dev/sde1  pool_vg lvm2 a-   931.51g 150.26g
  /dev/sdf1  pool_vg lvm2 a-   931.51g 150.26g

Is it possible to incorporate the free spaces into the existing logical volume?

Thanks,
Shing-Shong

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug




--
http://resc.smugmug.com/


_______________________________________________ BLUG mailing list BLUG@linuxfan.com http://mailman.cs.indiana.edu/mailman/listinfo/blug 

No comments: