A friend and I (both of us are fairly proficient w/ Linux but still very new to
RAID) are trying to set up a fairly vanilla system.  We are attempting to setup
a full root-raid  for a computational server.
As Murphy's law predicts, server 1 went smooth as silk.  Now that I've traveled
almost 500 miles back home, server2 is giving the following error when we try to
mkraid on the root partition (the last remaining partition standing between us
and a suscessful build):

--------
DESTROYING the contents of /dev/md1 in 5 seconds, Ctrl-C if unsure!
/dev/md1: active -- run raidstop
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
--------
raidstop /dev/md1 returns no such device.

I'm sure there is something simple we are missing.  The system is a dual PII-450
w/ a pair of IDE disks on seperate controllers.
O/S: RH6.0 w/ -- 2.2.12 kernel and appropriate 2.2.11 patches and raidtools.

Any advice is greatly appreciated.  I've attached some of what I think are the
pertenent files below...  If anything else would be helpful... please ask..

Thanks in advance...

MATT


Following is the contents of /proc/mdstat:
Personalities : [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md5 : active raid0 hdc5[0] hda5[1] 6144512 blocks 4k chunks
md6 : active raid1 hdc6[0] hda6[1] 2560192 blocks [2/2] [UU]
md7 : active raid1 hdc7[0] hda7[1] 2048128 blocks [2/2] [UU]
md8 : active raid1 hdc8[0] hda8[1] 1350592 blocks [2/2] [UU]
md9 : active raid1 hdc9[0] hda9[1] 511936 blocks [2/2] [UU]
md10 : active raid1 hdc10[0] hda10[1] 102720 blocks [2/2] [UU]
md11 : active raid1 hdc11[0] hda11[1] 102720 blocks [2/2] [UU]
unused devices: <none>

The contents of /etc/raidtab:
# this is /scr
raiddev /dev/md5
    raid-level                0
    nr-raid-disks             2
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc5
    raid-disk                 0
    device                    /dev/hda5
    raid-disk                 1

# This is /home
raiddev /dev/md6
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc6
    raid-disk                 0
    device                    /dev/hda6
    failed-disk               1

# This is /usr
raiddev /dev/md7
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc7
    raid-disk                 0
    device                    /dev/hda7
    failed-disk               1

# This is /tmp
raiddev /dev/md10
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc10
    raid-disk                 0
    device                    /dev/hda10
    failed-disk               1

# This is /var
raiddev /dev/md11
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc11
    raid-disk                 0
    device                    /dev/hda11
    failed-disk               1

# This is swap
raiddev /dev/md9
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc9
    raid-disk                 0
    device                    /dev/hda9
    failed-disk               1

# This is /
raiddev /dev/md1
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc1
    raid-disk                 0
    device                    /dev/hda1
    failed-disk               1

# This is /prog
raiddev /dev/md8
    raid-level                1
    nr-raid-disks             2
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hdc8
    raid-disk                 0
    device                    /dev/hda8
    failed-disk               1

And fdisk -l on both disks:
Disk /dev/hda: 16 heads, 63 sectors, 19650 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       305    153688+  83  Linux
/dev/hda2           306     19650   9749880    5  Extended
/dev/hda5           306      6401   3072352+  fd  Unknown
/dev/hda6          6402     11481   2560288+  fd  Unknown
/dev/hda7         11482     15545   2048224+  fd  Unknown
/dev/hda8         15546     18225   1350688+  fd  Unknown
/dev/hda9         18226     19241    512032+  fd  Unknown
/dev/hda10        19242     19445    102784+  fd  Unknown
/dev/hda11        19446     19649    102784+  fd  Unknown

Disk /dev/hdc: 16 heads, 63 sectors, 19650 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1             1       305    153688+  83  Linux
/dev/hdc2           306     19650   9749880    5  Extended
/dev/hdc5           306      6401   3072352+  fd  Unknown
/dev/hdc6          6402     11481   2560288+  fd  Unknown
/dev/hdc7         11482     15545   2048224+  fd  Unknown
/dev/hdc8         15546     18225   1350688+  fd  Unknown
/dev/hdc9         18226     19241    512032+  fd  Unknown
/dev/hdc10        19242     19445    102784+  fd  Unknown
/dev/hdc11        19446     19649    102784+  fd  Unknown

Reply via email to