linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Switching from group to project quota's
@ 2016-12-19  1:03 ncoulson-ml
  2016-12-19 14:07 ` Eric Sandeen
  0 siblings, 1 reply; 6+ messages in thread
From: ncoulson-ml @ 2016-12-19  1:03 UTC (permalink / raw)
  To: linux-xfs

We are currently using user and group quota's on multiple xfs 
filesystem.  When trying to switch to Project Quota's, it attempts to 
perform a quotacheck.

Tested on a lvm snapshot of a live volume,  it was still not mounted 
after about a week (and couldn't find a way to cancel the attempted 
mount.  dmesg did mention quotacheck, but I can't say it was doing the 
quotacheck for the full week).

Is there a way to convert from Group Quota's to Project Quota's while 
avoiding the quotacheck?  (There are currently no project quota's 
defined).  Outside of that, I was curious what scenario's would cause 
quotacalc to recalculate.

Thank You



1TB Volumes, Reviewing one of them, we are using 67G of 934GB (they vary 
from 400GB free to 50GB Free).

Inode usage seems to range from 5000000 to 8000000.

Using the 2.6.32 kernel from Centos 6.8, but was doing my tests with a 
snapshot of the volume on a centos 7.2 host (kernel 3.10)

I thought I may be able to work around this by removing the group quota 
information,  but xfs_quota -x, remove -g with and without group quota's 
on failed to work.    Everytime I received XFS_QUOTARM: Invalid argument


User quota state on /test (/dev/sda)
   Accounting: ON
   Enforcement: OFF
   Inode: #131 (1663 blocks, 1639 extents)
Group quota state on /test (/dev/sda)
   Accounting: ON
   Enforcement: OFF
   Inode: #132 (1664 blocks, 1648 extents)
Project quota state on /test (/dev/sda)
   Accounting: OFF
   Enforcement: OFF
   Inode: #132 (1664 blocks, 1648 extents)
Blocks grace time: [7 days 00:00:30]
Inodes grace time: [7 days 00:00:30]
Realtime Blocks grace time: [7 days 00:00:30]


Nathan Coulson.

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

end of thread, other threads:[~2016-12-23 22:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-19  1:03 Switching from group to project quota's ncoulson-ml
2016-12-19 14:07 ` Eric Sandeen
2016-12-19 19:23   ` Nathan Coulson
2016-12-19 21:26     ` Dave Chinner
2016-12-19 23:52       ` Nathan Coulson
2016-12-23 22:02         ` Nathan Coulson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).