Hi all,<div>I am trying to evaluation XFS for NFS server. We need to configure directory level quota in order to better manage storage in the server. I came to know that, we can use project quota which looks similar to directory level quotas. </div>
<div><br></div><div>I was able to configure project level quota for XFS file system in my Cent)S 5.7 machine. Below are the details</div><div><br></div><div><div>[root@linux-nfs ~]# cat  /etc/issue</div><div>CentOS release 5.6 (Final)</div>
<div>Kernel \r on an \m</div><div><br></div><div><div>[root@linux-nfs ~]# cat /etc/projects </div><div>13:/das/myproject1<br></div><div><br></div><div>[root@linux-nfs ~]# cat /etc/projid </div><div>myproject1:13<br></div>
</div><div><br></div><div><div>[root@linux-nfs ~]# xfs_quota -xc &#39;report -p&#39; /das</div><div>Project quota on /das (/dev/cciss/c0d0)</div><div>                               Blocks                     </div><div>Project ID       Used       Soft       Hard    Warn/Grace     </div>
<div>---------- -------------------------------------------------- </div><div>myproject1          0          0     102400     00 [--------]</div></div><div><br></div><div>You can see the hard limit set to 1G. But, when i check directory space using df -h command. its showing entire file system space in &quot;Avail&quot; column.</div>
<div><br></div><div><div>[root@linux-nfs ~]# df -h /das/myproject1/</div><div>Filesystem            Size  Used <b>Avail </b>Use% Mounted on</div><div>/dev/cciss/c0d0       100M     0   <b>13T   </b>0% /das</div></div><div>
<br></div><div>Is there a way we can restrict showing entire FS size in Avail column (or show available space which is left after using the allocated quota i.e, Avail space = Size - Used) ? This actually cause confusion to end user who things they still have enough space in the directory. </div>
<div><br></div>Thanks in advance</div><div>__madhusudhan</div>