[CentOS] resize lvm

Fri May 6 18:37:31 UTC 2016
John R Pierce <pierce at hogranch.com>

On 5/6/2016 11:28 AM, John R Pierce 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  ?

oops, left out the rest...

since you said C7, its quite likely its XFS not extXfs ...  if thats the 
case, then use:

     xfs_growfs /dev/lvname/root



-- 
john r pierce, recycling bits in santa cruz