Re: lvcreate to use all available space on PV?

From: Nissan 350Z (none_at_none.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 19:26:01 +0100

Easy but not automatic:
vgdisplay -v will show you how many free extents you have.
And then you can specify this number:
lvcreate -l xxx (or lvextend -l ).

"Chad Williams" <chad_dude@yahoo.com> wrote in message
news:2a3b16bc.0402181640.496b1037@posting.google.com...
> Is there a way using lvcreate to have it create the logical volume to
> use ALL available space on the PV? Didn't see anything in the man
> pages.
>
> #lvcreate -L 16384 /dev/vg04