Hi Rajesh,

You need to:

mke2fs /dev/md0
mount /dev/md0 /mnt/raid

Once you've made the RAID disk you can't use the individual disk
partitions (/dev/sdb1, etc) any more.

Regards,

-- Raju

>>>>> "Rajesh" == Rajesh Fowkar <[EMAIL PROTECTED]> writes:

    Rajesh> Hi, Sorry for this long mail. But it is essential to make
    Rajesh> clear my problem.

    Rajesh> [snip]
    Rajesh> 4. Configured raidtab file (/etc/raidtab). The contents
    Rajesh> are as follows :

    Rajesh>  raiddev /dev/md0 raid-level 1 nr-raid-disks 7
    Rajesh> nr-spare-disks 0 persistent-superblock 1 chunk-size 4
  
    Rajesh>            device /dev/sdb10 raid-disk 0 device /dev/sdb1
    Rajesh> raid-disk 1 device /dev/sdb5 raid-disk 2 device /dev/sdb6
    Rajesh> raid-disk 3 device /dev/sdb7 raid-disk 4 device /dev/sdb9
    Rajesh> raid-disk 5 device /dev/sdb11 raid-disk 6

    Rajesh> 5. $ mkraid /dev/md0

    Rajesh> 6. $ raidstart /dev/md0 This gives the message that raid
    Rajesh> is active etc. So now I have put it in /etc/rc.d/rc.local.
    Rajesh> So raid is started on booting.

    Rajesh> 7. The contents of /proc/mdstat after starting raid are as
    Rajesh> follows :

    Rajesh> Personalities : [raid1] read_ahead 1024 sectors md0 :
    Rajesh> active raid1 sdb11[6] sdb9[5] sdb7[4] sdb6[3] sdb5[2]
    Rajesh> sdb1[1] sdb10[0] 26496 blocks [7/7] [UUUUUUU] unused
    Rajesh> devices: <none>

    Rajesh> 8. Now my problem is. If I try to mount say one of the
    Rajesh> raid partitions (/dev/sdb1) in /mnt/raid than I am getting
    Rajesh> the following error :


    Rajesh> EXT2-fs error (device sd(8,17)): read_inode_bitmap: Cannot
    Rajesh> read inode bitmap - block_group = 57, inode_bitmap =
    Rajesh> 1867777 EXT2-fs error (device sd(8,17)):
    Rajesh> read_inode_bitmap: Cannot read inode bitmap - block_group
    Rajesh> = 58, inode_bitmap = 1900545 EXT2-fs error (device
    Rajesh> sd(8,17)): ext2_check_inodes_bitmap: Wrong free inodes
    Rajesh> count in super block, stored = 934375, counted = 15847

    Rajesh> [snip]

----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to