Proxmox - Guests (VMs and Containers) - fsck from host

The PVE host can run fsck against the 'vm-xxx-disk-7.raw' file.


Another option

Map the raw file as a loopback device.

Then fsck the loopback device.

NOTE: If there are partitions on the raw file, you will have to specify offsets when mounting the loopback.

  • man losetup