[CentOS] virtualbox, lvextend, etc.

Tue Nov 12 14:28:22 UTC 2013
SilverTip257 <silvertip257 at gmail.com>

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.


> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //