[SLE] Bad block checking
From: Hylton Conacher (ZR1HPC) (hylton_at_global.co.za)
Date: 09/30/04
- Previous message: Mark McKibben: "Re: [SLE] CPU Speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 08:30:52 +0200 To: SLE <suse-linux-e@suse.com>
Hi,
Being of previous Windows mindset, I am paranoid about data loss due to
corrupt file systems. To ease my mind and make sure I am doing nearly
everything I can to prevent data loss, I would like to check the linux
ext3 fs at boot for bad blocks as the fsck check does not do this.
Granted the fs system is self healing, with the journal, but the fs
cannot normally check for bad blocks, which can result in data loss and
which I assume is from the slow degradation of the HDD.
Reading through the man page I see that e2fsck would do want I want and
I am wondering which file I need to edit to have e2fsck run on a
regular(every few days) or each time the machine is rebooted.
I would assume that I would need a script, with the relevant e2fsck
commands in it, that is called by the cron daemon but I need this script
to run before the devices are mounted ie at a similar time to when the
normal fsck runs, if it has to.
Further thought says that I should just enter the name of the script I
create into the boot process so that it is run at the same time or
instead of the usual fsck command, however I do not know which file to
add it into. Should I add an entry into my /etc/init.d/boot.local? I
would assume that I cannot just put in the script name and path to the
script which could be sitting in my home directory as the /home hasn't
been mounted yet, right?
Guidance fellow SuSians?
-- The Little Helper ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ======================================================================== -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Mark McKibben: "Re: [SLE] CPU Speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|