xfs
[Top] [All Lists]

reinitializing quota on xfs

To: Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
Subject: reinitializing quota on xfs
From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
Date: Sun, 29 Jan 2006 12:07:51 +0100 (MET)
Cc: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
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/


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