Date: Tue, 6 Mar 2001 23:26:14 -0600 From: Doug Poland <doug@polands.org> To: freebsd-scsi@freebsd.org Subject: SCSI disk problem with 4.2-STABLE Message-ID: <20010306232613.A407@polands.org>
next in thread | raw e-mail | index | archive | help
I hope this is an appropriate place to ask this question,
as no one on -questions was able to help me.
I have 7 identical IBM SCSI hard-drives. My goal is to
create a vinum raid. In preparation, I've formatted
(camcontrol format), fdisk'd, and labeled each drive
separately using sysinstall. Each disk is mounted
as such...
/dev/da0s1e on /data/disk00 (ufs, local)
/dev/da1s1e on /data/disk01 (ufs, local)
/dev/da2s1e on /data/disk02 (ufs, local)
/dev/da3s1e on /data/disk03 (ufs, local)
/dev/da4s1e on /data/disk04 (ufs, local)
/dev/da5s1e on /data/disk05 (ufs, local)
(right now I've only got 6 SCSI connectors)
So far, so good. In preparation for creating a
vinum volume, I must use disk label to change
it from a 4.2BSD to vinum partition (is that the right
terminology?)
This works fine for disks da0 - da3. When
I get to da4 and da5, it gets weird. Here's
an fdisk, disklabel -r, and disklabel -e for da4:
judeah# fdisk da4
******* Working on device /dev/da4 *******
parameters extracted from in-core disklabel are:
cylinders=1440 heads=210 sectors/track=13 (2730 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1440 heads=210 sectors/track=13 (2730 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 3933040 (1920 Meg), flag 80 (active)
beg: cyl 0/ sector 1/ head 0;
end: cyl 244/ sector 13/ head 209
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
judeah# disklabel -r da4
# /dev/da4:
type: SCSI
disk: da4s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 244
sectors/unit: 3933040
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 3933040 0 unused 0 0 # (Cyl. 0 - 244*)
e: 3933040 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 244*)
judeah# disklabel -e da4
# /dev/da4:
type: SCSI
disk: IBMRAID
label: 0664M1H9337
flags:
bytes/sector: 512
sectors/track: 13
tracks/cylinder: 210
sectors/cylinder: 2730
cylinders: 1440
sectors/unit: 3933040
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 3933040 0 unused 0 0 # (Cyl. 0 - 1440*)
Notice the disk and label differ when I use disklabel -r
as opposed to disklabel -e. With disklabel -r, I see the
4.2BSD fstype. When I edit, there is no e: partition and
the number of cylinders is different for c:
So why do my first four physical disks all have a 4.2BSD
partition and any after that do not? If I'm to use vinum,
I must set each drive's fstype type to "vinum". Is there
some type of maximum number of partitions on a BSD system?
This box in question boots off an IDE HD and has an IDE
CDROM as well. I guess my great deal on SCSI hard-drives
isn't so good if I can only use four :(
--
Dazed and confused,
Doug
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010306232613.A407>
