Date: Mon, 01 Apr 2002 17:59:23 -0600 From: Oscar Ricardo Silva <oscars@mail.utexas.edu> To: freebsd-questions@freebsd.org Subject: Mismatch between drive size being reported Message-ID: <5.1.0.14.2.20020401175044.025abf48@mail.utexas.edu>
next in thread | raw e-mail | index | archive | help
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 <WDC WD136AA> [26354/16/63] at ata0-master UDMA33 ad4: 76319MB <ST380021A> [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: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> Any information would be appreciated. Oscar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20020401175044.025abf48>