I have a Ubuntu container, I needed more space and went to resources and selected root disk then resize and entered more GBs and clicked resize disk. Ever since that point it wont start.
I get this in the task log on Start command:
run_buffer: 321 Script exited with status 255
lxc_init: 846 Failed to run lxc.hook.pre-start for container "101"
__lxc_start: 2002 Failed to initialize container "101"
TASK ERROR: startup for container '101' failed
This is the output of the resize:
Image resized.
e2fsck 1.46.2 (28-Feb-2021)
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
/var/lib/vz/images/101/vm-101-disk-0.raw: 74119/786432 files (0.3% non-contiguous), 1750406/3145728 blocks
resize2fs 1.46.2 (28-Feb-2021)
resize2fs: MMP: invalid magic number while trying to resize /var/lib/vz/images/101/vm-101-disk-0.raw
Please run 'e2fsck -fy /var/lib/vz/images/101/vm-101-disk-0.raw' to fix the filesystem
after the aborted resize operation.
Resizing the filesystem on /var/lib/vz/images/101/vm-101-disk-0.raw to 2624585728 (4k) blocks.
Failed to update the container's filesystem: command 'resize2fs /var/lib/vz/images/101/vm-101-disk-0.raw' failed: exit code 1
TASK OK
I get this in the task log on Start command:
run_buffer: 321 Script exited with status 255
lxc_init: 846 Failed to run lxc.hook.pre-start for container "101"
__lxc_start: 2002 Failed to initialize container "101"
TASK ERROR: startup for container '101' failed
This is the output of the resize:
Image resized.
e2fsck 1.46.2 (28-Feb-2021)
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
/var/lib/vz/images/101/vm-101-disk-0.raw: 74119/786432 files (0.3% non-contiguous), 1750406/3145728 blocks
resize2fs 1.46.2 (28-Feb-2021)
resize2fs: MMP: invalid magic number while trying to resize /var/lib/vz/images/101/vm-101-disk-0.raw
Please run 'e2fsck -fy /var/lib/vz/images/101/vm-101-disk-0.raw' to fix the filesystem
after the aborted resize operation.
Resizing the filesystem on /var/lib/vz/images/101/vm-101-disk-0.raw to 2624585728 (4k) blocks.
Failed to update the container's filesystem: command 'resize2fs /var/lib/vz/images/101/vm-101-disk-0.raw' failed: exit code 1
TASK OK