Hello list

I have configured RAID1 on OpenBSD3.9 and I'm having difficulties to run the machine because processes start freezing when accessing the filesystem on raid.

I found several lines with:
Jun  6 19:08:56 evil /bsd: free inode /var/61840 had -20 blocks

printed to console or in logs.

Eventually the OS crashes and when starting it stops during filesystem checks with fatal error. When I start fsck manually I get multiple errors: PARTIALLY ALLOCATED INODE I=........

Did I misconfigure something?
Thank you for help

More info follows

Peter Huncar

/etc/raid0.conf
START array
 # numRow numCol numSpare
 1 2 0

START disks
 /dev/wd1a
 /dev/wd2a

START layout
 # sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level_1
 128 1 1 1

START queue
 fifo 100

*************

/etc/fstab

/dev/wd0a   /               ffs rw                              1 1
/dev/wd0d   /tmp            ffs rw,nodev,nosuid,noexec,softdep  1 2
/dev/wd0e   /usr            ffs rw,nodev,softdep                1 2
/dev/raid0a /var            ffs rw                              1 2
/dev/raid0d /var/local/mail ffs rw,nodev,noexec,userquota       1 2
/dev/raid0e /var/www        ffs rw,softdep,userquota            1 2
/dev/raid0f /home           ffs rw,softdep,userquota            1 2

**************

evil# disklabel wd1
# Inside MBR partition 3: type A6 start 63 size 156296322
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: ST380011A
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 156301488
rpm: 3600
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]
a: 146801025 63 RAID # Cyl 0*-145635 c: 156301488 0 unused 0 0 # Cyl 0 -155060 d: 9495297 146801088 4.2BSD 2048 16384 328 # Cyl 145636 -155055*

*************
evil# disklabel wd2
# Inside MBR partition 3: type A6 start 63 size 160071597
# /dev/rwd2c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 6L080P0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 160086528
rpm: 3600
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]
a: 146801025 63 RAID # Cyl 0*-145635 c: 160086528 0 unused 0 0 # Cyl 0 -158815 d: 13270572 146801088 4.2BSD 2048 16384 328 # Cyl 145636 -158801*

**********

dmesg:OpenBSD 3.9 (EVIL) #0: Wed May 24 14:37:20 CEST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/EVIL
cpu0: AMD Athlon(tm) processor ("AuthenticAMD" 686-class, 256KB L2 cache) 797 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 536387584 (523816K)
avail mem = 485433344 (474056K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(47) BIOS, date 03/07/03, BIOS32 rev. 0 @ 0xfb1f0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb670
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdc00/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) processor ("AuthenticAMD" 686-class, 256KB L2 cache) 797 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to
 compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 90576D4>
wd0: 16-sector PIO, LBA, 5495MB, 11255328 sectors
wd1 at pciide0 channel 0 drive 1: <ST380011A>
wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd2 at pciide0 channel 1 drive 0: <Maxtor 6L080P0>
wd2: 16-sector PIO, LBA, 78167MB, 160086528 sectors
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
dc0 at pci0 dev 9 function 0 "DEC 21142/3" rev 0x41: irq 11, address 00:40:c7:97:55:af
amphy0 at dc0 phy 1: Am79C873 10/100 PHY, rev. 2
dc1 at pci0 dev 11 function 0 "DEC 21142/3" rev 0x41: irq 10, address 00:48:54:13:1c:ed
sqphy0 at dc1 phy 17: Seeq 84220 10/100 PHY, rev. 0
vga0 at pci0 dev 14 function 0 "S3 86C968-0" rev 0x00
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
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
spkr0 at pcppi0
midi0 at pcppi0: <PC speaker>
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f165 netmask fd65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
dkcsum: wd2 matches BIOS drive 0x82
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
raid0: Component  /dev/wd1a being configured at row: 0 col: 0
         Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 20050524 Mod Counter: 400
         Clean: Yes Status: 0
raid0: Component  /dev/wd2a being configured at row: 0 col: 1
         Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 20050524 Mod Counter: 400
         Clean: Yes Status: 0
raid0 (root)

Reply via email to