Wednesday, October 5, 2011

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

Hi,

Yes, lvextend will magically figure out that it can use the free parts of the volume group.  The "PFree" column from "pvs", or the "Free PE" (physical extents) line in "pvdisplay", shows how much space is left *within* the physical volume, so you don't need to grow the physical volumes at all.

Good luck,
-Thomas

On Wed, Oct 5, 2011 at 1:20 PM, Shei, Shing-Shong <shei@cs.indiana.edu> wrote:
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

No comments: