Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 23:30:22 -0400 (EDT)
From:      David Miller <dmiller@sparks.net>
To:        freebsd-scsi@FreeBSD.ORG
Subject:   More RAID/disklabel woes
Message-ID:  <Pine.BSF.4.21.0205182218080.33438-100000@search.sparks.net>

next in thread | raw e-mail | index | archive | help
I started over with the system, formatting all 12 drives.

On boot everything looks OK:

avalanche:dmiller# dmesg |egrep "asr|da"
[snip stuff from before booting]
asr0: <Adaptec Caching SCSI RAID> mem 0xd8000000-0xd9ffffff irq 10 at
device 14
1 on pci0
asr0: major=154
asr0: ADAPTEC 3200S FW Rev. 370F, 2 channel, 256 CCBs, Protocol I2O
pass2 at asr0 bus 0 target 15 lun 0
pass4 at asr0 bus 1 target 15 lun 0
da0 at asr0 bus 0 target 0 lun 0
da0: <ADAPTEC RAID-10 370F> Fixed Direct Access SCSI-2 device 
da0: Tagged Queueing Enabled
da0: 86830MB (177827840 512 byte sectors: 255H 63S/T 11069C)
da1 at asr0 bus 0 target 5 lun 0
da1: <SEAGATE ST318451LC 0003> Fixed Direct Access SCSI-3 device 
da1: Tagged Queueing Enabled
da1: 17366MB (35566461 512 byte sectors: 255H 63S/T 2213C)
da2 at asr0 bus 1 target 13 lun 0
da2: <SEAGATE ST318451LC 0003> Fixed Direct Access SCSI-3 device 
da2: Tagged Queueing Enabled
da2: 17366MB (35566461 512 byte sectors: 255H 63S/T 2213C)

The fdisk looks OK with both RAID and JBOD drive:

avalanche:dmiller# fdisk da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=11112 heads=254 sectors/track=63 (16002 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=11112 heads=254 sectors/track=63 (16002 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 0,(unused)
    start 0, size 177823422 (86827 Meg), flag 0
        beg: cyl 0/ head 0/ sector 1;
        end: cyl 828/ head 253/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


avalanche:dmiller# fdisk da1
******* Working on device /dev/da1 *******
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)

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 63, size 35551782 (17359 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


... but it just doesn't want to disklabel:

avalanche:dmiller# disklabel -w -r da0 auto
disklabel: /dev/da0c: Undefined error: 0
avalanche:dmiller# disklabel -w -r da1 auto
disklabel: No space left on device



The details:

Adaptec 3200S raid controller, flashed with firmware from adaptecs site
yesterday.

Dell 2100S 12 drive scsi enclosure with split backplane.

FreeBSD 4.5R.

I've tried setting termination on and ultra-3 rates on the 3200S.  The
only difference was that at the ULTRA-3 setting the disklabel on da0 also
gave a "no space left on device" message.

Other possibly useful info:

avalanche:dmiller# camcontrol devlist
<ADAPTEC RAID-10 370F>             at scbus0 target 0 lun 0 (pass0,da0)
<SEAGATE ST318451LC 0003>          at scbus0 target 5 lun 0 (pass1,da1)
<Dell 12 BAY U2W CU 0209>          at scbus0 target 15 lun 0 (pass2)
<SEAGATE ST318451LC 0003>          at scbus1 target 13 lun 0 (pass3,da2)
<Dell 12 BAY U2W CU 0209>          at scbus1 target 15 lun 0 (pass4)
avalanche:dmiller# camcontrol inquiry 0:0:0
pass0: <ADAPTEC RAID-10 370F> Fixed Direct Access SCSI-2 device 
pass0: Serial Number +
camcontrol: error getting transfer settings
avalanche:dmiller# camcontrol inquiry 0:5:0
pass1: <SEAGATE ST318451LC 0003> Fixed Direct Access SCSI-3 device 
pass1: Serial Number 3CC0S1MA000072071MCY
camcontrol: error getting transfer settings


Ideas welcome:)

--- David


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?Pine.BSF.4.21.0205182218080.33438-100000>