codaa.blogg.se

How to shrink a default install lvm pvresize shrink
How to shrink a default install lvm pvresize shrink






how to shrink a default install lvm pvresize shrink

PV UUID p0IClg-5mrh-5WlL-eJ1v-t6Tm-flVJ-gsJOK6 PV UUID 7bJOPh-OUK0-dGAs-2yqL-CAsV-TZeL-HfYzCt I/O size (minimum/optimal): 512 bytes / 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes Hopefully some of the following will shed some light.ĭisk /dev/xvda: 32.2 GB, 32212254720 bytes, 62914560 sectors Once I tried to use resize2fs, using both methods as above, I received the exact same error. Again everything worked fine up to this point. I have also tried deleting an existing partition (using fdisk) and recreating it with a larger end block, then resizing the physical volume using lvm pvresize, followed by a resize of the logical volume using lvm lvresize. Resize worked fine for the logical volume using lvextend, but it failed at resize2fs. I have tried adding a new partition (using fdisk) and using vgextend to extend the volume group, then resizing. Resize2fs: Bad magic number in super-block while trying to open /dev/mapper/centos-rootĬouldn't find valid filesystem superblock. I am trying to resize a logical volume on CentOS7 but am running into the following error: resize2fs 1.42.9 (2)








How to shrink a default install lvm pvresize shrink