Displaying 2 results from an estimated 2 matches for "extxf".
Did you mean:
extif
2016 May 06
0
resize lvm
...size2fs /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
_______________________________________________
Cent...
2016 May 06
4
resize lvm
I have a laptop that I put centos 7 on and I started out with a 30gig partition.? I resized the other part of the disk to allow more space for centos.? I then created an unformated partition in the available space,? ran
pvcreate /dev/sda4
vgextend lvname /dev/sda4
lvextend -L 184.46G /dev/lvname/root
but when I run:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic