Question:
How to enable quotas on CT proxmox for use DirectAdmin
I want to do it now. http://help.directadmin.com/item.php?id=42
[root@host1 ~]# /usr/sbin/repquota /home repquota: Mountpoint (or device) /home not found or has no quota enabled. repquota: Not all specified mountpoints are using quota. [root@host1 ~]#
Solution: you ssh on server promox and try following commands
root@server:~# pct list 103 running host1.domain.com 190 running 190.domain.com 205 running 205.domain.com root@server:~# pct stop 103
edit /etc/pve/lxc/103.conf and add to bottom
lxc.rootfs.options:usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
root@server:~# pct start 103 root@server:~# pct enter 103 [root@host1 ~]# mount | grep 'on / ' /dev/loop3 on / type ext4 [root@host1 ~]# mknod /dev/loop3 b 7 3 [root@host1 ~]# touch /aquota.user [root@host1 ~]# touch /aquota.group [root@host1 ~]# chmod 0600 /aquota.user [root@host1 ~]# chmod 0600 /aquota.group [root@host1 ~]# quotacheck -cmug / [root@host1 ~]# quotaon /
}
The post How to enable quotas on CT Proxmox for use DirectAdmin appeared first on System Network Programming Solution.