Category: OpenVZ

Control Panel, OpenVZ, SolusVM

SolusVM: Cancelling stuck migrations

There is a rare bug which can occur with SolusVM, in which migrations will get stuck at 0% – no matter how much time passes, like so or if you want to cancel the migration process because of slow transfer speed. When this happens, do the following: 1) Connect to the SolusVM master via SSH …

Linux, OpenVZ, SolusVM

How to enable Second level Quota on a cPanel OpenVZ virtual server?

The parameter that controls the second-level disk quotas is QUOTAUGIDLIMIT in the Container configuration file. By default, the value of this parameter is zero and this corresponds to disabled per-user and per-group quotas. Connect to OpenVZ node via SSH Stop the VPS: vzctl stop 101 Run this command to enable second level for a running …

OpenVZ, Virtuozzo

Create a template from a OpenVZ container on Virtuozzo node with the ploop layout

1) SSH to the OpenVZ/Virtuzzo slave node where the source template container is running. 2) Stop the container via SolusVM interface. 3) Create a directory where you wish to mount the container image, e.g.: mkdir /24x7template 4) Mount the container image using CTID: mount -t ploop /vz/private/751/root.hdd/DiskDescriptor.xml /24x7template Note : In the above example, the …

OpenVZ, SolusVM

Mount windows/linux disk using kpartx

This post will guide you through how to access the contents of the virtual disk (LVM disk) directly so that you don’t need to boot the VM or when VM is not booting and you want to recover the data(windows or linux) [root@node ~]# lvdisplay | grep centosLV Path /dev/VolGroup/centosLV Name centos We need to create device …