mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* reinitializing quota on xfs
@ 2006-01-29 11:07 Jan Engelhardt
  2006-01-30  9:19 ` Nathan Scott
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2006-01-29 11:07 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: linux-xfs

Hi,


for some strange reason, `quota -v` showed an impossible number in the 
inodes (files) field, something that resembled 2^64 - n, n={1..100}. I do 
not know how it happened, but I wanted to reinitialize the quota. Though, 
how does one do that with XFS? (Since it's different from the vfsv0 quota 
architecture.)

By chance, I could make xfs reinit it using:
  quotaoff /D
  touch /D/something
  umount /D
  mount /D   # impliclty mounts with usrquota,grpquota (options in fstab)

but it would have been nicer to have a mount option.


Jan Engelhardt
-- 
| Software Engineer and Linux/Unix Network Administrator
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: reinitializing quota on xfs
  2006-01-29 11:07 reinitializing quota on xfs Jan Engelhardt
@ 2006-01-30  9:19 ` Nathan Scott
  2006-01-30  9:47   ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Scott @ 2006-01-30  9:19 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Linux Kernel Mailing List, linux-xfs

On Sun, Jan 29, 2006 at 12:07:51PM +0100, Jan Engelhardt wrote:
> Hi,
> 
> for some strange reason, `quota -v` showed an impossible number in the 
> inodes (files) field, something that resembled 2^64 - n, n={1..100}. I do 

It would be really good if we could get a test case for this; it
gets reported once in a blue moon, so there does seem to be some
latent issue there...

> not know how it happened, but I wanted to reinitialize the quota. Though, 
> how does one do that with XFS? (Since it's different from the vfsv0 quota 
> architecture.)

See xfs_quota(8) from recent versions of xfsprogs, or in older
ones theres doco in /usr/share/doc/xfsprogs*/README.quota.

cheers.

-- 
Nathan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: reinitializing quota on xfs
  2006-01-30  9:19 ` Nathan Scott
@ 2006-01-30  9:47   ` Jan Engelhardt
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2006-01-30  9:47 UTC (permalink / raw)
  To: Nathan Scott; +Cc: Linux Kernel Mailing List, linux-xfs

>> Hi,
>> 
>> for some strange reason, `quota -v` showed an impossible number in the 
>> inodes (files) field, something that resembled 2^64 - n, n={1..100}. I do 
>
>It would be really good if we could get a test case for this; it
>gets reported once in a blue moon, so there does seem to be some
>latent issue there...
>
I'll try figure out a testcase.

>> not know how it happened, but I wanted to reinitialize the quota. Though, 
>> how does one do that with XFS? (Since it's different from the vfsv0 quota 
>> architecture.)
>
>See xfs_quota(8) from recent versions of xfsprogs, or in older
>ones theres doco in /usr/share/doc/xfsprogs*/README.quota.

I can't find it in xfsprogs-2.7.11/man/man8/xfs_admin.8 ... or it's too 
well hidden.



Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-30  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-29 11:07 reinitializing quota on xfs Jan Engelhardt
2006-01-30  9:19 ` Nathan Scott
2006-01-30  9:47   ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®