Hello, I have migrated a cPanel server from OpenVZ to LXC.
I've enabled quotas, but when I run inside the container the command: /scripts/fixquotas
Any idea?
I get error:
I've enabled quotas, but when I run inside the container the command: /scripts/fixquotas
Any idea?
I get error:
Code:
# /scripts/fixquotas
Installing Default Quota Databases......Done
journaled quota support: kernel supports, user space tools supports (available)
checking out /backup
checking out /backup
Quotas have been enabled and updated.
Reading package Unlimited
Resetting quota for xxx to 51200 M
edquota: Cannot open quotafile //aquota.user: No such file or directory
edquota: Cannot open quotafile /backup/aquota.user: No such file or directory
No filesystems with quota detected.
Code:
# cat /etc/pve/lxc/100.conf
arch: amd64
cpulimit: 8
cpuunits: 8000
hostname: vps.bateriastotal.com
memory: 20480
mp0: sata1:100/vm-100-disk-1.raw,mp=/backup,quota=1,size=1000G
nameserver: 127.0.0.1 8.8.8.8
net0: name=eth0,bridge=vmbr1,gw=x.x.x.x,hwaddr=66:34:66:32:34:66,ip=x.x.x.x/29,type=veth
onboot: 1
ostype: centos
rootfs: ssd:100/vm-100-disk-1.raw,quota=1,size=200G
searchdomain: google.com
swap: 0
Code:
# pveversion -v
proxmox-ve: 4.3-66 (running kernel: 4.4.19-1-pve)
pve-manager: 4.3-1 (running version: 4.3-1/e7cdc165)
pve-kernel-4.4.13-1-pve: 4.4.13-56
pve-kernel-4.4.8-1-pve: 4.4.8-52
pve-kernel-4.4.13-2-pve: 4.4.13-58
pve-kernel-4.2.8-1-pve: 4.2.8-41
pve-kernel-4.4.19-1-pve: 4.4.19-66
pve-kernel-4.4.10-1-pve: 4.4.10-54
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-46
qemu-server: 4.0-88
pve-firmware: 1.1-9
libpve-common-perl: 4.0-73
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-61
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6.1-6
pve-container: 1.0-75
pve-firewall: 2.0-29
pve-ha-manager: 1.0-35
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.4-1
lxcfs: 2.0.3-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
Last edited: