Hello all,
i am newbie raid'er. i've a problem such that.
me:~# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdc2, 1048950kB, raid superblock at 1048832kB
disk 1: /dev/hdb2, 1052257kB, raid superblock at 1052160kB
disk 2: /dev/hda2, 1052257kB, raid superblock at 1052160kB
mkraid: aborted
and strace output is such that.
....
read(6, "/dev/hda1 / ext2 rw 0 0\nnone /p"..., 4096) = 47
read(6, "", 4096) = 0
close(6) = 0
munmap(0x400ca000, 4096) = 0
_llseek(0x5, 0, 0x400, 0xbfffe740, 0) = 0
read(5, "8\232\tf\r\21\212I\n\360T\202v\347"..., 1024) = 1024
_llseek(0x5, 0, 0x40380000, 0xbfffe740, 0) = 0
read(5, "ht. All rights reserved. By ac"..., 4096) = 4096
close(5) = 0
open("/dev/md0", O_RDONLY) = 5
ioctl(5, 0x40480923, 0x804f758) = -1 EINVAL (Invalid argument)
write(2, "mkraid: aborted\n", 16) = 16
close(4) = 0
munmap(0x40008000, 4096) = 0
_exit(1) = ?
my raidtab file is as follows
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
chunk-size 128
persistent-superblock 1
parity-algorithm right-asymmetric
device /dev/hdc2
raid-disk 0
device /dev/hdb2
raid-disk 1
device /dev/hda2
raid-disk 2
kernel is 2.2.3 and tools are raidtools-0.90.
i have feel like that i am missing something obvious :-)
Thanx in advance.
Mustafa Bodur
[EMAIL PROTECTED]