LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-05-2004, 05:19 AM   #1
stand
LQ Newbie
 
Registered: Aug 2002
Posts: 23

Rep: Reputation: 15
run quotacheck on the live file system


Hi all,

The status of the quota is wrongly reported. The user has removed all of his file but repquota still reports the user data exceeds quota. Is it safe to run quotacheck -avumf? I need -m and -f flag because the quota is on and the file system is read/write. I can't remount the file system as read only because it is a very busy server. quota soft ver is quota-3.03-110 and Linux is SuSe 8.0.
Thanks,

Stand
 
Old 01-05-2004, 08:06 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You should be able to run that while the partition/drive is mounted. I actually have a command like that running as a cron weekly job to check quota's.
 
Old 01-06-2004, 05:38 AM   #3
stand
LQ Newbie
 
Registered: Aug 2002
Posts: 23

Original Poster
Rep: Reputation: 15
It's not recommended to do that in the man page of quotacheck and I'm afraid of worse problem. Can you tell me the reason why you decide to do that?
Thanks,

Stand
 
Old 01-06-2004, 08:11 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Because I read in the howto and man pages I think it said it recommended adding it as a cron job. I only suppose you wouldn't want to run it daily on a very busy server. I only having it on a server that only myself and one other person login to, it runs at like 2am on Sunday nights to check. I doubt that much data is changing at that time. I guess I figure I could write a script instead to umount the drive and remount as rw, turn quota off and then run it, turning everything back to normal after its done.. hmmm
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
figuring out 'file system' and 'swap file system' types TrulyTessa Linux - Newbie 3 09-26-2005 06:46 PM
booting file system errors => cannot run fsck snake_eye Slackware 7 08-26-2004 01:18 PM
Knoppix live wont run ? billgatesconman Linux - Newbie 10 06-03-2004 06:17 PM
quotacheck command not found richlawson Mandriva 1 11-30-2003 01:48 PM
Quotacheck? mikeshn Linux - General 1 06-07-2003 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration