Date: Fri, 06 Apr 2001 09:21:57 +0200 From: Jon Molin <jon.molin@resfeber.se> To: freebsd-hackers@FreeBSD.ORG Subject: Adding a new drive Message-ID: <3ACD6E95.9AF73435@resfeber.se>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------F58B80570C635D2197114873 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Before you just stopp reading with the thought 'duh, this question is for freebsd-newbie' please read it becouse i've asked it both at newbie and questions and haven't got any sullotion. What I'm trying to do is to simply add a new ide drive with only freebsd to get some more space and i can't do it. Fdisk doesn't seems to write the info to the drive. I've used it before so i know there's no problem with the drive itself, tried both fat32 and ext2fs and that works just fine. The kernel finds the drive: ad3: 6187MB <FUJITSU MPB3064ATU> [13410/15/63] at ata1-slave UDMA33 I've tried all the suggestions on http://www.freebsd.org/handbook/disks-adding.html without any result. I've attached an output from script when i try it. /jon --------------F58B80570C635D2197114873 Content-Type: text/plain; charset=us-ascii; name="fdisk.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fdisk.log" Script started on Fri Apr 6 09:17:09 2001 You have mail. jmo# dmesg|grep ad3 ad3: 6187MB <FUJITSU MPB3064ATU> [13410/15/63] at ata1-slave UDMA33 jmo# fdisk ad3 ******* Working on device /dev/ad3 ******* parameters extracted from in-core disklabel are: cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: <UNUSED> The data for partition 2 is: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 12672387 (6187 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 97/ sector 63/ head 14 jmo# dd if=/dev/zero of=/dev/rda1 bs=1k count=1[P1[P1[P [@a [@d [@3 1+0 records in 1+0 records out 1024 bytes transferred in 0.001942 secs (527313 bytes/sec) jmo# fdisk -BI ad3 ******* Working on device /dev/ad3 ******* fdisk: invalid fdisk partition table found jmo# fdisk ad3 ******* Working on device /dev/ad3 ******* parameters extracted from in-core disklabel are: cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=13410 heads=15 sectors/track=63 (945 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: <UNUSED> The data for partition 2 is: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 12672387 (6187 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 97/ sector 63/ head 14 jmo# exit exit Script done on Fri Apr 6 09:18:45 2001 --------------F58B80570C635D2197114873-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ACD6E95.9AF73435>