[CentOS] resize lvm

Fri May 6 18:50:56 UTC 2016
Scott Robbins <scottro11 at gmail.com>

On Fri, May 06, 2016 at 11:42:18AM -0700, John R Pierce wrote:
> On 5/6/2016 11:39 AM, Wes James wrote:
> >file -s /dev/dm-0
> >
> >
> >
> >and it says XFS
> >
> >
> >
> >So would I use xfs_growfs?
> 
> bingo!    xfs_growfs can be used with the file system online, I'm
> pretty sure resize2fs requires the file system to be offline
> (unmounted).

Sorry, I missed that it would most likely be xfs.  resize2fs doesn't
necessarily require it to be offline, but it does frequently (though not
always, IIRC), suggest running e2fsk first which should definitely be done
while it's unmounted.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6