[BLUG] How to utilize these unused spaces?
Mark Krenz
mark at slugbug.org
Wed Oct 5 14:08:22 EDT 2011
One tip I'd like to make about LVM. Don't feel the need to use up or
allocate all your physical volume space at once. You should grow it as
needed. This is important because AFAIK none of the commonly available
filesystems out there for Linux let you shrink the filesystem size, so
once you've grown it, you can't go back.
I see some people setup LVM and then allocate all their space to one
large root partition or something like that. Granted, there are other
uses for LVM. But I think they are missing the point, which is
flexibility.
On Wed, Oct 05, 2011 at 05:20:41PM GMT, Shei, Shing-Shong [shei at cs.indiana.edu] said the following:
> <html>
> <head>
> <meta content="text/html; charset=ISO-8859-1"
> http-equiv="Content-Type">
> </head>
> <body bgcolor="#FFFFFF" text="#000000">
> <tt>Thanks, Thomas. So you don't need to extend the physical volume
> first and the </tt><tt class="computeroutput">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).<br>
> <br>
> Thanks,<br>
> Shing-Shong<br>
> </tt><br>
> On 10/5/2011 1:14 PM, Thomas Smith wrote:
> <blockquote
> cite="mid:CAHCWDdawRgPQFs3-V5VUnXv0zKq_Hxh6L_y3q9=8_qaC3i5vLw at mail.gmail.com"
> type="cite">Yes!<br>
> <br>
> Here is the page I've used to do this before:<br>
> <br>
> <a moz-do-not-send="true"
> href="http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html">http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html</a><br>
> <br>
> Hope this helps,<br>
> -Thomas<br>
> <br>
> <div class="gmail_quote">
> On Wed, Oct 5, 2011 at 12:58 PM, Shei, Shing-Shong <span
> dir="ltr"><<a moz-do-not-send="true"
> href="mailto:shei at cs.indiana.edu">shei at cs.indiana.edu</a>></span>
> wrote:<br>
> <blockquote class="gmail_quote" style="margin:0 0 0
> .8ex;border-left:1px #ccc solid;padding-left:1ex;">
> <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi,<br>
> <br>
> I have a lvm2 system that's currently not utilizing all
> available disk space as shown in the following pvs output:<br>
> <br>
> # pvs<br>
> PV VG Fmt Attr PSize PFree <br>
> /dev/sdb1 pool_vg lvm2 a- 931.51g <font
> color="#ff0000">118.26g</font><br>
> /dev/sdc1 pool_vg lvm2 a- 931.51g 0 <br>
> /dev/sdd1 pool_vg lvm2 a- 931.51g <font
> color="#ff0000">528.00m</font><br>
> /dev/sde1 pool_vg lvm2 a- 931.51g <font
> color="#ff0000">150.26g</font><br>
> /dev/sdf1 pool_vg lvm2 a- 931.51g <font
> color="#ff0000">150.26g</font><br>
> <br>
> Is it possible to incorporate the free spaces into the
> existing logical volume?<br>
> <br>
> Thanks,<br>
> <font color="#888888"> Shing-Shong</font></tt> </div>
> <br>
> _______________________________________________<br>
> BLUG mailing list<br>
> <a moz-do-not-send="true" href="mailto:BLUG at linuxfan.com">BLUG at linuxfan.com</a><br>
> <a moz-do-not-send="true"
> href="http://mailman.cs.indiana.edu/mailman/listinfo/blug"
> target="_blank">http://mailman.cs.indiana.edu/mailman/listinfo/blug</a><br>
> <br>
> </blockquote>
> </div>
> <br>
> <br clear="all">
> <br>
> -- <br>
> <a moz-do-not-send="true" href="http://resc.smugmug.com/">http://resc.smugmug.com/</a><br>
> <br>
> <fieldset class="mimeAttachmentHeader"></fieldset>
> <br>
> <pre wrap="">_______________________________________________
> BLUG mailing list
> <a class="moz-txt-link-abbreviated" href="mailto:BLUG at linuxfan.com">BLUG at linuxfan.com</a>
> <a class="moz-txt-link-freetext" href="http://mailman.cs.indiana.edu/mailman/listinfo/blug">http://mailman.cs.indiana.edu/mailman/listinfo/blug</a>
> </pre>
> </blockquote>
> </body>
> </html>
> _______________________________________________
> BLUG mailing list
> BLUG at linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
--
Mark Krenz
Bloomington Linux Users Group
http://www.bloomingtonlinux.org/
Sent from Mutt using Linux
More information about the BLUG
mailing list