Please help me trouble shoot the RAID installation.

I am trying to concatenate 2 scsi drives of 50 GB each using software RAID
level 1 in Linux 6.1.



1.      I created 2 raid partitions during installation on scsi drives a and
b.  These are /dev/sda5 and /dev/sdb1 and of equal number of blocks.
2.      created an /etc/raidtab file and rebooted the machine
3.      did             mkraid -f /dev/md0
4.      entered the command for making the file system


A log of relevant info is attached.  

As you can see, in step 4 I get a message "Invalid argument passed to ext2
library while setting up superblock."

What can I do to correct this situation?

TIA

Devaraj.


 <<raidlog.txt>> 
raiddev             /dev/md0
raid-level                  0
nr-raid-disks               2
chunk-size                  64k
persistent-superblock       1
#nr-spare-disks     0
    device          /dev/sdb1
    raid-disk     0
    device          /dev/sda5
    raid-disk     1
                        




Disk /dev/sda: 255 heads, 63 sectors, 6081 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14      6081  48741210    5  Extended
/dev/sda5            14      5750  46082421   fd  Linux raid autodetect
/dev/sda6          5751      5878   1028128+  82  Linux swap
/dev/sda7          5879      6006   1028128+  83  Linux
/dev/sda8          6007      6038    257008+  83  Linux
/dev/sda9          6039      6064    208813+  83  Linux
                                                           



Disk /dev/sdb: 255 heads, 63 sectors, 6081 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1      5737  46082421   fd  Linux raid autodetect
       


 mkraid -f /dev/md0
--force and the new RAID 0.90 hot-add/hot-remove functionality should be
 used with extreme care! If /etc/raidtab is not in sync with the real array
 configuration, then a --force will DESTROY ALL YOUR DATA. It's especially
 dangerous to use -f if the array is in degraded mode.

 PLEASE dont mention the --really-force flag in any email, documentation or
 HOWTO, just suggest the --force flag instead. Thus everybody will read
 this warning at least once :) It really sucks to LOSE DATA. If you are
 confident that everything will go ok then you can use the --really-force
 flag. Also, if you are unsure what this is all about, dont hesitate to
 ask questions on [EMAIL PROTECTED]    



 mkfs /dev/md0
mke2fs 1.15, 18-Jul-1999 for EXT2 FS 0.5b, 95/08/09
/dev/md0: Invalid argument passed to ext2 library while setting up superblock 






Reply via email to