[CentOS] virtualbox, lvextend, etc.
Wes James
comptekki at gmail.com
Tue Nov 12 14:31:12 UTC 2013
On Tue, Nov 12, 2013 at 7:28 AM, SilverTip257 <silvertip257 at gmail.com>wrote:
> On Mon, Nov 11, 2013 at 11:48 PM, Barry Brimer <lists at brimer.org> wrote:
>
> > > but when I do:
> > >
> > > df -h
> > >
> > > I still see only the original 8gig disk (8gig total - 4gig data/4gig
> > swap)).
> >
> > I see this extending the logical volume, but not the filesystem on the
> > logical volume. You can use resize2fs <device> to do that.
> >
>
> As Barry notes, you need to resize the file system. Since you already
> resized the LV, you need to use resize2fs.
>
> You could have resized both the LV and file system with lvextend in the
> beginning (using one command) by passing -r or --resizefs parameter to
> lvextend.
>
>
That's good to know. I'll put it in my notes.
Thanks,
-wes
More information about the CentOS
mailing list