resize lvm

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



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 number in super-block while trying to open /dev/lvname/root
Couldn't find valid filesystem superblock.


How do I resize the volume?



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