I haven't tried this in a while so I might be doing something wrong here.

I'm trying to build a couple arrays in degraded mode (RAID 1 & RAID 5).
This is on a system running kernel 2.2.6 & raid0145-19990421-2.2.6 patch.

A sample RAID-1 config that I'm playing with is below.  I though that we
could just code the same disk (or a same disk) twice in the config and
it will trick out the mkraid script.  However, when I do this mkraid
complains
that the same disk is already assigned to an array.  The device shows
up in /proc/mdstat as 'inactive'.  However I can't do anything to this
device
in this mode.

Any ideas, or is there another way of doing this?

Steve


################################
# / RAID-1 configuration
################################
raiddev                 /dev/md1
raid-level              1
nr-raid-disks           2
nr-spare-disks          0
chunk-size              4

device                  /dev/sdb1
raid-disk               0

device                  /dev/sdb1
raid-disk               1
----------------------------------------------
Steve Costaras      Unix Systems Administrator
[EMAIL PROTECTED]  Celestial Haven
Ph: (630) 852-9765  FAX: (630) 852-9263
-
If you don't understand, read the RFC's. If
you do, re-write them. HTTP://3502543125/rfcs
----------------------------------------------

Reply via email to