Date: Thu, 6 Apr 1995 03:12:48 +0200 (MET DST) From: Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net> To: freebsd-current@FreeBSD.org (FreeBSD Current Users' list) Cc: bde@zeta.org.au (Bruce Evans) Subject: Label/slices : how to add a disk ? Message-ID: <199504060112.DAA00365@keltia.frmug.fr.net>
next in thread | raw e-mail | index | archive | help
Hello,
I have another problem with the slicing code...
I just got a brand new disk, Conner CFP1080S, geometry reported by boot -v
is (3659/6/96). The standard translation would give me 1030/64/32.
I've been unable to even put a label on it :-(
Probe messages :
Apr 6 02:44:26 keltia /kernel: (bt0:2:0): "CONNER CFP1080S 3939" is a type 0 fixed SCSI 2
Apr 6 02:44:26 keltia /kernel: sd2(bt0:2:0): Direct-Access 1030MB (2110812 512 byte sectors)
fdisk cannot get the correct geometry for it :
fdisk /dev/sd2
******* Working on device /dev/sd2 *******
parameters extracted from in-core disklabel are:
cylinders=3658 heads=64 sectors/track=32 (2048 blks/cyl)
^^^^ ^^^^ ^^^
good wrong wrong
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3658 heads=64 sectors/track=32 (2048 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 2097152 (1024 Meg), flag 80
beg: cyl 0/ sector 0/ head 0;
end: cyl 1023/ sector 32/ head 63
fdisk /dev/rsd2c
fdisk: Can't get disk parameters on /dev/rsd2c; supplying dummy ones
******* Working on device /dev/rsd2c *******
parameters extracted from in-core disklabel are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 2097152 (1024 Meg), flag 80
beg: cyl 0/ sector 0/ head 0;
end: cyl 1023/ sector 32/ head 63
I've tried to partition it with fdisk with a fair success and get these
messages :
Apr 6 02:45:51 keltia /kernel: sd2s4: start 1, end = 2097152, size 2097152: OK
Apr 6 02:46:20 keltia /kernel: sd2s4: start 1, end = 2097152, size 2097152: OK
Apr 6 02:46:20 keltia /kernel: sd2: cannot find label (no disk label)
My /etc/disktab entry is like this :
#
# Conner CFP1080S (FreeBSD 2.1.x)
#
# a = /new
#
cfp1080s|Conner CFP1080S 1 GB SCSI-2:\
:dt=SCSI:ty=winchester:\
:nc#1030:ns#32:nt#64:se#512:rm#6300:\
:oa#0:pa#2097152:ta=4.2BSD:ba#8192:fa#1024:
disklabel says this :
disklabel -w -r sd2 cfp1080s
201 [3:09] root@keltia:~# disklabel -w -r sd2 cfp1080s
write: No such file or directory
and i got this in messages :
sd2s4: start 0, end = 2097151, size 2097152
sd2s4: C/H/S start 0/0/0 (4294967295) != start 0: invalid
Why is this slice 4 ? There is no DOS partition on the disk, only big one
for FreeBSD... I know the disk is more than 1024 cyl even with standard
translation, is this my problem ?
I don't understand (Bruce help !) :-(
--
Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net
FreeBSD keltia 2.1.0-Development #13: Sun Apr 2 21:38:04 MET DST 1995
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504060112.DAA00365>
