I'm having problem after I enable (mkraid) my raid partition.  It's a
simple 2 SCSI RAID and the partition that I'm dealing with is identical
and unused on both disks.  My raidtab entry is this:

raiddev /dev/md0
    raid-level              1
    nr-raid-disks           2
    persistent-superblock   1
    chunk-size              8

    device                  /dev/sda6
    raid-disk               0
    device                  /dev/sdb6
    raid-disk               1

I'm running 2.2.13 with the raid-2.2.11 patch compiled into the kernel
(not a module) and using raidtools 0.90.

Here is the path I'm following to get the problems.


------- logged in as root -----------
>>> mkraid -c /etc/my.raidtab -f /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/sda6, 2048256kB, raid superblock at 2048192kB
disk 1: /dev/sdb6, 2048256kB, raid superblock at 2048192kB
>>> mke2fs /dev/md0
mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
256512 inodes, 512048 blocks
25602 blocks (5.00%) reserved for the super user
First data block=0
16 block groups
32768 blocks per group, 32768 fragments per group
16032 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

>>> mount /dev/md0 /raiddisk
>>> cp /proc/kcore /raiddisk/bigfile
>>> ls
Segmentation fault (core dumped)
--------------------------------

After repeating the process several times I have found that it appears
as though the system has become unstable as soon as I use mkraid.  1 out
of 2 times after I run mkraid I start getting errors like "error in
loading shared libraries: libe2p.so.2: invalid ELF header" when I try
running the mke2fs.  Is there something that I have configured
incorrectly (in raidtab?) or is there a step that I need to do that I'm
missing somewhere?  Thanks.

  Jason Scharlach

Reply via email to