Getting Errors while booting a OpenVZ 7 VPS Container running on Ploop File System ?

Getting errors like:

2019-08-09T08:24:10-0400 : Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)

2019-08-09T08:24:10-0400 vzctl : CT 392 : Failed to mount image /vz/private/392/root.hdd: Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)
[41]

#vzctl start 392

Starting container…
Opening delta /vz/private/392/root.hdd/root.hdd
Adding delta dev=/dev/ploop61204p1 img=/vz/private/392/root.hdd/root.hdd (rw)
/dev/ploop61204p1p1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)
Failed to mount image: Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)

It can happen due to a file system crash or VPS Node crash etc…, don’t worry follow following tutorial to fix.

Solution:

1)Stop the container.

#vzctl stop 392

#vzlist 392

2)Mount the ploop image.

#ploop mount /vz/private/392/root.hdd/DiskDescriptor.xml

3)Perform fdisk -l

#fdisk -l /dev/ploop61204p1

4)Perform a file system check for the partition(note p1 at the end):

#e2fsck /dev/ploop61204p1p1

5)Unmount the ploop image

#ploop umount -d /dev/ploop61204p1

Unmounting device /dev/ploop61204p1

6)Start the container

#vzctl start 392

OpenVZ 7 based VPS Launched – Unmetered Bandwidth and RAID 10 SSD (Pure SSD)

We are glad to announce launch of our new VPS service based on OpenVZ 7 Virtualisation technology. These VPS are based on OpenVZ 7 along with SolusVM control panel for easy management.

These VPS Packages are not yet available on our website but you can order them directly from our billing system https://my.hosteons.com/cart.php?gid=12

Use Promo Code: “INTRO20” to get FLAT 20% OFF

Use Promo Code: “UPGRADE” to get free upgrade to next VPS Package

Use Promo Code: “DOUBLEPORT” to get free bandwidth upgrade from 100Mbps unmetered to 200Mbps Unmetered

Use Promo Code: “DOUBLEDISK” to get free double disk

Our OpenVZ VPS Nodes are also hosted on same network as our KVM VPS Nodes i.e. in Los Angeles, USA and they are activated instantly upon payment.