Hi!

I've been wondering what the correct versions of raidtools are for
2.2.12 (or 2.2.12 with Alan Cox pre patch applied)?

With raidtools 0.90 (locally recompiled and RH6.0 versions), I get
[root@server SPECS]# /sbin/mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sda3, 3356928kB, raid superblock at 3356864kB
disk 1: /dev/sdb3, 3356928kB, raid superblock at 3356864kB
disk 2: /dev/sdc3, 3356928kB, raid superblock at 3356864kB
disk 3: /dev/sdd3, 3356928kB, raid superblock at 3356864kB
disk 4: /dev/sde3, 3356928kB, raid superblock at 3356864kB
mkraid: aborted

[root@server SPECS]# tail /tmp/mkraid.log 
read(4, "\10\214\3\232_xv\224\217E\277I\343"..., 4096) = 4096
close(4)                                = 0
open("/dev/md0", O_RDONLY)              = 4
ioctl(4, 0x40480923, 0x804f748)         = -1 EINVAL (Invalid argument)
write(2, "mkraid: aborted\n", 16mkraid: aborted
)       = 16
close(3)                                = 0
munmap(0x40014000, 4096)                = 0
munmap(0x40015000, 4096)                = 0
_exit(1)                                = ?

My raidtab contains:
raiddev /dev/md0
    raid-level                    5
    nr-raid-disks                 5
    parity-algorithm              left-symmetric
    chunk-size                    4
    device                        /dev/sda3
    raid-disk                     0
    device                        /dev/sdb3
    raid-disk                     1
    device                        /dev/sdc3
    raid-disk                     2
    device                        /dev/sdd3
    raid-disk                     3
    device                        /dev/sde3
    raid-disk                     4

Andreas
--
Andreas Kostyrka                     | [EMAIL PROTECTED]
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA        

Reply via email to