From owner-freebsd-questions Thu Aug 3 16:42:26 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id QAA07607 for questions-outgoing; Thu, 3 Aug 1995 16:42:26 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id QAA07599 for ; Thu, 3 Aug 1995 16:42:19 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id JAA04238; Fri, 4 Aug 1995 09:36:50 +0930 From: Michael Smith Message-Id: <199508040006.JAA04238@genesis.atrad.adelaide.edu.au> Subject: Re: Hardware problems To: vince@penzance.econ.yale.edu (-Vince-) Date: Fri, 4 Aug 1995 09:36:50 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, FreeBSD-questions@freefall.cdrom.com In-Reply-To: from "-Vince-" at Aug 3, 95 03:41:19 pm Content-Type: text Content-Length: 1627 Sender: questions-owner@FreeBSD.org Precedence: bulk -Vince- stands accused of saying: > > > > You have a bad sector on your disk. Read the bad144 manual page for > > > > one means of dealing with it, and the badsect manual page for another. > > > > > > Really? I never knew IDE Hard drives especially the new models > > > have bad sectors on it... Hopefully the manual pages is self explanatary.. > > > Thanks anyways! > > > > All disks have bad sectors; it's just that some deal with them better than > > others. In your case, simply writing to the sector may be enough to > > convince the drive to reallocate it, certainly few drives would > > automatically reallocate on reads by default. > > I read the man pages but how do I use bad144 and badsect exactly? Well, firstly, make a backup. Then, in single-user mode (for paranoia's sake) say : # bad144 -s -v /dev/rwd0s1c (or whichever slice you're unsing). (If you read the manual page, you will know that this scans the entire disk for bad sectors) If you can't follow the badsect manual page then I feel really sorry for you, it's the nicest piece of handholding I've ever seen in a sysadmin manual page. I can't vouch for the command _working_ of course 8) > -Vince- vince@kbrown.oldcampus.yale.edu - GUS Mailing Lists Admin -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" - Terry Lambert [[