xfs
[Top] [All Lists]

Re: XFS 1.0/Quota

To: <marchuk@xxxxxxxxxxxxxxxxx>, Fermin Molina <fermin@xxxxxxxxxx>
Subject: Re: XFS 1.0/Quota
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 May 2001 10:21:25 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <marchuk@xxxxxxxxxxxxxxxxx> "Re: XFS 1.0/Quota" (May 9, 5:09pm)
References: <Pine.LNX.4.21.0105091703080.16671-100000@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi,

On May 9,  5:09pm, <marchuk@xxxxxxxxxxxxxxxxx> wrote:
> Subject: Re: XFS 1.0/Quota
> 
> fstab entry:
> # Raid
> /dev/sdc1 /users/raid2 xfs rw,usrquota 0 0
> 
> 
> [root@gauss doc]# quotaon /users/raid2
> quotaon: Enable XFS group quota during mount
> quotaon: Enable XFS user quota during mount
> 

quotaon is the wrong way to try to enable quota on this
XFS filesystem.  If your filesystem is mounted with the
above option, and the 3.01-pre5 quota tools are reporting
no quota for the filesystem, then the running kernel was
probably not compiled with XFS quota support.

If quota are enabled in the kernel, when you mount the
filesystem for the first time with the above options you
should see a console message along the lines "XFS doing
quotacheck..."

> 
> [root@gauss doc]# quot /users/raid2
> /dev/sdc1 (/users/raid2) users:
> 30811212    root
>  2978692    support
> 

The quot command will always work for any XFS filesystem,
independent of whether it has quota enabled or not.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>