You are not logged in.

#1 2005-04-05 10:23:35

CrayMk7
Member
From: Norway
Registered: 2004-03-29
Posts: 51

Forced disk check

Hi all.

I was trying out ubuntulinux awhile ago to see what all the fuss was about, it lasted aprox 2 hours on my drives. Anyway, I used my storage drives to test it out and used the opportunity to switch from reiserfs back to ext3.

After using those drives in arch (formatted in ubuntu), I see every 23 mounts the disks are running a forced disk check, this is all good I guess but a bit annoying.

When one disk has done its check (using 20-30 secs depending on the drive) the other still has 7 mounts to go before reaching its 23 mount and runs a forced check.

My PC is in my living room and is a bit loud so I easily turn it on and off 6-7 times during a day, and with only 23 mounts on two drives not accuring at the same time its alot of checking going on.

What I would like to have is every ext3 partition is checked maybe at every 50 mounts and set it up so it will occur at the same time.

Could anyone give me some pointers on what to do?

Thanks.

Offline

#2 2005-04-05 11:09:27

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,017

Re: Forced disk check

Check 'tune2fs' command.

Offline

#3 2005-04-05 11:24:34

CrayMk7
Member
From: Norway
Registered: 2004-03-29
Posts: 51

Re: Forced disk check

Thanks, I got it the way I wanted it  smile .

Offline

#4 2006-05-28 11:50:04

robertK
Member
Registered: 2006-05-25
Posts: 17

Re: Forced disk check

I would like to keep standard parameters, but I would like to know about to posibility to stop this "checking forced". For example, if I turn laptop on at the start of some presentation, I would like to stop this checking. I pressed Ctrl+C during this process and got error message, next reboot the check started again.

Is there another key binding to refuse temporarily disk checking?

Offline

#5 2006-05-28 12:44:26

Ibex
Member
Registered: 2006-03-02
Posts: 127

Re: Forced disk check

Maybe it's possible to edit rc.sysinit and add a 3 seconds countdown before a check is starting. In that 3 seconds you can eventualy (if you don't want your disks to be checked) hit a key. Otherwise, the check starts as usually.

I would like to write that script for you, but I don't know how to make a countdown in shellscript :?.

Offline

#6 2006-05-28 18:45:58

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Forced disk check

Ibex wrote:

Maybe it's possible to edit rc.sysinit and add a 3 seconds countdown before a check is starting. In that 3 seconds you can eventualy (if you don't want your disks to be checked) hit a key. Otherwise, the check starts as usually.

I would like to write that script for you, but I don't know how to make a countdown in shellscript :?.

I'm not sure if the countdown idea will work, but here's a countdown:

for i in `seq 1 10`;do echo -n .;sleep 1;done;echo

Change the 10 to the number of seconds you want the countdown to have.

Offline

Board footer

Powered by FluxBB