Re: resize lvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux