Linux quota
Set up quota with the following steps. If it's a NFS environment, enforce quota on the file server. quota command on nfs clients will be able to communicate with rpc.quotad to get quota stat.
- Edit /etc/fstab, add "usrquota,grpquota" to mount options
- Remount the mount point
- run quotacheck -cug /mnt/point to create the quota files
- run edquota -f /mnt/point -u username to set up quota for a specific user. Substitute -u with -g to specify group quota
- run quotaon /mnt/point to activate quota
- run quota username to display quota usage for a user
- run repquota /mnt/point to display a quota report
There are no comments on this page. [Add comment]