Re: resize lvm

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






On May 06, 2016, at 12:37 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:


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





Thanks for the tip.  I looked at man xfs_growfs and found -d option and so I used this and it worked:


sudo xfs_growfs / -d






--
john r pierce, recycling bits in santa cruz

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


Thanks!


-wes
_______________________________________________
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