raidtab ?!?!


Subject: raidtab ?!?!
christopher.murtagh@wcg.mcgill.ca
Date: Mon Oct 30 2000 - 11:41:04 MST


Greetings,

 I've been trying to get two 36GB HDs to mount as 1 single 72GB drive. So,
I figured that mkraid and raidtab would be the thing to use. Unfortunately
I get the following error if I have a raidtab file in /etc/:

/dev/md0: Invalid argument
/dev/md0 must be a nonpersistent RAID0 or LINEAR array!
md0

and my /etc/raidtab file is:

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

  device /dev/sdb1
  raid-disk 0
  device /dev/sdc1
  raid-disk 1

/dev/sdb1 and /dev/sdc1 are partitions of type 'fd Linux raid auto'. I've
tried chunk-sizes of 4,8,16,32,64,128 and 512 all give the same result. A
persostent-superblock of 0 doesn't seem to help either. mke2fs works on
them no prob. When I run 'mkraid /dev/md0' at the shell prompt I get the
following:

[root@krishna /root]# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sdb1, 35843056kB, raid superblock at 35842944kB
disk 1: /dev/sdc1, 35843056kB, raid superblock at 35842944kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

 I set the syslog.conf to put *.* in /var/log/logme and it logs
everything, but nothing from mkraid. and /proc/mdstat returns:

[root@krishna /root]# cat /proc/mdstat
Personalities :
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive

Does anyone know what I'm missing? Is it something obvious? Any
help/info/links would be *much* appreciated. TIA.

Cheers,

Chris

-- 

Christopher Murtagh Webmaster / Web Communications Group McGill University Montreal, Quebec Canada



This archive was generated by hypermail 2a24 : Mon Oct 30 2000 - 12:49:00 MST