[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fsck on a remote computer



Hi,

On the same note, /fastboot makes sure no fsck is done. The conditional if
statement skips everything if that is there.

This is useful if you need the box up as much as possible, and reboots
only slow things down as little as possible because even if the box did
not reboot gracefully (power outage or something) there will be no lengthy
fsck (of course, this also means there could be filesystem corruption, but
you can't have it both ways).

If you want to make sure fsck is performed each time (or not performed
each time, whichever you choose) then you may want to comment out or
delete the second last line in /etc/init.d/checkfs.sh. That line is:
"rm -f /fastboot /forcefsck"
because it will delete these files if they exist after the checks have
been performed.

Sincerely,
Jason

----- Original Message -----
From: "Noel Koethe" <noel@koethe.net>
To: <seezov@libero.it>
Cc: <debian-isp@lists.debian.org>
Sent: Saturday, March 16, 2002 7:28 AM
Subject: Re: fsck on a remote computer


> On Fre, 15 Mär 2002, seezov@libero.it wrote:
>
> > hi, I have to make a fsck on a remote server (1 years uptime). How ???
>
> You can force a fsck with:
>
> # touch /forcefsck
>
> and then reboot the machine.
> Look at /etc/init.d/checkfs.sh for more infos.
>
> --
> Noèl Köthe
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
> http://www.zentek-international.com
>



Reply to: