Hi all.
Having an issue here that's likely Debian, rather than Proxmox but figured I'd post here. I tried to resize a mountpoint on a Ubuntu 16.04LTS LXC container disk a couple of days back (through the interface). Resized the volume on the Nimble which backs it, ran 'pvresize /dev/sdx' to resize the physical volume, and all was good in the listing of lsblk and vgdisplay at this point. Then doing an offline resize in the interface, I get this :
Since then, I have created a number of new LXC containers for testing, and any resize results in the same issue (and a damaged image that won't mount). Same happens running the commands manually, of course.
Can anyone shed some light over what might be causing this? Bad version of resize2fs maybe?
//Edit : Just before anyone asks, if I run the e2fsck repair, it complains about the invalid magic number, claims to fix it, and then just rinse and repeat.
Having an issue here that's likely Debian, rather than Proxmox but figured I'd post here. I tried to resize a mountpoint on a Ubuntu 16.04LTS LXC container disk a couple of days back (through the interface). Resized the volume on the Nimble which backs it, ran 'pvresize /dev/sdx' to resize the physical volume, and all was good in the listing of lsblk and vgdisplay at this point. Then doing an offline resize in the interface, I get this :
Code:
Size of logical volume OPS_LVM_VG/vm-109-disk-2 changed from 8.79 TiB (2304000 extents) to 18.55 TiB (4864000 extents).
Logical volume OPS_LVM_VG/vm-109-disk-2 successfully resized.
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/OPS_LVM_VG/vm-109-disk-2: 12/294912000 files (0.0% non-contiguous), 19500704/2359296000 blocks
resize2fs 1.43.4 (31-Jan-2017)
resize2fs: MMP: invalid magic number while trying to resize /dev/OPS_LVM_VG/vm-109-disk-2
Please run 'e2fsck -fy /dev/OPS_LVM_VG/vm-109-disk-2' to fix the filesystem
after the aborted resize operation.
Resizing the filesystem on /dev/OPS_LVM_VG/vm-109-disk-2 to 4980736000 (4k) blocks.
Failed to update the container's filesystem: command 'resize2fs /dev/OPS_LVM_VG/vm-109-disk-2' failed: exit code 1
TASK OK
Since then, I have created a number of new LXC containers for testing, and any resize results in the same issue (and a damaged image that won't mount). Same happens running the commands manually, of course.
Can anyone shed some light over what might be causing this? Bad version of resize2fs maybe?
//Edit : Just before anyone asks, if I run the e2fsck repair, it complains about the invalid magic number, claims to fix it, and then just rinse and repeat.