4000187 512000 0 1048576 00 [--------]
</pre>
Removing a quota for a project:
xfs_quota -x -c 'limit -p bhard=0 4000187' /var/backup
Chreck the results:
xfs_quota -x -c report /var/backup
<pre>
User quota on /var/backup (/dev/vdb1)
Blocks
User ID Used Soft Hard Warn/Grace
---------- --------------------------------------------------
root 512000 0 0 00 [--------]
4000187 0 0 1024 00 [--------]
</pre>
As you can see, the line with the Project ID 4000187 has disappeared:
4000187 512000 0 1048576 00 [--------]
Don't forget to remove the project from <code>/etc/projects</code> and <code>/etc/projid</code>:
sed -i -e '/4000187/d' /etc/projects
sed -i -e '/4000187/d' /etc/projid
=== Some important notes concerning XFS ===