All containers on the hardware node are functioning in read-only (ro) mode.
Container cannot be started:
[root@pcs01-01 ~]# vzctl start 99 Unable to open the lock file /vz/private/99.lck: Read-only file system
Impossible to create any file on /vz
[root@vz ~]# touch /vz/root/101/testfile touch: cannot touch `testfile': Read-only file system
The kernel remounted /vz partition in read-only mode because of I/O or filesystem errors.
[root@vz ~]# cat /proc/mounts | grep vz /dev/sda2 /vz ext4 ro,noatime,barrier=1,data=ordered 0 0
dmesg for hardware errors.
Filesystem will be remounted in "read/write" after node reboot which can be a quick solution, however carefully check the logged errors before that. Important data can be copied from
/vz at this point.
2) Try to perform fsck on the /vz partition.
3) If the issue reoccurs, perform fsck again and migrate the containers to another server as soon as possible.
4) Contact your hardware vendor to verify the hard drive consistency.