Disk quota configration at RedHat Linux
Linux OS disk quota configuration for local users and group. Install Binary Package rpm –i quota~.rpm Modify /etc/fstab LABEL=LINUX / ext3 defaults,usrquota,grpquota 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 auto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 Create Quota Files touch /aquota.user touch /aquota.group chmod 600 /aquota.user chmod 600 /aquota.group Reboot the system reboot or mount / -o rw,remount Test the quota mount Quotacheck quotacheck –aumv quotacheck –avgm ( group ) Quota On quotaon –auvg Assign for User/Group edquota –u username edquota –g groupname In this part, you would set limit for Users' Soft and Hard limit. Quota Commands quotacheck quotaon/off quotastats setquota quota repquota