Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 12:22:07 -0700 (PDT)
From:      Todd Backman <todd@wank.necropolis.org>
To:        questions@freebsd.org
Subject:   HD partitions...
Message-ID:  <Pine.BSF.4.10.9907221208190.32433-100000@wank.necropolis.org>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907221208190.32433-100000>