login
Header Space

 
 

Re: need help with softraid

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Tuesday, November 20, 2007 - 5:18 pm

i'm wondering if i missed something that should be obvious...

On Thu, Nov 15, 2007 at 11:55:27AM -0600, Marco Peereboom wrote:
[...]
[...]

machine: UltraSPARC-III (dmesg at end)

the machine has 1 internal disk and 3 external disks. due to that great 
SMI wonkyness in scsibus ordering, the external disks end up being 
sd0, sd1 and sd2, and the internal (system) disk is sd3.

sources are from approx 11:00 or so on mon 19 nov (cvsync'd at that time).

i built the kernel by uncommenting the softraid lines in 
/sys/conf/GENERIC.

i tried using sd1 and sd2 as the RAID component physical disks:

# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: JIM'S 18 Gbyte C
flags: vendor
bytes/sector: 512
sectors/track: 236
tracks/cylinder: 20
sectors/cylinder: 4720
cylinders: 7518
total sectors: 35566480
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:         35480240                0  unused      0     0      
  d:         35475520                0    RAID                   

# disklabel sd2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: SEAGATE-ST118273
flags: vendor
bytes/sector: 512
sectors/track: 237
tracks/cylinder: 20
sectors/cylinder: 4740
cylinders: 7499
total sectors: 35566480
rpm: 7177
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:         35545260                0  unused      0     0      
  d:         35540520                0    RAID                   




when i used bioctl to create the raid:

# bioctl -c 1 -l /dev/sd1d,/dev/sd2d softraid0
bioctl: BIOCCREATERAID: Invalid argument

and on the console:
softraid0: not yet partial bringup


i noticed that when i used disklabel -E defaults on the disks the 
the first time, the defaulted sizes were larger than the physical 
disks, and at first i thought thatt migh have caused the problem.
however i re-did the disklabels as above with no change in the 
bioctl output or the console msg.


dmesg is the boot before any disklabeling or bioctl actions,
with enabled softraid.



cel

dmesg: ---------------------------------------------------------------
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.2-current (GENERIC) #1: Tue Nov 20 12:36:47 EST 2007
    wsrc@b1k.internal.cec:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1026752512 (979MB)
mainbus0 at root: SUNW,Sun-Blade-1000 (UltraSPARC-III) 
cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external (512 b/l)
"memory-controller" at mainbus0 not configured
schizo0 at mainbus0: "Schizo", version 5, ign 200, bus B 0 to 0
schizo0: dvma map c0000000-ffffffff, iotdb 1cfc000-1dfc000
pci0 at schizo0
ebus0 at pci0 dev 5 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-1fffff not configured
bbc0 at ebus0 addr 0-fffff
ppm0 at ebus0 addr e-28, 728000-728003, 30002e-30002f, 300600-300607
pcfiic0 at ebus0 addr 2e-2f, 2d-2d ipl 35
iic0 at pcfiic0
pcfiic1 at ebus0 addr 30-31 ipl 35
iic1 at pcfiic1
admtemp0 at iic1 addr 0x18: max1617
"tda8444" at iic1 addr 0x24 not configured
"scm001" at iic1 addr 0x20 not configured
"firei" at iic1 addr 0x30 not configured
"beep" at ebus0 addr 32-37 not configured
rtc0 at ebus0 addr 300070-300071 ipl 36: ds1287
"gpio" at ebus0 addr 300600-300607 not configured
pmc0 at ebus0 addr 300700-300701
"floppy" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 37 not configured
lpt0 at ebus0 addr 300278-300287, 30002e-30002f, 700000-70000f ipl 28: polled
sab0 at ebus0 addr 400000-40007f ipl 34: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
gem0 at pci0 dev 5 function 1 "Sun ERI Ether" rev 0x01: ivec 0x21d, address 00:03:ba:14:95:03
luphy0 at gem0 phy 1: LU6612 10/100 PHY, rev. 1
"Sun FireWire" rev 0x01 at pci0 dev 5 function 2 not configured
ohci0 at pci0 dev 5 function 3 "Sun USB" rev 0x01: ivec 0x21f, version 1.0, legacy support
siop0 at pci0 dev 6 function 0 "Symbios Logic 53c875" rev 0x37: ivec 0x218, using 4K of on-board RAM
scsibus0 at siop0: 16 targets
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, DVD-ROM SD-M1401, 1009> SCSI2 5/cdrom removable
siop1 at pci0 dev 6 function 1 "Symbios Logic 53c875" rev 0x37: ivec 0x219, using 4K of on-board RAM
scsibus1 at siop1: 16 targets
siop1: target 4 now using 8 bit async xfers
siop1: target 4 now using 8 bit 20.0 MHz 16 REQ/ACK offset xfers
sd0 at scsibus1 targ 4 lun 0: <IBM, DRHS36V, 0110> SCSI3 0/direct fixed
sd0: 35239MB, 11494 cyl, 20 head, 313 sec, 512 bytes/sec, 72170879 sec total
sd1 at scsibus1 targ 5 lun 0: <SEAGATE, ST118273W, 5764> SCSI2 0/direct fixed
sd1: 17366MB, 7501 cyl, 20 head, 237 sec, 512 bytes/sec, 35566480 sec total
sd2 at scsibus1 targ 6 lun 0: <SEAGATE, ST118273W, 5698> SCSI2 0/direct fixed
sd2: 17366MB, 7501 cyl, 20 head, 237 sec, 512 bytes/sec, 35566480 sec total
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1
schizo1 at mainbus0: "Schizo", version 5, ign 200, bus A 0 to 0
schizo1: dvma map c0000000-ffffffff, iotdb 2092000-2192000
pci1 at schizo1
isp0 at pci1 dev 4 function 0 "QLogic ISP2200" rev 0x05: ivec 0x204
scsibus2 at isp0: 256 targets
sd3 at scsibus2 targ 1 lun 0: <SEAGATE, ST336605FSUN36G, 0438> SCSI3 0/direct fixed
sd3: 34732MB, 24622 cyl, 27 head, 107 sec, 512 bytes/sec, 71132959 sec total
upa0 at mainbus0
creator0 at upa0: Creator3D, model SUNW,501-4788, dac 10
wsdisplay0 at creator0: console (std, sun emulation)
"ppm" at mainbus0 not configured
"pcons" at mainbus0 not configured
uhidev0 at uhub0 port 4 configuration 1 interface 0 "Sun Microsystems Type 6 Keyboard" rev 1.00/1.01 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, layout 33
wskbd0 at ukbd0: console keyboard, using wsdisplay0
softraid0 at root
siop1: target 5 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers
siop1: target 6 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers
bootpath: /pci@8,600000/SUNW,qlc@4,0/fp@0,0/disk@21000004cf83e6fe,0
root on sd3a swap on sd3b dump on sd3b
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
need help with softraid, Marco Peereboom, (Thu Nov 15, 1:55 pm)
Re: need help with softraid, Marco Peereboom, (Fri Nov 23, 10:02 am)
Re: need help with softraid, Christopher Linn, (Tue Nov 20, 5:18 pm)
Re: need help with softraid, Marco Peereboom, (Tue Nov 20, 6:19 pm)
speck-geostationary