<snip> A more useful approach though, is to install kernel-utils from rawhide (I've got 2.4-8.31 here) which includes smartctl which uses the S.M.A.R.T. stuff to monitor the health of your disks. Disks generally know when they're going to fail and you can monitor your disks with "smartd" to keep an eye on them. Definitiely recommend that if you got at least one disk somewhere. </snip> Now that's NEWS to me (then again.. being a newb in the OSS arena, there's a lot of things I still don't know..LOL) Cheers, .^. Mun Heng, Ow /V\ H/M Engineering /( )\ Western Digital M'sia ^^-^^ DID : 03-7870 5168 The Linux Advocate -----Original Message----- From: John Haxby [mailto:jch@xxxxxxxxxxxxxxx] Sent: Thursday, October 09, 2003 4:06 PM To: shrike-list@xxxxxxxxxx Subject: Re: How to check filesystem for curroption Ow Mun Heng wrote: ><snip> >The only thing I might want to try is to run a badblock check on the >drive(s) just in case there was some actual physical damage. ></snip> > >And how do you do that??? > > Well, unless your disk drive is broken, simply removing the power from it doesn't do any damage. (Well, you could break it eventually by just powering it up and down often enough, but the same goes for anything from a lightbulb to a supertanker.) In fact, disks have enough residual power to finish writing the current block when the power down, something that ext3 knows about and which is vitally important (I recall reading about this somewhere in a discussion of ext3 and journalling file systems). Anyway, if you're really worried, badblocks -s /dev/hda will do a read-only scan of the disk. If I run this I do it when the system is idle as it does tend to cause some performance degradation :-) Don't use badblocks -w unless you want to trash the disk though. A more useful approach though, is to install kernel-utils from rawhide (I've got 2.4-8.31 here) which includes smartctl which uses the S.M.A.R.T. stuff to monitor the health of your disks. Disks generally know when they're going to fail and you can monitor your disks with "smartd" to keep an eye on them. Definitiely recommend that if you got at least one disk somewhere. jch -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list