Product SiteDocumentation Site

5.2. Exercises

5.2.1. Exercise 1 - Configuring Quotas and Quota Reporting

  1. Create an entry for this filesystem in fstab, enable user quotas by adding quota to the list of mount options and mount the filesystem.
    # sudo mkdir /mnt/xfstest
    # sudo vi /etc/fstab
    /dev/hdb1 /mnt/xfstest xfs defaults,quota 0 0
    # sudo mount /mnt/xfstest
  2. Investigate the following xfs_quota administrative commands
    # sudo /usr/sbin/xfs_quota -x
    xfs_quota> help
    xfs_quota> report
    xfs_quota> state
    xfs_quota> path
  3. Create some files on the filesystem and rerun the report command.