Path: utzoo!attcan!uunet!mcsun!unido!tub!tmpmbx!unlisys!image!mist!woju From: woju@mist.UUCP (Wolfgang Jung) Newsgroups: comp.os.minix Subject: Re: What does diskcheck do? Message-ID: Date: 5 Oct 90 23:35:00 GMT References: <1990Oct3.085332@mobius.Viewlogic.COM> Reply-To: woju@mist.UUCP Distribution: comp Organization: The Mystic System in Berlin 26 Lines: 39 X-Version: Martin's Mailer Version Sep 07 1990 23:50:52 In <1990Oct3.085332@mobius.Viewlogic.COM>, Gregory Larkin writes: }I found a program called disk check and ran it on /dev/hd6. }This partition is 11200 blocks long. A long time later, it }finished and it reported about 36 read errors like above. } }I am assuming that these errors were due to bad sectors. Does }diskcheck mark these sectors so that the controller doesn't try }to write them anymore? If not, is there any way to do this? NO, the command DISKCHECK just checks your disk and reports all bad sektors found, on minix you have run the command badblocks to mark those blocks as used und so the FS won't allocate them for FILES anymore... If your controler manages badtrak reallocation (OMTI 552X does it) you mark those tracks(you have to calculate them out off your PARTitiondata) to be be reallocated to the end off your drive.. them the Controler gets the block virtuel from the original tracks, but physically loads them from the alternative rack assigned to that Track. Your Partioning Software should manage this alternative Track assignment if supported by YOUR HD Controler... Otherwise you have to collect them with the badblocks command(my Informtion is, that badblocks only collects up to 7 blocks) in your case you have to run it 6 times to collect all 36 bad blocks... (the inforation from badblocks comes from the V1.1 ST Handbook of MINIX, but i think it has'nt jchanged much... otherwise correct me :-) Bye -- Bye,... Don't trust your eyes. It's just an imagination of your brain ! woju@mist.UUCP(only subnet), woju@image.in-berlin.de woju@neon.in-berlin.de (c) by Wolfgang Jung, Berlin (date look at header !!)