From owner-freebsd-questions Thu Jul 22 12:23:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wank.necropolis.org (wank.necropolis.org [207.246.128.93]) by hub.freebsd.org (Postfix) with ESMTP id 1ACCD14D82 for ; Thu, 22 Jul 1999 12:23:21 -0700 (PDT) (envelope-from todd@wank.necropolis.org) Received: from localhost (todd@localhost) by wank.necropolis.org (8.9.3/8.9.3) with ESMTP id MAA33754 for ; Thu, 22 Jul 1999 12:22:08 -0700 (PDT) (envelope-from todd@wank.necropolis.org) Date: Thu, 22 Jul 1999 12:22:07 -0700 (PDT) From: Todd Backman To: questions@freebsd.org Subject: HD partitions... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have added a new cheetah 18gb hd to one of my machines. /sysinstall tells me that no hard drives are installed (I will deal with that problems later...) which is not correct as I allready have a 4.5 cheetah running the OS on for 4months. The dmesg shows both harddrives as da0 and da1 but in df I show the following: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd0s1a 127023 24145 92717 21% / /dev/sd0s1e 127023 1036 115826 1% /tmp /dev/sd0s1h 3608636 953871 2366075 29% /usr /dev/sd0s1f 127023 2566 114296 2% /var /dev/sd0s1g 63503 1 58422 0% /var/mail procfs 4 4 0 100% /proc notice that the da0 HD is showing up as sd0????? The kernel is compiled for da0. (The above was just my thinking aloud...) ;^) Question: How do I make the 18gb have only 1 FreeBSD partiton? I followed the examples in the handbook but can't seem to get rid of the 4 partitons... I have used: camcontrol cmd -n da -u 1 -v -t 7200 -c "4 0 0 0 0 0" and this seems to only format slice 4. (I do not want to assume changing "4 0 0 0 0 0" to "X 0 0 0 0 0" will format that slice. spiner# fdisk da1 ******* Working on device /dev/rda1 ******* parameters extracted from in-core disklabel are: cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2213 heads=255 sectors/track=63 (16065 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: sysid 108,(unknown) start 1819044972, size 1819044972 (888205 Meg), flag 6c beg: cyl 364/ sector 44/ head 108; end: cyl 364/ sector 44/ head 108 The data for partition 2 is: sysid 108,(unknown) start 1819044972, size 1819044972 (888205 Meg), flag 6c beg: cyl 364/ sector 44/ head 108; end: cyl 364/ sector 44/ head 108 The data for partition 3 is: sysid 108,(unknown) start 1819044972, size 1819044972 (888205 Meg), flag 6c beg: cyl 364/ sector 44/ head 108; end: cyl 364/ sector 44/ head 108 The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 1, size 35551844 (17359 Meg), flag 80 (active) beg: cyl 0/ sector 2/ head 0; end: cyl 164/ sector 63/ head 254 Thanks in advance! - Todd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message