[CentOS] resize lvm

Fri May 6 18:39:52 UTC 2016
Wes James <comptekki at me.com>



On May 06, 2016, at 12:29 PM, John R Pierce <pierce at hogranch.com> wrote:


On 5/6/2016 11:19 AM, Wes James wrote:

sudo resize2fs /dev/lvname/root




I get:






resize2fs: Bad magic number in super-block while trying to open
/dev/lvname/root
Couldn't find valid filesystem superblock.


what file system type is this /dev/lvname/root ?



I tried to find the type from blkid /dev/sda4 but that didn't give me the info so I tried



file -s /dev/dm-0



and it says XFS



So would I use xfs_growfs?

 


--
john r pierce, recycling bits in santa cruz

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