HomePage » Linux » LinuxFileSystem » FileSystemQuota


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
  2. Remount the mount point
  3. run quotacheck -cug /mnt/point to create the quota files
  4. run edquota -f /mnt/point -u username to set up quota for a specific user. Substitute -u with -g to specify group quota
  5. run quotaon /mnt/point to activate quota
  6. run quota username to display quota usage for a user
  7. run repquota /mnt/point to display a quota report

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki