* Programmatically query default XFS Quota ?
@ 2016-08-04 22:48 Rynhart, Patrick
2016-08-04 23:23 ` Vincent McIntyre
2016-08-04 23:37 ` Dave Chinner
0 siblings, 2 replies; 3+ messages in thread
From: Rynhart, Patrick @ 2016-08-04 22:48 UTC (permalink / raw)
To: 'xfs@oss.sgi.com'
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 ?
Thanks in Advance,
Patrick
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Programmatically query default XFS Quota ?
2016-08-04 22:48 Programmatically query default XFS Quota ? Rynhart, Patrick
@ 2016-08-04 23:23 ` Vincent McIntyre
2016-08-04 23:37 ` Dave Chinner
1 sibling, 0 replies; 3+ messages in thread
From: Vincent McIntyre @ 2016-08-04 23:23 UTC (permalink / raw)
To: Rynhart, Patrick; +Cc: 'xfs@oss.sgi.com'
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 ?
quotatool understands xfs quotas to some degree.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Programmatically query default XFS Quota ?
2016-08-04 22:48 Programmatically query default XFS Quota ? Rynhart, Patrick
2016-08-04 23:23 ` Vincent McIntyre
@ 2016-08-04 23:37 ` Dave Chinner
1 sibling, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2016-08-04 23:37 UTC (permalink / raw)
To: Rynhart, Patrick; +Cc: 'xfs@oss.sgi.com'
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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-04 23:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-04 22:48 Programmatically query default XFS Quota ? Rynhart, Patrick
2016-08-04 23:23 ` Vincent McIntyre
2016-08-04 23:37 ` Dave Chinner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox