From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 14:41:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BF5516A4CE for ; Thu, 5 Feb 2004 14:41:12 -0800 (PST) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 822CC43D46 for ; Thu, 5 Feb 2004 14:41:08 -0800 (PST) (envelope-from phil@skyscrapes.net) Received: from Dragunov ([66.131.69.107]) by VL-MO-MR005.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HSM009Y8UY2RT@VL-MO-MR005.ip.videotron.ca> for freebsd-questions@freebsd.org; Thu, 05 Feb 2004 17:39:38 -0500 (EST) Date: Thu, 05 Feb 2004 17:39:29 -0500 From: Philippe Dorman To: freebsd-questions@freebsd.org Message-id: <0HSM009Y9UY2RT@VL-MO-MR005.ip.videotron.ca> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-index: AcPsOOpoF2yHOjrtSoWunJxIzSjxpg== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: WD160 + Drive geometry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 22:41:12 -0000 Hiya, First time using a mailing list so I hope I'm in the right place! To the problem, I recently got a 160 gig hard drive, it seems to be mounted properly, partitions and slices "seem" fine, yet I cant write more than 2k to the disk, it's just as if there wasn't any free space left. I'm using a Promise Ultra ATA/133 controller, which does support drives greater than 137 gigs so that shouldn't be the problem. I'm running 5.1-Current. Here's the output to a couple commands First from dmesg ad4: 19546MB [39714/16/63] at ata2-master UDMA100 ad5: 76319MB [155061/16/63] at ata2-slave UDMA100 ad6: 39205MB [79656/16/63] at ata3-master UDMA133 ad7: 152627MB [310101/16/63] at ata3-slave UDMA100 df (why is it at 108%?) Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s1a 253678 251702 -18318 108% / devfs 1 1 0 100% /dev /dev/ad4s1e 253678 2 233382 0% /tmp /dev/ad4s1f 18121388 2997228 13674450 18% /usr /dev/ad4s1d 253678 33436 199948 14% /var /dev/ad7s1 151368706 2 139259208 0% /hd1 /dev/ad6s1 38879438 32184422 3584662 90% /hd2 /dev/ad5s1 75685352 69630522 2 100% /hd3 Then disklabel ad7s1 (starts to get interesting here - 8 partitions? that's whack!) # /dev/ad7s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 312576642 63 unused 0 0 # "raw" part, don't edit d: 312576642 63 4.2BSD 2048 16384 28552 partition c: partition extends past end of unit disklabel: partition c doesn't start at 0! disklabel: An incorrect partition c may cause problems for standard system utilities partition d: partition extends past end of unit I'm not sure if it has to do with the drive geometry, I stuck the drive in my windows box and got the following geometry, 16709/255/63 (however it wasn't recognizing more than 137gig). When I use the fdisk utility it tells me that the geometry of 310101/16/63 (which is what you can find on the western digital website in the drive specs) is incorrect, and that it is using a more likely geometry. I try to set it back to the default, but the changes don't seem to "stick", or change the fact that I can't use the hard disk. Any help is appreciated!