I have a 2.0.35 system patched with raid0145-19981110-2.0.35, using
raidtools-19981105-0.90, with drives sda and sdb.

I'd like to add sdc and sdd and build a RAID-5 array from sdb, sdc and sdd;
but not lose the data currently on sdb.

My thought was to build a "degraded" RAID-5 array with sdc and sdd, copy
the data from sdb to that array, then raidhotadd sdb to the array, which
would then be whole.

How do I convince mkraid to initially build a "degraded" array?  It
complains that raid_disks + spare_disks != nr_disks if I dont list three
devices and doesn't like /dev/null as the third disk (says cant get device
size).

I know I could do this with an extra drive or by backing up and restoring
the data, but I'm naturally cheap and impatient, so I'd like to avoid those
alternatives.

Rich Bollinger
Elliott Company

Reply via email to