Formatting code for FileSystemQuota
{{parent page="LinuxFileSystem"}}
===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.
1) Edit /etc/fstab, add "usrquota,grpquota" to mount options
1) Remount the mount point
1) run **quotacheck -cug /mnt/point** to create the quota files
1) run **edquota -f /mnt/point -u username** to set up quota for a specific user. Substitute **-u** with **-g** to specify group quota
1) run **quotaon /mnt/point** to activate quota
1) run **quota username** to display quota usage for a user
1) run **repquota /mnt/point** to display a quota report
===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.
1) Edit /etc/fstab, add "usrquota,grpquota" to mount options
1) Remount the mount point
1) run **quotacheck -cug /mnt/point** to create the quota files
1) run **edquota -f /mnt/point -u username** to set up quota for a specific user. Substitute **-u** with **-g** to specify group quota
1) run **quotaon /mnt/point** to activate quota
1) run **quota username** to display quota usage for a user
1) run **repquota /mnt/point** to display a quota report