Here's my DMESG....

OpenBSD 5.0 (GENERIC.MP) #63: Wed Aug 17 10:14:30 MDT 2011
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2136576000 (2037MB)
avail mem = 2065637376 (1969MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x7f79c000 (66 entries)
bios0: vendor Dell Inc. version "1.6.4" date 03/03/2011
bios0: Dell Inc. PowerEdge R310
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET DM__ MCFG WDAT SLIC ERST HEST BERT EINJ TCPA SSDT
acpi0: wakeup devices PCI0(S5) USBA(S0) USBB(S0)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3059.45 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3058.98 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3058.99 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3058.99 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (LYD0)
acpiprt2 at acpi0: bus -1 (LYD2)
acpiprt3 at acpi0: bus 4 (HVD0)
acpiprt4 at acpi0: bus 5 (HVD2)
acpiprt5 at acpi0: bus 3 (PEX0)
acpiprt6 at acpi0: bus -1 (PEX2)
acpiprt7 at acpi0: bus -1 (PEX3)
acpiprt8 at acpi0: bus 2 (PEX4)
acpiprt9 at acpi0: bus 1 (COMP)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 3058 MHz: speeds: 3059, 2926, 2793, 2660, 2527, 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x0048 rev 0x18 ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x0049 rev 0x18: msi
pci1 at ppb0 bus 4
ohci0 at pci1 dev 0 function 0 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 16, version 1.0 ehci0 at pci1 dev 0 function 1 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci1 dev 0 function 2 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 17, version 1.0 ehci1 at pci1 dev 0 function 3 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
ohci2 at pci1 dev 0 function 4 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 18, version 1.0 ehci2 at pci1 dev 0 function 5 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 18
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
ohci3 at pci1 dev 0 function 6 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 19, version 1.0 ehci3 at pci1 dev 0 function 7 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 19
usb3 at ehci3: USB revision 2.0
uhub3 at usb3 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
usb6 at ohci2: USB revision 1.0
uhub6 at usb6 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
usb7 at ohci3: USB revision 1.0
uhub7 at usb7 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
ppb1 at pci0 dev 6 function 0 vendor "Intel", unknown product 0x004b rev 0x18: msi
pci2 at ppb1 bus 5
ohci4 at pci2 dev 0 function 0 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 16, version 1.0 ehci4 at pci2 dev 0 function 1 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 16
usb8 at ehci4: USB revision 2.0
uhub8 at usb8 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
ohci5 at pci2 dev 0 function 2 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 17, version 1.0 ehci5 at pci2 dev 0 function 3 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 17
usb9 at ehci5: USB revision 2.0
uhub9 at usb9 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
ohci6 at pci2 dev 0 function 4 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 18, version 1.0 ehci6 at pci2 dev 0 function 5 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 18
usb10 at ehci6: USB revision 2.0
uhub10 at usb10 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
ohci7 at pci2 dev 0 function 6 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 19, version 1.0 ehci7 at pci2 dev 0 function 7 vendor "NetMos", unknown product 0x9990 rev 0x00: apic 0 int 19
usb11 at ehci7: USB revision 2.0
uhub11 at usb11 "NetMos EHCI root hub" rev 2.00/1.00 addr 1
usb12 at ohci4: USB revision 1.0
uhub12 at usb12 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
usb13 at ohci5: USB revision 1.0
uhub13 at usb13 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
usb14 at ohci6: USB revision 1.0
uhub14 at usb14 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
usb15 at ohci7: USB revision 1.0
uhub15 at usb15 "NetMos OHCI root hub" rev 1.00/1.00 addr 1
ehci8 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22
usb16 at ehci8: USB revision 2.0
uhub16 at usb16 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05
pci4 at ppb3 bus 2
bnx0 at pci4 dev 0 function 0 "Broadcom BCM5716" rev 0x20: apic 0 int 16
bnx1 at pci4 dev 0 function 1 "Broadcom BCM5716" rev 0x20: apic 0 int 17
ehci9 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22
usb17 at ehci9: USB revision 2.0
uhub17 at usb17 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5
pci5 at ppb4 bus 1
vga1 at pci5 dev 3 function 0 "Matrox MGA G200eW" rev 0x0a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel 3420 LPC" rev 0x05
pciide0 at pci0 dev 31 function 2 "Intel 3400 SATA" rev 0x05: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 0 int 20 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD2003FYYS-02W0B0>
wd0: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors
wd1 at pciide0 channel 0 drive 1: <WDC WD2003FYYS-02W0B0>
wd1: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 6
wd2 at pciide0 channel 1 drive 0: <WDC WD2003FYYS-02W0B0>
wd2: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors
wd3 at pciide0 channel 1 drive 1: <WDC WD2003FYYS-02W0B0>
wd3: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
wd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 6
pciide1 at pci0 dev 31 function 5 "Intel 3400 SATA" rev 0x05: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 0 int 21 for native-PCI interrupt
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, DVD-ROM DV-28SW, R.2A> ATAPI 5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
kbc: cmd word write error
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
uhub18 at uhub16 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub19 at uhub18 port 1 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3 uhidev0 at uhub19 port 1 configuration 1 interface 0 "Alcor Micro product 0x3107" rev 1.10/1.00 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub19 port 1 configuration 1 interface 1 "Alcor Micro product 0x3107" rev 1.10/1.00 addr 4
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
umass0 at uhub19 port 3 configuration 1 interface 0 "SanDisk U3 Titanium" rev 2.00/2.00 addr 5
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SanDisk, U3 Titanium, 7.01> SCSI0 0/direct removable serial.078154080007AB113FA6
sd0: 3859MB, 512 bytes/sector, 7905279 sectors
uhub20 at uhub17 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 5, 004> SCSI2 0/direct fixed
sd1: 5723178MB, 512 bytes/sector, 11721070080 sectors
root on sd0a (058c01bcc4e32303.a) swap on sd0b dump on sd0b
bnx0: address 78:2b:cb:23:36:14
brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
bnx1: address 78:2b:cb:23:36:15
brgphy1 at bnx1 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
sd1 detached
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 5, 004> SCSI2 0/direct fixed
sd1: 5723178MB, 512 bytes/sector, 11721070080 sectors
sd1 detached
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 5, 004> SCSI2 0/direct fixed
sd1: 5723178MB, 512 bytes/sector, 11721070080 sectors
wskbd0: disconnecting from wsdisplay0
wskbd0 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhid1 detached
uhidev1 detached
sd1 detached
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 5, 004> SCSI2 0/direct fixed
sd1: 5723178MB, 512 bytes/sector, 11721070080 sectors
umass1 at uhub19 port 1 configuration 1 interface 0 "FreeCom Freecom MD Secure" rev 2.00/1.01 addr 4
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd2 at scsibus4 targ 1 lun 0: <WDC WD10, TPVT-00U4RT1, > SCSI2 0/direct fixed serial.07abfc97D61A4154135F
sd2 detached
scsibus4 detached
umass1 detached
umass1 at uhub19 port 1 configuration 1 interface 0 "FreeCom Freecom MD Secure" rev 2.00/1.01 addr 4
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd2 at scsibus4 targ 1 lun 0: <WDC WD10, TPVT-00U4RT1, > SCSI2 0/direct fixed serial.07abfc97D61A4154135F
sd2: 953869MB, 512 bytes/sector, 1953525168 sectors


On 22/12/2011 21:36, Keith wrote:
I am having some trouble getting 4 x 2TB sata disks into one big single softraid (raid 5) disk. I can create the softraid0 disk and it's 5.5TB want would like to get a single 5.5TB partition but can only make one single 1.5TB partition! Can someone tell me where I'm going wrong.

Thanks
Keith

===================

Start from fresh and  delete softraid0 disk...
#bioctl -d sd0

## Wipe the first part of the disks.
#dd if=/dev/zero of=/dev/rwd0c bs=10m count=1
#dd if=/dev/zero of=/dev/rwd1c bs=10m count=1
#dd if=/dev/zero of=/dev/rwd2c bs=10m count=1
#dd if=/dev/zero of=/dev/rwd3c bs=10m count=1

#fdisk -iy wd0
#fdisk -iy wd1
#fdisk -iy wd2
#fdisk -iy wd3

## Make a partition of type RAID
#printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd0
#printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd1
#printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd2
#printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd3

#bioctl -c 5 -l /dev/wd0a,/dev/wd1a,/dev/wd2a,/dev/wd3a softraid0

sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 5, 004> SCSI2 0/direct fixed
sd1: 5723178MB, 512 bytes/sector, 11721070080 sectors

#dd if=/dev/zero of=/dev/rsd1c bs=1m count=1

#fdisk -iy sd1

This give me....

# fdisk -e sd1
Enter 'help' for information
fdisk: 1> p
Disk: sd1       geometry: 729602/255/63 [3131135488 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
------------------------------------------------------------------------------- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 194903 76 55 [ 64: 3131121474 ] OpenBSD

Then I try and partition the disk.....

# disklabel -E sd1
Label editor (enter '?' for help at any prompt)
> a a
offset: [64]
size: [3131121474]
FS type: [4.2BSD]
> p T
OpenBSD area: 64-3131121538; size: 1.5T; free: 0.0T
#                size           offset  fstype [fsize bsize  cpg]
  a:             1.5T               64  4.2BSD   8192 65536    1
  c:             5.5T                0  unused

Reply via email to