Black Friday Deal: Web Hosting from Tsh 67,000/yr β€” 85% OFF + Free Domain!

Configuring Quotas on Directadmin ext4 file system

Manage your hosting services with ease.

Configuring Quotas on Directadmin ext4 file system

So you created your VPS and  installed directadmin ok. You can read the full documentation here based on file system type. For ext4

Start by editing

# mount | grep ' / '
# /dev/sda2 on / type ext4 (rw,noatime,quota,usrquota,grpquota)

This shows ext4 as file system type and confirms our mount point is β€œ/”

add usrquota,grpquota to "/"
# nano /etc/fstab
UUID=87dc142a-1e3a-4232-b5cb-e46a7ef50873 /                       ext4    defaults,noatime        1 0
UUID=75f14d25-640a-4131-999d-e7196fc53d11 /boot                   ext4    defaults,noatime        1 0

Remount the partition

# mount -o remount /
# /sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;

 

 

 

 

 

Please rate this article to help us improve our Knowledge Base.

2 0

Chat with us on WhatsApp