reinitializing quota on xfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux