I'm  having problems configuring a 2-disk  RAID-1 array on an  i686
machine. The machine has Redhat 6.2 installed
but the kernel is built from the 2.2.14 source from ftp.kernel.org, with
the ide patch applied to support the Promise PDC20246
ATA66 controller.  The raid array is to be on two identical 17Gb
partitions on two disks, each of which is a master on the
ATA66 channels (the disks work fine on their own). The kernel has md
support, as well as all raid levels, built-in.

Here is the output of "mkraid"

----

mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hde1, 16603146kB, raid superblock at 16603072kB
disk 1: /dev/hdg1, 16603146kB, raid superblock at 16603072kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

----

but there is nothing in the syslog to reflect the failure, and
/proc/mdstat looks as it did before "mkraid" was run:

----
 cat /proc/mdstat
Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
-----

Running "strace" on the "mkraid" command  shows the opening of /dev/md0
is failing with an EINVAL error,
after which the abort immediately occurs.

Here is the /etc/raidtab

----

 cat /etc/raidtab
# Sample raid-1 configuration
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
nr-spare-disks          0
chunk-size              4

device                  /dev/hde1
raid-disk               0

device                  /dev/hdg1
raid-disk               1
----

Can anyone suggest what to try next? Thanks.

 Jeff


--
Jeffrey E. Fookson, PhD         Phone: (520) 621 3091
Senior Support Analyst          [EMAIL PROTECTED]
Steward Observatory
University of Arizona



Reply via email to