LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2021, 12:06 AM   #1
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
quotacheck at startup is very long


Hi,

I have many users using quota disk space. When starting slackware, the "quotacheck" command is executed but is very long (about 10 minutes). Do you think I can use it in the background (with &) or must it be executed before every daemons start (nginx, php, proftpd, mariadb…)?

Have a nice day!
 
Old 07-15-2021, 04:55 AM   #2
mumahendras3
Member
 
Registered: Feb 2018
Location: Indonesia
Distribution: Slackware-current + s6 + s6-rc + s6-linux-init (github.com/mumahendras3/sl6ckware)
Posts: 125

Rep: Reputation: Disabled
From my limited knowledge and testing (by trying to port Slackware rc scripts to s6-rc style service definition), yes you have to finish the quotacheck and run quotaon before doing anything to the storage drives to have an accurate readings for each user's quota. Although you can probably skip the quotacheck step if you are sure that nothing gets written to the storage drives when quota is turned off (i.e. after running quotaoff).

Last edited by mumahendras3; 07-15-2021 at 08:35 AM. Reason: Additional information and emphasis
 
Old 07-15-2021, 07:58 AM   #3
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Thanks, good to know!

Pat, cron is starting before quotacheck. In my case, I have some daemons (third party) restarting by cron and writing data on quota partitions, others cron tasks make backup on the same quota partitions. Maybe quotacheck could be done earlier, before atd and crond are running?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Aboout "with very long lines",how long is very long? yun1st Linux - Newbie 4 07-20-2012 03:38 PM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
A very very very very big problem!! Elbryan Linux - Software 2 09-23-2005 05:56 AM
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 - Distributions > Slackware

All times are GMT -5. The time now is 09:13 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