homepage Welcome to WebmasterWorld Guest from 54.211.113.223
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
enabling quotas on a live server
dangerous?
jamie

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 424 posted 2:27 pm on Feb 15, 2003 (gmt 0)

hi,

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'

many thanks

 

seindal

10+ Year Member



 
Msg#: 424 posted 7:20 pm on Feb 15, 2003 (gmt 0)

quotecheck doesn't modify user data on the disk. The 'danger' referred to is simply that the registered disk usage might be somewhat off.

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.

René.

jamie

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 424 posted 7:31 am on Feb 16, 2003 (gmt 0)

that's a relief rené thanks.

the only users on the system are pop accounts only (apart from myself). so i'll give all those a max of 10 mb and myself a bit more.

cheers

seindal

10+ Year Member



 
Msg#: 424 posted 9:26 am on Feb 16, 2003 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved