Difference between revisions of "How to fix corrupted ploop"
(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...") |
|||
Line 6: | Line 6: | ||
Mount: | Mount: | ||
ploop mount root.hdd/DiskDescriptor.xml | ploop mount root.hdd/DiskDescriptor.xml | ||
+ | Opening delta /vz/private/16311/root.hdd/root.hdd | ||
+ | Adding delta dev=/dev/ploop28980 img=/vz/private/16311/root.hdd/root.hdd (rw) | ||
+ | #note the dev=/dev/ploop2890 | ||
+ | |||
+ | As from previous output we can see how it's mounted dev=/dev/ploop2890 | ||
+ | Try e2fsck | ||
− | |||
e2fsck /dev/ploop28980 | e2fsck /dev/ploop28980 | ||
− | mke2fs /dev/ploop28980 | + | If fail try with another superblock: |
− | e2fsck -b 32768 /dev/ploop28980 | + | mke2fs /dev/ploop28980 # note the block here and use one of them |
− | + | e2fsck -b 32768 /dev/ploop28980 | |
− |
Revision as of 14:57, 4 December 2020
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 Opening delta /vz/private/16311/root.hdd/root.hdd Adding delta dev=/dev/ploop28980 img=/vz/private/16311/root.hdd/root.hdd (rw) #note the dev=/dev/ploop2890
As from previous output we can see how it's mounted dev=/dev/ploop2890 Try e2fsck
e2fsck /dev/ploop28980
If fail try with another superblock:
mke2fs /dev/ploop28980 # note the block here and use one of them e2fsck -b 32768 /dev/ploop28980