| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Available space after enable quota in XFS |
| From: | "geturmaddy@xxxxxxxxx" <geturmaddy@xxxxxxxxx> |
| Date: | Tue, 20 Nov 2012 12:16:32 +0530 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1KLNJGg/qjm34oeOKxbQUTI+ySNvgc/NOp4TOjkSJCo=; b=QxYrbZPcg0WLaYrPiYNr5GldqIGzI2FScXvrailbxuyBlOk322jH6RYatsodtJmjvr 8qSSmxNPWmFgBlHmdkW0q2jtSYGjV4bJ+m09Kpb9mUPYW9Q6+pwg4Qur/FV6DUCpve+C vm70EEjQwAvk1ljdvrXMnLfnsKturwPMIjT9kTDy38CiXz4dpbWWynYU5RNfWn9oDVrR +BhnITGiQOjVs12WR2bhHw0AiwieECDwm+/f0nB6YL3i0zXMRysURdwtJQm/uziIMZ9D mQT1I9dtriuWUSyXPVmN/90ojEqedWlFVywR4zSYQoo/fKVkygzfduwpVqTIB4o0UuuJ sXww== |
|
Hi all, 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.
I was able to configure project level quota for XFS file system in my Cent)S 5.7 machine. Below are the details [root@linux-nfs ~]# cat /etc/issue CentOS release 5.6 (Final)
Kernel \r on an \m [root@linux-nfs ~]# cat /etc/projects 13:/das/myproject1 [root@linux-nfs ~]# cat /etc/projid myproject1:13
[root@linux-nfs ~]# xfs_quota -xc 'report -p' /das Project quota on /das (/dev/cciss/c0d0) Blocks Project ID Used Soft Hard Warn/Grace
---------- -------------------------------------------------- myproject1 0 0 102400 00 [--------] 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 "Avail" column.
[root@linux-nfs ~]# df -h /das/myproject1/ Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0 100M 0 13T 0% /das 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.
__madhusudhan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfstests: fix to build src/realpath and the correct the existence of target devices, Eric Sandeen |
|---|---|
| Next by Date: | Re: Hang in XFS reclaim on 3.7.0-rc3, Torsten Kaiser |
| Previous by Thread: | [XFS updates] XFS development tree branch, for-next, updated. v3.7-rc1-72-g0e446be, xfs |
| Next by Thread: | Re: Available space after enable quota in XFS, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |