You are not logged in.

#1 2007-09-07 05:47:23

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Checking harddrives at shutdown?

Ok, I guess the normal error check has to be done if the hd shows to be bad at bootup.
but theese 'has been mounted for 25 times, check forced", is it possible to make arch do those checks at shutdown instead of boot?

Because when I shutdown the computer I really don't care if it takes a while longer but when i boot it I usually want the comp up quite fast.

Last edited by firedance (2007-09-07 05:47:55)

Offline

#2 2007-09-07 15:55:25

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Checking harddrives at shutdown?

Instead of rewriting Arch's initscripts, you might read up on 'man tune2fs', see the -c and -i switches.


1000

Offline

#3 2007-09-07 16:49:34

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Re: Checking harddrives at shutdown?

byte wrote:

Instead of rewriting Arch's initscripts, you might read up on 'man tune2fs', see the -c and -i switches.

Are you saying that I should disable the checks compleatly? I don't want to disable them, I want to do them at shutdown instead of bootup.

Last edited by firedance (2007-09-07 16:50:18)

Offline

#4 2007-09-07 21:37:43

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Checking harddrives at shutdown?

firedance wrote:
byte wrote:

Instead of rewriting Arch's initscripts, you might read up on 'man tune2fs', see the -c and -i switches.

Are you saying that I should disable the checks compleatly? I don't want to disable them, I want to do them at shutdown instead of bootup.

No, he's not suggesting anything, other than checking out tune2fs. You can schedule your own checks if you like. Check the wiki for ext3 filesystem tips.
The following command will schedule a fsck every month:
tune2fs -c 0 -i 1m /dev/hdXY
Make sure you man tune2fs. smile
EDIT: Maybe add a check to /etc/rc.local.shutdown ?

Last edited by Misfit138 (2007-09-08 01:59:20)

Offline

Board footer

Powered by FluxBB