| To: | "Rynhart, Patrick" <P.Rynhart@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Programmatically query default XFS Quota ? |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Fri, 5 Aug 2016 09:37:32 +1000 |
| Cc: | "'xfs@xxxxxxxxxxx'" <xfs@xxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <839565DD1303AC4993B245FFDB34AF78510C9C8F@xxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <839565DD1303AC4993B245FFDB34AF78510C9C8F@xxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Thu, Aug 04, 2016 at 10:48:32PM +0000, Rynhart, Patrick wrote: > Hi, > > I can set a default quota on a file system as follows: > > xfs_quota -x -c 'limit bsoft=100m bhard=100m -d' /home > > But I'm not sure how to query this - can anyone advise ? Default quotas are recorded in the limits of ID 0. UID 0/GID 0 are not actually limited (though we do account their usage) so we store the default limits for everyone there. IIRC, you should be able to view the default user quota limits via the "quota -uv 0" command. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Programmatically query default XFS Quota ?, Vincent McIntyre |
|---|---|
| Next by Date: | Re: [PATCH 11/47] xfs: move deferred operations into a separate file, Dave Chinner |
| Previous by Thread: | Re: Programmatically query default XFS Quota ?, Vincent McIntyre |
| Next by Thread: | REïFabrics, 13758346203@xxxxxxx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |