How to fix corrupted ploop

From vpsget wiki
Revision as of 14:55, 4 December 2020 by Ndi (talk | contribs) (Created page with "Stop the container Mount the container’s ploop image. cd /vz/private/CTID check fdisk: fdisk -l root.hdd/root.hdd Mount: ploop mount root.hdd/DiskDescriptor.xml...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Stop the container Mount the container’s ploop image.

cd  /vz/private/CTID

check fdisk:

fdisk -l root.hdd/root.hdd 

Mount:

ploop mount root.hdd/DiskDescriptor.xml       


e2fsck  /dev/ploop28980   
mke2fs /dev/ploop28980   

e2fsck -b 32768 /dev/ploop28980

Run fdisk -l for the ploop device reported by the previous command.