Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: bakedjake
setting up one's own server is very exciting - every day something new crops up ;)
this time it's disk quotas:
our redhat server is going strong with 12 vitual hosts on it. i would now like to set up user quotas, however i think i should have done this at the start? man quotacheck:
...It is also unwise to run quotacheck on a live filesystem as actual usage may change during the scan. To prevent this, quotacheck tries to remount the filesystem read-only before starting the scan. After the scan is done it remounts the filesystem read-write...
if i force quotacheck to run, will it do funny things to the disk preventing our websites from being seen - during the time quotacheck takes to complete?
or can i simply use the -m flag to force it to run? is this 'dangerous'
I can't see how a quotecheck on a live system can cause any serious problems for the system.
It might cause unwanted effects for the users, though. If a user has large temp files during the scan, which are removed before the scan is done, that user might end up with a registered usage over the real usage, and hence have a de-facto quota below the wanted quota.
It is also unwise to run quotacheck on a live filesystem as actual usage may change during the scan
The key parts of this are "unwise" and "usage may change".
If you can suppress the remount, you can run quotacheck on your live system with little danger.