## Ubutnu Quota configuration
sudo apt-get install quota quotatool
nano /etc/fstab
/dev/sda1 / ext4 errors=remount-ro,usrquota,grpquota 0 1
root@ubuntu:/# mount -o remount /
root@ubuntu:/# quotacheck -avugm
root@ubuntu:/# quotaon -avug
/dev/disk/by-uuid/62905db6-a34e-42d0-a9da-feb18d548046 [/]: group quotas turned on
/dev/disk/by-uuid/62905db6-a34e-42d0-a9da-feb18d548046 [/]: user quotas turned on
quotatool -u asad -bq 5000Mb -l "6000 Mb" / -v
quotatool -u noreen -bq 5000Mb -l "6000 Mb" / -v
quotatool -u adnan -bq 5000Mb -l "6000 Mb" / -v
quotatool -u ibtisam -bq 5000Mb -l "6000 Mb" / -v
quotatool -u adil -bq 5000Mb -l "6000 Mb" / -v
quotatool -u zahoor -bq 5000Mb -l "6000 Mb" / -v
quotatool -u shahab -bq 5000Mb -l "6000 Mb" / -v
quotatool -u ibrar -bq 5000Mb -l "6000 Mb" / -v
sudo apt-get install quota quotatool
nano /etc/fstab
/dev/sda1 / ext4 errors=remount-ro,usrquota,grpquota 0 1
root@ubuntu:/# mount -o remount /
root@ubuntu:/# quotacheck -avugm
root@ubuntu:/# quotaon -avug
/dev/disk/by-uuid/62905db6-a34e-42d0-a9da-feb18d548046 [/]: group quotas turned on
/dev/disk/by-uuid/62905db6-a34e-42d0-a9da-feb18d548046 [/]: user quotas turned on
quotatool -u asad -bq 5000Mb -l "6000 Mb" / -v
quotatool -u noreen -bq 5000Mb -l "6000 Mb" / -v
quotatool -u adnan -bq 5000Mb -l "6000 Mb" / -v
quotatool -u ibtisam -bq 5000Mb -l "6000 Mb" / -v
quotatool -u adil -bq 5000Mb -l "6000 Mb" / -v
quotatool -u zahoor -bq 5000Mb -l "6000 Mb" / -v
quotatool -u shahab -bq 5000Mb -l "6000 Mb" / -v
quotatool -u ibrar -bq 5000Mb -l "6000 Mb" / -v
No comments:
Post a Comment