[Linux-cluster] request for enhancement: avoid or parallelize quotacheck in fs.sh

bergman at merctech.com bergman at merctech.com
Wed Apr 14 23:20:33 UTC 2010


Right now all the users here and I are waiting for "quotacheck" to run on 4
filesystems, totalling about 14TB. It's bad enough that quotacheck itself is
slow, worse that fs.sh runs quotacheck on each startup, but the really terrible
part is that quotacheck is run on each filesystem serially.

The best thing would be to check if the filesystem was umounted cleanly and skip
quotacheck in that instance.

If quotacheck must be run, would be a significant (and simple) enhancement to
fs.sh to run all the quotachecks in parallel by running each in the background
and using wait() to prevent fs.sh from moving to later stages before the
quotachecks are finished. 

Environment:
	CentOS 5.4 (2.6.18-164.15.1.el5)
	RHCS (cman) 2.0.115-1.el5_4.9

Thanks,

Mark




More information about the Linux-cluster mailing list