xfs
[Top] [All Lists]

Re: quota

To: Dmitry Melekhov <dm@xxxxxxxxxx>
Subject: Re: quota
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 19 Sep 2001 18:47:44 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3BA8D65A.1010202@belkam.com>; from dm@belkam.com on Wed, Sep 19, 2001 at 01:31:06PM -0400
References: <3BA8D65A.1010202@belkam.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Wed, Sep 19, 2001 at 01:31:06PM -0400, Dmitry Melekhov wrote:
> Hello!

hi there,

> I can't understand where xfs quota is stored.

XFS stores quota information in two "hidden" inodes which hang
off the primary superblock.  They are not visible via "ls" (no
directory entries for these two), as is common in other quota
implementations (eg. the Linux VFS, as used by ext2 and other
Linux filesystems).

The information in the README.quota file in xfsprogs may help
you get a better feel for these concepts.

> After remounting partition all quotas disappeared.

You must mount with the appropriate quota flags (always) to
preserve quota information.  If you don't, the quota checked
flag will be cleared during mount, and no accounting will be
performed for the duration of that mount.  On the next mount
with quota, you'll be forced to do a fresh quotacheck (which
is done during mount for XFS, not via the quotacheck(8) tool)
in order to reenable quota.

Hope this helps.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>
  • quota, Dmitry Melekhov
    • Re: quota, Nathan Scott <=
    • Re: quota, Seth Mos