Having some problems setting up IDE RAID5 on Kernel 2.2.14
Kernel: 2.2.14
Patches:
ide_2_2_14_20000124_patch.gz
raid-2_2.14-B1 (Encountered Hunk problems, but I've heard this is
normal)
Tools:
raidtools-19990824-0_90_tar.gz
I have three Segate 6GB ATA66 Harddrives, two of which are hanging
off of a Promise 66 card and the third is sitting off of the second IDE
controller on the mother board.
My problem is this:
-----
> mkraid --******-force /dev/md0
DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdc1, 6244528kB, raid superblock at 6244416kB
disk 1: /dev/hde1, 6250198kB, raid superblock at 6250112kB
disk 2: /dev/hdg1, 6250198kB, raid superblock at 6250112kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
-----
syslog reports no errors and my /proc/mdstat just reports:
Personalities : [4 raid5]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
I'm not sure where to go from here. Anyone have any ideas? I'll
list some additional information below. Oh yeah, I have no problems
talking to the drives themselves. I setup a filesystem on each one
and mounted it just to see if they worked without a problem.
Here is my /etc/raidtab file:
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
persistent-superblock 1
chunk-size 128
parity-algorithm left-symmetric
device /dev/hdc1
raid-disk 0
device /dev/hde1
raid-disk 1
device /dev/hdg1
raid-disk 2
Here is some information from dmesg:
PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xff90-0xff97, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xff98-0xff9f, BIOS settings: hdc:pio, hdd:pio
PDC20262: IDE controller on PCI bus 00 dev 58
PDC20262: not 100% native mode: will probe irqs later
PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
ide2: BM-DMA at 0xff00-0xff07, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xff08-0xff0f, BIOS settings: hdg:pio, hdh:pio
hda: WDC AC33100H, ATA DISK drive
hdb: FX120T, ATAPI CDROM drive
hdc: ST36422A, ATA DISK drive
hde: ST36422A, ATA DISK drive
hdg: ST36422A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xfff0-0xfff7,0xffe6 on irq 11
ide3 at 0xffa8-0xffaf,0xffe2 on irq 11
hda: Disabling (U)DMA for WDC AC33100H
hda: DMA disabled
hda: WDC AC33100H, 3020MB w/128kB Cache, CHS=767/128/63
hdc: ST36422A, 6103MB w/256kB Cache, CHS=13228/15/63, (U)DMA
hde: ST36422A, 6103MB w/256kB Cache, CHS=13228/15/63, UDMA(33)
hdg: ST36422A, 6103MB w/256kB Cache, CHS=13228/15/63, UDMA(33)
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 >
hdc: [PTBL] [826/240/63] hdc1
hde: hde1
hdg: hdg1