Re: Configure User/Group quotas on a CT [message #52213 is a reply to message #52203] |
Wed, 23 September 2015 22:04 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
Bazcor
Messages: 4 Registered: February 2013
|
Junior Member |
|
|
Hi,
I tried creating a secondary disk using PLOOP and it failed too.
root@zen-pdc:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/ploop20457p1 20516348 2125428 17531280 11% /
/dev/ploop39056p1 899000 20488 826188 3% /mnt
none 524288 4 524284 1% /dev
none 4 0 4 0% /sys/fs/cgroup
none 104860 1228 103632 2% /run
none 51200 0 51200 0% /run/lock
none 524288 0 524288 0% /run/shm
none 102400 0 102400 0% /run/user
root@zen-pdc:/# quotacheck /dev/ploop20457p1
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
root@zen-pdc:/# quotacheck /dev/ploop39056p1
quotacheck: Cannot find mountpoint for device /dev/ploop39056p1
quotacheck: No correct mountpoint specified.
quotacheck: Cannot initialize mountpoint scan.
root@zen-pdc:/#
My CT conf:
[root@openvz conf]# cat 208.conf | grep -v "#"
PHYSPAGES="0:1G"
SWAPPAGES="0:2G"
DISKSPACE="20G"
DISKINODES="131072:144179"
QUOTATIME="0"
CPUUNITS="10000"
NETFILTER="stateless"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
VE_LAYOUT="ploop"
OSTEMPLATE="ubuntu-14.04-x86_64"
ORIGIN_SAMPLE="vswap-1g"
ONBOOT="yes"
HOSTNAME="zen-pdc"
NAMESERVER="192.168.1.203 192.168.1.1"
CPUS="1"
IPTABLES="ip_tables iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT "
CAPABILITY=" SYS_TIME:on"
NETIF=" ifname=eth0,mac=00:18:51:91:F3:45,host_ifname=veth208.0,host _mac=00:18:51:A6:AE:D1 "
QUOTAUGIDLIMIT="100"
[root@openvz conf]#
[root@openvz conf]# cat 208.mount
#!/bin/bash
#ploop mount -o usrjquota=aquota.user,grpjquota=aquota.group -m /vz/root/$VEID/mnt /storage/$VEID/DiskDescriptor.xml
ploop mount -m /vz/root/$VEID/mnt /storage/$VEID/DiskDescriptor.xml
[root@openvz conf]#
So, Does anybody facing or trying to do the same?
Thanks in advance.
|
|
|