From owner-freebsd-questions Mon Nov 29 8:36:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (Postfix) with ESMTP id ABCAD152FF for ; Mon, 29 Nov 1999 08:36:16 -0800 (PST) (envelope-from schuerge@wjpserver.CS.Uni-SB.DE) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.9.3/1999070600) with ESMTP id RAA19616; Mon, 29 Nov 1999 17:33:28 +0100 (CET) Received: from wjpserver.cs.uni-sb.de (wjpserver.cs.uni-sb.de [134.96.247.42]) by cs.uni-sb.de (8.9.3/1999031900) with ESMTP id RAA12272; Mon, 29 Nov 1999 17:33:27 +0100 (CET) Received: (from schuerge@localhost) by wjpserver.cs.uni-sb.de (8.9.3/8.9.3/wjp-SVR4/1999052600) id RAA25000; Mon, 29 Nov 1999 17:33:27 +0100 (MET) From: Thomas Schuerger Message-Id: <199911291633.RAA25000@wjpserver.cs.uni-sb.de> Subject: Re: Harddisk problems In-Reply-To: <19991127195034.22379@mojave.sitaranetworks.com> from Greg Lehey at "Nov 27, 1999 07:50:34 pm" To: Greg Lehey Date: Mon, 29 Nov 1999 17:33:27 +0100 (MET) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL57 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'd guess that these are two bad sectors, not four, but I don't > understand the offsets: in the first case, it's 47, in the second case > 57. Could it be you have copied this incorrectly? Are these always > the same sectors? If so, you can be pretty sure that there really is > a problem with them. You should also check the output in > /var/log/messages. I used another UDMA cable to connect the drives to one IDE controller each, made world (and therefore used the updated ATA driver) and everything works fine now. I don't have the slightest idea what may have been the problem. > > I have tried formatting the whole partition with Windows and that > > worked fine. > > Windows can't format hard disks. :-) > > Then I used newfs to reinstall UFS on it (which went much too fast > > for actually formatting the disk), something like 30 seconds with > > FreeBSD compared to 20 minutes with Windows (note that using Windows > > I formatted the whole partition, whereas using FreeBSD I just > > newfs'ed the 19 GB slice). > > Correct, newfs is not a format program. I don't know what Windows was > doing; possibly it was doing a verify pass, but then it should have > found the bad sectors. It should have. But as it may really have been a FreeBSD driver problem, it may be that the drive worked correctly using Windows. > > Is there a better way to actually check the slice for errors or do a > > "format" that does a verify on the formatted data? > > Possibly your BIOS will have a format utility. Otherwise you need to > find one from the vendor; I don't know if IBM supplies one. But if > the disk has bad sectors which aren't automatically remapped, you > should return it under warranty. > > > I'd like to know whether the disk really has some hard errors on it > > or if perhaps the filesystem or ATA driver cannot handle such big > > partition. > > ufs doesn't have any problems with much larger file systems; we've > seen file systems on Vinum with over 100 MB. I don't think that this > is a problem with the driver, but again, the log messages and the > offsets will help decide whether it's a hardware problem or not. Well the problems are gone now... Ciao, Thomas Schürger. http://www.menden.augustin.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message