> I haven't found the "failed-disk"-option in the newest raidtools package
> from 19990724. BUT: You should try to change the following lines from
>
> device /dev/hdc7
> raid-disk 0
> device /dev/hda7
> failed-disk 1
>
> TO:
>
> failed-disk 1
> ... # some other lines like persistent... and so on
>
> device /dev/hdc7
> raid-disk 0
> device /dev/hda7
> raid-disk 1
Thomas,
You've been giving some useful answers to questions you know the answer to, but
please don't confuse people by guessing on matters you don't know about. The
above advice is wrong.
The failed-disk option was provided by Martin Bene in a patch that has now been
included in the latest raid patch (1990724). It allows the user to specify, when
a RAID is created, that one of the disks is not available. The original
objective was to allow a filesystem on an existing partition to be mirrored, by
allowing that partition to be included but marked as failed when the RAID is
created. This is useful because any data on the partition would be destroyed
during mkraid without this option. With the option, you can create the array,
copy the data from the original partition to the degraded array, and then
raidhotadd that partition into the array, thereby preserving the data without
needing spare partitions to copy it to.
Bruce's raidtab looks OK (or at least the section he posted). I think the more
likely source of his difficulties is the packages he has installed. I can't find
any mention of the 2.2.10-4 kernel rpm or the 0.90-4 raidtools rpm on the RedHat
update or contrib servers, so I am guessing they are not official RedHat
packages. If someone else has put these together, there's a good chance they
didn't bother including the raid patch into the kernel. The solution would be to
go to kernel.org and get a vanilla kernel source tarball (2.2.10 being the
latest compatible with raid), the 2.2.10 raid patch and the latest raidtools
from daemons/raid/alpha. Patch the kernel source with the raid patch and then
rebuild the kernel with whatever RAID options are needed, and then compile the
raidtools. Hopefully the RAID should compile with the failed disk option once he
is running a kernel with the latest patch and using the latest raidtools.
Cheers,
Bruno Prior [EMAIL PROTECTED]