Hi!
I'm stupid or what, but how can you made raid 5 from 2 drives and raid 1 from 1 
drive? :)

Didier Wiroth wrote:
Hello,

I'm using current with a LSI megaraid sata300 8x (with barrery module).
I have 3 hd which are configured like this (sd0+sd2 are raid5 and sd1 is raid0):
Volume  Status               Size Device
 ami0 0 Online       104857600000 sd0     RAID5
      0 Online       400016015360 0:0.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF24SNE'
      1 Online       400016015360 0:1.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF20DX1'
      2 Online       400016015360 0:2.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF25DRX'
 ami0 1 Online        52426702848 sd1     RAID0
      0 Online       400016015360 0:0.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF24SNE'
      1 Online       400016015360 0:1.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF20DX1'
      2 Online       400016015360 0:2.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF25DRX'
 ami0 2 Online       660189741056 sd2     RAID5
      0 Online       400016015360 0:0.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF24SNE'
      1 Online       400016015360 0:1.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF20DX1'
      2 Online       400016015360 0:2.0   noencl <        ST3400833NS     3.AE>
                                                 '            5NF25DRX'
$ more /etc/fstab
/dev/sd0a / ffs rw,softdep 1 1
/dev/sd2a /altroot ffs xx 0 0
/dev/sd1a /tmp ffs rw,nodev,nosuid,softdep 1 2
/dev/sd0e /usr ffs rw,nodev,softdep 1 2
/dev/sd1d /usr/obj ffs rw,nodev,nosuid,softdep 1 2
/dev/sd0d /var ffs rw,nodev,nosuid,softdep 1 2
/dev/sd1e /home/sources ffs rw,nodev 1 2
/dev/sd2d /home ffs rw,softdep 1 2

When I'm booting I always get the following message:
mount_ffs: /dev/sd1e on /home/sources: Device busy
After the login, the /home/sources is available and does not show any problem.
But, whatever I try I'm not able to umount /home/sources:
fstat return nothing
$ sudo umount /home/sources
umount: /home/sources: Invalid argument
$ sudo mount /home/sources
mount_ffs: /dev/sd1e on /home/sources: Device busy

Thank you for helping!

Here my dmesg
OpenBSD 4.0-current (GENERIC.MP_acpi) #4: Wed Dec 27 20:24:22 CET 2006
    [EMAIL PROTECTED]:/home/sources/src/sys/arch/amd64/compile/GENERIC.MP_acpi
real mem = 3220303872 (3144828K)
avail mem = 2757443584 (2692816K)
using 22937 buffers containing 322236416 bytes (314684K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0690 (74 entries)
bios0: stem manufacturer P5WDG2 WS PRO
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP APIC OEMB HPET MCFG
acpitimer at acpi0 not configured
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
acpimadt0 at acpi0 table APIC addr 0xfee00000: PC-AT compat
LAPIC: acpi_proc_id 1, apic_id 0, flags 0x1
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2671.62 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,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 267MHz
LAPIC: acpi_proc_id 2, apic_id 1, flags 0x1
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2671.24 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,LONG
cpu1: 4MB 64b/line 16-way L2 cache
LAPIC: acpi_proc_id 3, apic_id 82, flags 0x0
LAPIC: acpi_proc_id 4, apic_id 83, flags 0x0
IOAPIC: acpi_ioapic_id 2, address 0xfec00000, global_int_base 0x0
ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
IOAPIC: acpi_ioapic_id 3, address 0xfec10000, global_int_base 0x18
ioapic1 at mainbus0 apid 3 pa 0xfec10000, version 20, 24 pins
OVERRIDE: bus 0, source 0, global_int 2, flags 0
OVERRIDE: bus 0, source 9, global_int 9, flags d
OVERRIDE: bus 0, source 0, global_int 2, flags 0
OVERRIDE: bus 0, source 9, global_int 9, flags d
acpi device at acpi0 from table OEMB not configured
acpi device at acpi0 from table HPET not configured
acpi device at acpi0 from table MCFG not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 7 (P0P1)
acpiprt2 at acpi0: bus 0 (P0P2)
acpiprt3 at acpi0: bus 1 (P0P3)
acpiprt4 at acpi0: bus 3 (P0P8)
acpiprt5 at acpi0: bus 2 (P0P9)
acpiprt6 at acpi0: bus 4 (P0P4)
acpiprt7 at acpi0: bus 5 (PXHA)
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x277c rev 0xc0
ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x277d rev 0xc0
pci1 at ppb0 bus 7
vga1 at pci1 dev 0 function 0 "ATI Radeon X300" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"ATI Radeon X300 Sec" rev 0x00 at pci1 dev 0 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: apic 2 int 
19 (irq 5)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x11d4 (rev. 2.0), HDA version 1.0
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01
pci2 at ppb1 bus 4
ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 5
ppb3 at pci3 dev 2 function 0 "Intel IOP331 PCIX-PCIX" rev 0x0a
pci4 at ppb3 bus 6
ami0 at pci4 dev 14 function 0 "Symbios Logic MegaRAID SATA 4x/8x" rev 0x0a: 
apic 3 int 4 (irq 11)
ami0: LSI 3008, 32b, FW 814D, BIOS vH431, 128MB RAM
ami0: 1 channels, 0 FC loops, 3 logical drives
scsibus0 at ami0: 40 targets
sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed
sd0: 100000MB, 100000 cyl, 64 head, 32 sec, 512 bytes/sec, 204800000 sec total
sd1 at scsibus0 targ 1 lun 0: <AMI, Host drive #01, > SCSI2 0/direct fixed
sd1: 49998MB, 49998 cyl, 64 head, 32 sec, 512 bytes/sec, 102395904 sec total
sd2 at scsibus0 targ 2 lun 0: <AMI, Host drive #02, > SCSI2 0/direct fixed
sd2: 629606MB, 629606 cyl, 64 head, 32 sec, 512 bytes/sec, 1289433088 sec total
scsibus1 at ami0: 16 targets
ppb4 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01
pci5 at ppb4 bus 3
mskc0 at pci5 dev 0 function 0 "Marvell Yukon 88E8052" rev 0x21, Marvell 
Yukon-2 EC rev. A3 (0x2): apic 2 int 16 (irq 11)
msk0 at mskc0 port A, address 00:18:f3:29:a2:53
eephy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
ppb5 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01
pci6 at ppb5 bus 2
vendor "Marvell", unknown product 0x6141 (class mass storage subclass SATA, rev 
0x01) at pci6 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 20 
(irq 3)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 17 
(irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 
(irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 19 
(irq 5)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 20 
(irq 3)
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb6 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xe1
pci7 at ppb6 bus 1
"TI TSB43AB22 FireWire" rev 0x00 at pci7 dev 3 function 0 not configured
skc0 at pci7 dev 5 function 0 "Marvell Yukon 88E8001/8003/8010" rev 0x14, 
Marvell Yukon Lite (0x9): apic 2 int 21 (irq 5)
sk0 at skc0 port A, address 00:18:f3:29:a2:54
eephy1 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <_NEC, DVD_RW ND-4571A, 1-01> SCSI0 5/cdrom 
removable
atapiscsi1 at pciide0 channel 0 drive 1
scsibus3 at atapiscsi1: 2 targets
cd1 at scsibus3 targ 0 lun 0: <TSSTcorp, DVD-ROM SH-D162C, TS04> SCSI0 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 23 (irq 11) for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2 int 23 
(irq 0)
iic0 at ichiic0
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: unknown Winbond chip (ID 0xc1)
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Microsoft Natural\M-. Ergonomic Keyboard 4000, rev 2.00/1.73, addr 2, 
iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1
uhidev1: Microsoft Natural\M-. Ergonomic Keyboard 4000, rev 2.00/1.73, addr 2, 
iclass 3/0
uhidev1: 1 report ids
uhid0 at uhidev1 reportid 1: input=7, output=0, feature=0
uhidev2 at uhub1 port 2 configuration 1 interface 0
uhidev2: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, 
addr 3, iclass 3/1
ums0 at uhidev2: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: sd0 matches BIOS drive 0x80
dkcsum: sd1 matches BIOS drive 0x81
dkcsum: sd2 matches BIOS drive 0x82
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Regards
Didier


!DSPAM:4592d84d259451342116753!

Reply via email to