OpenVZ Forum


Home » General » Support » Ploop and vzquota (cPanel doesn't show disk usage)
Ploop and vzquota [message #51402] Wed, 07 May 2014 11:23 Go to next message
Abadon is currently offline  Abadon
Messages: 4
Registered: August 2013
Location: Cyber Space
Junior Member

From: *home.megalan.bg
Hello,

I created one new OpenVZ server under CentOS 6.5 x64 with ploop containers.

Everything working very good and I'm happy with performance and all new features of ploop, but unfortunately there is no complete happiness. So I have one problem - When create ploop container with CentOS 6 and cPanel control panel, the cPanel doesn't report disk usage per account.

In WHM/cPanel for Quota per account is see "unlimited" no matter of my quota configurations.

The configuration of the hardware node is as follows:

# grep DISK_QUOTA /etc/vz/vz.conf
DISK_QUOTA=yes


Do I need to make extra configurations to see the disk usage correctly inside WHM/cPanel?

Thank you in advance!
Re: Ploop and vzquota [message #51403 is a reply to message #51402] Wed, 07 May 2014 11:28 Go to previous messageGo to next message
onzehost is currently offline  onzehost
Messages: 4
Registered: July 2010
Junior Member
From: 192.111.150*
vzctl set CTID --quotaugidlimit 1000 --save

openvz.org/Ploop/Getting_started
Re: Ploop and vzquota [message #51404 is a reply to message #51402] Wed, 07 May 2014 11:55 Go to previous messageGo to next message
Abadon is currently offline  Abadon
Messages: 4
Registered: August 2013
Location: Cyber Space
Junior Member

From: *home.megalan.bg
Thank you for the fast reply, but I continue to see the same problem.

Quote:
[root@Ovz-02 ~]# vzctl stop 101
Stopping container ...
Container was stopped
Unmounting file system at /vz/root/101
Unmounting device /dev/ploop15362
Container is unmounted
[root@Ovz-02 ~]# vzctl set 101 --quotaugidlimit 1000 --save
CT configuration saved to /etc/vz/conf/101.conf
[root@Ovz-02 ~]# vzctl start 101
Starting container...
Opening delta /vz/private/101/root.hdd/root.hdd
Adding delta dev=/dev/ploop15362 img=/vz/private/101/root.hdd/root.hdd (rw)
/dev/ploop15362p1: clean, 172532/1638400 files, 1349118/6553088 blocks
Mounting /dev/ploop15362p1 at /vz/root/101 fstype=ext4 data='balloon_ino=12,usrjquota=aquota.user,grpjquota=aquota. group,jqfmt=vfsv0,'
Container is mounted
Adding IP address(es): 94.31.53.29 94.31.53.14
Setting CPU limit: 44
Setting CPU units: 8
Setting CPUs: 1
Container start in progress...


Then I login inside cPanel and run Initial Quota Setup:

Quote:
Installing Default Quota Databases......Done
Quota Mode: Linux
journaled quota support: not available with vzaquota (disabled)
checking out /backup
checking out /backup
Quotas have been enabled, however they may not be up to date as quotacheck has been skipped.
Reading package test
edquota: Cannot open quotafile //aquota.user: No such file or directory
No filesystems with quota detected.
Resetting quota for kireto to 1024 M


The the part of configuration of the container:

Quote:
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="26214400:26214400"
DISKINODES="13107200:13107200"
QUOTATIME="0"


Maybe I need to do some extra steps?
Re: Ploop and vzquota [message #51698 is a reply to message #51403] Sun, 12 October 2014 05:03 Go to previous messageGo to next message
oscarenzo is currently offline  oscarenzo
Messages: 1
Registered: January 2012
Location: Spain
Junior Member
From: *dominioabsoluto.com
I have exactly the same problem, did you find some solution?, my host node work over centos 6.5

Regards.
Re: Ploop and vzquota [message #51724 is a reply to message #51698] Fri, 24 October 2014 23:12 Go to previous message
jetfirenetworks is currently offline  jetfirenetworks
Messages: 2
Registered: July 2014
Location: Oregon
Junior Member

From: *jetfire.support
# vzctl set $CTID --quotaugidlimit 20000 --save --setmode restart

...container should cycle:

From your cpanel container:

# ls -al /aquota.*

You should have local aquota.user/aquota.group defined here. Then:

# /usr/local/cpanel/scripts/quotacheck -vguma
# /usr/local/cpanel/scripts/fixquotas


Check your quotas now.
Previous Topic: ip_conv: command not found (Debian)
Next Topic: vzmigrate Error: FPU state size unsupported
Goto Forum:
  


Current Time: Thu Sep 20 00:33:33 GMT 2018