From owner-freebsd-questions Mon Apr 1 15:59:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb1-a.mail.utexas.edu [128.83.126.134]) by hub.freebsd.org (Postfix) with SMTP id 7794F37B417 for ; Mon, 1 Apr 2002 15:59:30 -0800 (PST) Received: (qmail 5506 invoked by uid 0); 1 Apr 2002 23:59:27 -0000 Received: from chepe.cc.utexas.edu (HELO oscar.mail.utexas.edu) (128.83.135.25) by umbs-smtp-1 with SMTP; 1 Apr 2002 23:59:27 -0000 Message-Id: <5.1.0.14.2.20020401175044.025abf48@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 01 Apr 2002 17:59:23 -0600 To: freebsd-questions@freebsd.org From: Oscar Ricardo Silva Subject: Mismatch between drive size being reported Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a machine running FreeBSD 4.5-STABLE. I added a Promise Ultra66 card and connected a Seagate 80GB (ST380021A) drive. dmesg gives the following: ata2: at 0xd400 on atapci1 ata3: at 0xdc00 on atapci1 ad0: 12971MB [26354/16/63] at ata0-master UDMA33 ad4: 76319MB [155061/16/63] at ata2-master UDMA33 After creating a "dangerously dedicated" partition, and formatting the drive (mounts as /hold): > cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad4s1e /hold ufs rw 2 2 proc /proc procfs rw 0 0 I see the following: > df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 992239 230333 682527 25% / /dev/ad0s1f 11130442 2200211 8039796 21% /usr /dev/ad4s1e 75749460 1 69689503 0% /hold procfs 4 4 0 100% /proc or Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 1016M 236M 699M 25% / /dev/ad0s1f 11G 2.3G 8.2G 21% /usr /dev/ad4s1e 78G 1.0K 71G 0% /hold procfs 4.1K 4.1K 0B 100% /proc It's been a long day and I'm slow on the draw ... OK, maybe not just today ... but why only 71GB available? In case it helps, here's the output from fdisk: > fdisk /dev/ad4 ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=91888 heads=27 sectors/track=63 (1701 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=91888 heads=27 sectors/track=63 (1701 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 156301488 (76319 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 1023/ head 26/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Any information would be appreciated. Oscar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message