I am attempting to build a mail server and small drop-box service
on a Sun Fire V210/V240,Netra 240.
I have 4 140GB drives and want to configure sd0 & sd1 as root-on-softraid
and use sd2 & sd3 as a raid1 home partition.
sd4 will be a raid1 device with root and the OpenBsd OS
sd5 will be a raid1 device with home
I have done this in the past with amd64 machines, but this is not working
for me on this machine.
A complete log of the v240 power up and dmesg is provided below and a
transcript of my commands to make this work. I have quite a bit of
time invested in this and have had it working once, before it started
kernel panics on boot up.
We will see who needs a bug fix, me or the kernel.
I will provide a crash dump if the problem persists after getting over
these first two hurdles. I think what is presented here needs to
be sorted out first.
The short scenario is this:
1: I zero the first 10MB of all four disks with dd
2: I power cycle the box and boot form a cdrom snapshot from April 10
3: I use disklabel check that all disks have only C partitions
First problem is:
When I boot in step 3, all four disks appear in the roll call as expected
in dmesg, but when I try the command "disklabel sd3", rsd3 is not found.
Why ??? This seems like a bug to me.
After doing a MAKDEV, sd3 appears to work normally.
Continuing...
4: I label all four disks, correctly I believe. Please check me out in the
transcript below.
5: I attempt make the raid1 device sd4.
Second problem is:
I get an error message indicating some memory of past sd4 configuration
attempts.
Yet I have zeroed the first 10MB of all four disks and power cycled the box.
Is there yet some lingering vestige of a previous sd4 and if so, where? or is
this a bug related to step 3 above.
# bioctl -c 1 -l sd0d,sd1d softraid0
softraid0: trying to bring up sd4 degraded
softraid0: sd4 was not shutdown properly
sd4 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
sd4: 134006MB, 512 bytes/sector, 274446192 sectors
softraid0: roaming device -> sd0d
softraid0: trying to bring up sd4 degraded
softraid0: sd4 was not shutdown properly
softraid0: RAID 1 volume attached as sd4
Thank you for your time,
Ray
Transcript below:
# On prev boot from cdrom
# Zero out softraid info - all 4 disks
# Or so I would like to believe...
dd if=/dev/zero bs=512 count=2048*10 of=/dev/rsd0c
sleep 2
dd if=/dev/zero bs=512 count=2048*10 of=/dev/rsd1c
sleep 2
dd if=/dev/zero bs=512 count=2048*10 of=/dev/rsd2c
sleep 2
dd if=/dev/zero bs=512 count=2048*10 of=/dev/rsd3c
SC Alert: Host System has Reset
@(#)OBP 4.17.1 2005/04/11 14:25 Sun Fire V210/V240,Netra 240
Clearing TLBs
Power-On Reset
NOTICE: Not running POST because diag-level = off.
Membase: 0000.0000.0000.0000
MemSize: 0000.0000.0004.0000
Init CPU arrays Done
Init E$ tags Done
Setup TLB (small-footprint mode) Done
MMUs ON
Scrubbing Tomatillo tags... 0 1
Find dropin, Copying Done, Size 0000.0000.0000.6cb0
PC = 0000.07ff.f000.5ba8
PC = 0000.0000.0000.5c58
Find dropin, Copying Done, Size 0000.0000.0001.1890
Diagnostic console initialized
Configuring system memory & CPU(s)
Programming IMAX
GPIO config is 5
CPU 0 Speed: 1503 Mhz, ratio 9:1 , ECCR: f00c00
CPU 1 Speed: 1503 Mhz, ratio 9:1 , ECCR: f00c00
CPU 0 Memory Configuration: Valid
CPU 1 Memory Configuration: Valid
CPU 0 Bank 0 1024 MB Bank 1 <empty> Bank 2 1024 MB Bank 3 <empty>
CPU 1 Bank 0 1024 MB Bank 1 <empty> Bank 2 1024 MB Bank 3 <empty>
Master CPU 1 Membase: 1200000000 Memsize: 40000000
@(#)OBP 4.17.1 2005/04/11 14:25 Sun Fire V210/V240,Netra 240
Clearing TLBs
Loading Configuration
Membase: 0000.0012.0000.0000
MemSize: 0000.0000.4000.0000
Init CPU arrays Done
Init E$ tags Done
Setup TLB Done
MMUs ON
Scrubbing Tomatillo tags... 0 1
Block Scrubbing Done
Find dropin, Copying Done, Size 0000.0000.0000.6cb0
PC = 0000.07ff.f000.5ba8
PC = 0000.0000.0000.5c58
Find dropin, (copied), Decompressing Done, Size 0000.0000.0006.7f00
Diagnostic console initialized
System Reset: CPU Reset (SPOR)
Probing system devices
jbus at 0,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1f,0 pci
jbus at 1e,0 pci
jbus at 1c,0 pci
jbus at 1d,0 pci
Loading Support Packages: kbd-translator obp-tftp SUNW,i2c-ram-device
SUNW,fru-device SUNW,asr
Loading onboard drivers:
/pci@1e,600000: Device 7 isa
/pci@1e,600000/isa@7: flashprom rtc i2c power serial serial serial rmc-comm
/pci@1e,600000/isa@7/i2c@0,320: i2c-bridge i2c-bridge motherboard-fru-prom chassis-fru-prom power-supply-fru-prom
power-supply-fru-prom dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd rscrtc nvram idprom gpio gpio gpio
gpio gpio gpio
Probing memory
CPU 0 Bank 0 base 0 size 1024 MB
CPU 0 Bank 2 base 200000000 size 1024 MB
CPU 1 Bank 0 base 1000000000 size 1024 MB
CPU 1 Bank 2 base 1200000000 size 1024 MB
Probing I/O buses
/pci@1d,700000: Device 2 network network
/pci@1f,700000: Device 2 network network
/pci@1e,600000: Device 6 pmu i2c gpio
/pci@1e,600000/pmu@6/i2c@0,0:
/pci@1e,600000: Device a usb
/pci@1e,600000: Device d ide disk cdrom
/pci@1e,600000: Device 2 Nothing there
/pci@1e,600000: Device 3 Nothing there
/pci@1c,600000: Device 2 scsi disk tape scsi disk tape
/pci@1c,600000: Device 1 Nothing there
/pci@1d,700000: Device 1 SUNW,XVR-100
System Reset: CPU Reset (SPOR)
Probing system devices
jbus at 0,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1f,0 pci
jbus at 1e,0 pci
jbus at 1c,0 pci
jbus at 1d,0 pci
Loading Support Packages: kbd-translator obp-tftp SUNW,i2c-ram-device
SUNW,fru-device SUNW,asr
Loading onboard drivers:
/pci@1e,600000: Device 7 isa
/pci@1e,600000/isa@7: flashprom rtc i2c power serial serial serial rmc-comm
/pci@1e,600000/isa@7/i2c@0,320: i2c-bridge i2c-bridge motherboard-fru-prom chassis-fru-prom power-supply-fru-prom
power-supply-fru-prom dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd rscrtc nvram idprom gpio gpio gpio
gpio gpio gpio
Probing memory
CPU 0 Bank 0 base 0 size 1024 MB
CPU 0 Bank 2 base 200000000 size 1024 MB
CPU 1 Bank 0 base 1000000000 size 1024 MB
CPU 1 Bank 2 base 1200000000 size 1024 MB
Probing I/O buses
/pci@1d,700000: Device 2 network network
/pci@1f,700000: Device 2 network network
/pci@1e,600000: Device 6 pmu i2c gpio
/pci@1e,600000/pmu@6/i2c@0,0:
/pci@1e,600000: Device a usb
/pci@1e,600000: Device d ide disk cdrom
/pci@1e,600000: Device 2 Nothing there
/pci@1e,600000: Device 3 Nothing there
/pci@1c,600000: Device 2 scsi disk tape scsi disk tape
/pci@1c,600000: Device 1 Nothing there
/pci@1d,700000: Device 1 SUNW,XVR-100
Sun Fire V240, No Keyboard
Copyright 2005 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.17.1, 4096 MB memory installed, Serial #51687930.
Ethernet address 0:3:ba:14:b1:fa, Host ID: 8314b1fa.
Running diagnostic script obdiag/normal
Testing /pci@1e,600000/ide@d
Testing /pci@1e,600000/isa@7/rtc@0,70
Testing /pci@1c,600000/scsi@2
Testing /pci@1c,600000/scsi@2,1
Testing /pci@1e,600000/isa@7/serial@0,2e8
Testing /pci@1e,600000/isa@7/serial@0,3f8
Initializing 1MB of memory at addr 123fee0000 -
Initializing 1MB of memory at addr 123fea0000 -
Initializing 15MB of memory at addr 123f000000 -
Initializing 1008MB of memory at addr 1200000000 -
Initializing 1024MB of memory at addr 1000000000 /
Initializing 1024MB of memory at addr 200000000 /
Initializing 1024MB of memory at addr 0 /
{1} ok boot cdrom
@(#)OBP 4.17.1 2005/04/11 14:25 Sun Fire V210/V240,Netra 240
Clearing TLBs
Loading Configuration
Membase: 0000.0012.0000.0000
MemSize: 0000.0000.4000.0000
Init CPU arrays Done
Init E$ tags Done
Setup TLB Done
MMUs ON
Scrubbing Tomatillo tags... 0 1
Block Scrubbing Done
Find dropin, Copying Done, Size 0000.0000.0000.6cb0
PC = 0000.07ff.f000.5ba8
PC = 0000.0000.0000.5c58
Find dropin, (copied), Decompressing Done, Size 0000.0000.0006.7f00
Diagnostic console initialized
System Reset: CPU Reset
Probing system devices
jbus at 0,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1f,0 pci
jbus at 1e,0 pci
jbus at 1c,0 pci
jbus at 1d,0 pci
Loading Support Packages: kbd-translator obp-tftp SUNW,i2c-ram-device
SUNW,fru-device SUNW,asr
Loading onboard drivers:
/pci@1e,600000: Device 7 isa
/pci@1e,600000/isa@7: flashprom rtc i2c power serial serial serial rmc-comm
/pci@1e,600000/isa@7/i2c@0,320: i2c-bridge i2c-bridge motherboard-fru-prom chassis-fru-prom power-supply-fru-prom
power-supply-fru-prom dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd rscrtc nvram idprom gpio gpio gpio
gpio gpio gpio
Probing memory
CPU 0 Bank 0 base 0 size 1024 MB
CPU 0 Bank 2 base 200000000 size 1024 MB
CPU 1 Bank 0 base 1000000000 size 1024 MB
CPU 1 Bank 2 base 1200000000 size 1024 MB
Probing I/O buses
/pci@1d,700000: Device 2 network network
/pci@1f,700000: Device 2 network network
/pci@1e,600000: Device 6 pmu i2c gpio
/pci@1e,600000/pmu@6/i2c@0,0:
/pci@1e,600000: Device a usb
/pci@1e,600000: Device d ide disk cdrom
/pci@1e,600000: Device 2 Nothing there
/pci@1e,600000: Device 3 Nothing there
/pci@1c,600000: Device 2 scsi disk tape scsi disk tape
/pci@1c,600000: Device 1 Nothing there
/pci@1d,700000: Device 1 SUNW,XVR-100
System Reset: CPU Reset
Probing system devices
jbus at 0,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
jbus at 1f,0 pci
jbus at 1e,0 pci
jbus at 1c,0 pci
jbus at 1d,0 pci
Loading Support Packages: kbd-translator obp-tftp SUNW,i2c-ram-device
SUNW,fru-device SUNW,asr
Loading onboard drivers:
/pci@1e,600000: Device 7 isa
/pci@1e,600000/isa@7: flashprom rtc i2c power serial serial serial rmc-comm
/pci@1e,600000/isa@7/i2c@0,320: i2c-bridge i2c-bridge motherboard-fru-prom chassis-fru-prom power-supply-fru-prom
power-supply-fru-prom dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd rscrtc nvram idprom gpio gpio gpio
gpio gpio gpio
Probing memory
CPU 0 Bank 0 base 0 size 1024 MB
CPU 0 Bank 2 base 200000000 size 1024 MB
CPU 1 Bank 0 base 1000000000 size 1024 MB
CPU 1 Bank 2 base 1200000000 size 1024 MB
Probing I/O buses
/pci@1d,700000: Device 2 network network
/pci@1f,700000: Device 2 network network
/pci@1e,600000: Device 6 pmu i2c gpio
/pci@1e,600000/pmu@6/i2c@0,0:
/pci@1e,600000: Device a usb
/pci@1e,600000: Device d ide disk cdrom
/pci@1e,600000: Device 2 Nothing there
/pci@1e,600000: Device 3 Nothing there
/pci@1c,600000: Device 2 scsi disk tape scsi disk tape
/pci@1c,600000: Device 1 Nothing there
/pci@1d,700000: Device 1 SUNW,XVR-100
Sun Fire V240, No Keyboard
Copyright 2005 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.17.1, 4096 MB memory installed, Serial #51687930.
Ethernet address 0:3:ba:14:b1:fa, Host ID: 8314b1fa.
Initializing 1MB of memory at addr 123fee0000 -
Initializing 1MB of memory at addr 123fea0000 -
Initializing 15MB of memory at addr 123f000000 -
Initializing 1008MB of memory at addr 1200000000 -
Initializing 1024MB of memory at addr 1000000000 -
Initializing 1024MB of memory at addr 200000000 -
Initializing 1024MB of memory at addr 0 -
Rebooting with command: boot cdrom
Boot device: /pci@1e,600000/ide@d/cdrom@0,0:f File and args:
OpenBSD IEEE 1275 Bootblock 1.3
..>> OpenBSD BOOT 1.4
Trying bsd...
Booting /pci@1e,600000/ide@d/cdrom@0,0:f/bsd
3901160@0x1000000+6424@0x13b86e8+3253160@0x1800000+941144@0x1b1a3a8
symbols @ 0xfed6e2c0 99/start=0x1000000
console is /pci@1e,600000/isa@7/serial@0,3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2013 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 5.3-current (RAMDISK) #73: Wed Apr 10 01:40:34 MDT 2013
[email protected]:/usr/src/sys/arch/sparc64/compile/RAMDISK
real mem = 4294967296 (4096MB)
avail mem = 4218363904 (4022MB)
mainbus0 at root: Sun Fire V240
"SUNW,UltraSPARC-IIIi" at mainbus0 not configured
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1503 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64
b/l)
"memory-controller" at mainbus0 not configured
"memory-controller" at mainbus0 not configured
schizo0 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0
schizo0: dvma map c0000000-dfffffff
pci0 at schizo0
bge0 at pci0 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 A3
(0x2003): ivec 0x7c8, address 00:03:ba:14:b1:fa
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci0 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 A3
(0x2003): ivec 0x7c9, address 00:03:ba:14:b1:fb
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
schizo1 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
schizo1: dvma map c0000000-dfffffff
pci1 at schizo1
ebus0 at pci1 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"flashprom" at ebus0 addr 0-fffff, 290-290 not configured
rtc0 at ebus0 addr 70-71: m5819p
"i2c" at ebus0 addr 320-321 ivec 0x2e not configured
"power" at ebus0 addr 800-82f ivec 0x20 not configured
com0 at ebus0 addr 3f8-3ff ivec 0x2c: ns16550a, 16 byte fifo
com0: console
com1 at ebus0 addr 2e8-2ef ivec 0x2c: ns16550a, 16 byte fifo
"rmc-comm" at ebus0 addr 3e8-3ef ivec 0x2c not configured
"Acer Labs M7101 Power" rev 0x00 at pci1 dev 6 function 0 not configured
ohci0 at pci1 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0x7a7,
version 1.0, legacy support
pciide0 at pci1 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA, channel 0 configured to native-PCI, channel 1 configured
to native-PCI
pciide0: using ivec 0x798 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, DV-28E-C, 1.4B> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
schizo2 at mainbus0: "Tomatillo", version 4, ign 700, bus A 0 to 0
schizo2: dvma map c0000000-dfffffff
pci2 at schizo2
siop0 at pci2 dev 2 function 0 "Symbios Logic 53c1010-66" rev 0x01: ivec 0x729,
using 8K of on-board RAM
scsibus1 at siop0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: <FUJITSU, MAT3147N SUN146G, 0602> SCSI2 0/direct fixed
serial.FUJITSU_MAT3147N_SUN146G000519C01M6R_AAC0P5501M6R
sd0: 140009MB, 512 bytes/sector, 286739329 sectors
sd1 at scsibus1 targ 1 lun 0: <FUJITSU, MAP3147N SUN146G, 0501> SCSI2 0/direct
fixed serial.FUJITSU_MAP3147N_SUN146G00R01SHA_
sd1: 140009MB, 512 bytes/sector, 286739329 sectors
sd2 at scsibus1 targ 2 lun 0: <FUJITSU, MAT3147N SUN146G, 0602> SCSI2 0/direct fixed
serial.FUJITSU_MAT3147N_SUN146G000533C053YT_AAC0P58053YT
sd2: 140009MB, 512 bytes/sector, 286739329 sectors
sd3 at scsibus1 targ 3 lun 0: <FUJITSU, MAT3147N SUN146G, 0602> SCSI2 0/direct fixed
serial.FUJITSU_MAT3147N_SUN146G000519C01M72_AAC0P5501M72
sd3: 140009MB, 512 bytes/sector, 286739329 sectors
siop1 at pci2 dev 2 function 1 "Symbios Logic 53c1010-66" rev 0x01: ivec 0x728,
using 8K of on-board RAM
scsibus2 at siop1: 16 targets, initiator 7
schizo3 at mainbus0: "Tomatillo", version 4, ign 740, bus B 0 to 0
schizo3: dvma map c0000000-dfffffff
pci3 at schizo3
bge2 at pci3 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 A3
(0x2003): ivec 0x75c, address 00:03:ba:14:b1:fc
brgphy2 at bge2 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge3 at pci3 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 A3
(0x2003): ivec 0x75d, address 00:03:ba:14:b1:fd
brgphy3 at bge3 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
radeonfb0 at pci3 dev 1 function 0 "ATI Radeon VE" rev 0x00
radeonfb0: SUNW,375-3126, 1152x900
wsdisplay0 at radeonfb0
wsdisplay0: screen 0 added (std, sun emulation)
siop0: target 0 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
softraid0 at root
scsibus3 at softraid0: 256 targets
siop0: target 1 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
siop0: target 2 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
siop0: target 3 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
bootpath: /pci@1e,600000/ide@d,0/cdrom@0,0:f
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/sparc64 5.3 installation program.
(I)nstall, (U)pgrade or (S)hell? S
# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 286739329 0 unused
# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: MAP3147N SUN146G
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 286739329 0 unused
# disklabel sd2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 286739329 0 unused
# disklabel sd3
disklabel: /dev/rsd3: No such file or directory
# cd /dev
# sh # sh MAKEDEV # sh MAKEDEV sd3
# #idisklabel # disklabel sd3
# /dev/rsd3c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: 0000000000000000
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 286739329 0 unused
#
#
#
#
#
#
#
# cd /tmp
# cat >proto0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: 9cc1832b9fcafe07
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1058304 0 4.2BSD 2048 16384 1
b: 10501632 1058304 swap
c: 286739329 0 unused
d: 274446720 11559936 RAID
# cat >proto2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: cf2beecbae01561e
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 284683776 0 RAID
c: 286739329 0 unused
# disklabel -R sd0 proto0
# disklabel -R sd1 proto0
# disklabel -R sd2 proto2
# disklabel -R sd3 proto2
#
# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: 07cfceb4f730ca73
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1058304 0 4.2BSD 2048 16384 1
b: 10501632 1058304 swap
c: 286739329 0 unused
d: 274446720 11559936 RAID
# # disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: da6a4cdd854335cb
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1058304 0 4.2BSD 2048 16384 1
b: 10501632 1058304 swap
c: 286739329 0 unused
d: 274446720 11559936 RAID
# disklabel sd2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: 99b4e88d1ad219ae
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 284683776 0 RAID
c: 286739329 0 unused
# # disklabel sd3
# /dev/rsd3c:
type: SCSI
disk: SCSI disk
label: MAT3147N SUN146G
duid: ab51ee5751dcfe97
flags: vendor
bytes/sector: 512
sectors/track: 848
tracks/cylinder: 24
sectors/cylinder: 20352
cylinders: 14089
total sectors: 286739329
boundstart: 0
boundend: 286739329
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 284683776 0 RAID
c: 286739329 0 unused
#
#
#
#
# bioctl -c 1 -l sd0d,sd1d softraid0
softraid0: trying to bring up sd4 degraded
softraid0: sd4 was not shutdown properly
sd4 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
sd4: 134006MB, 512 bytes/sector, 274446192 sectors
softraid0: roaming device -> sd0d
softraid0: trying to bring up sd4 degraded
softraid0: sd4 was not shutdown properly
softraid0: RAID 1 volume attached as sd4
#