At 21:03 14.03.99 +0000, you wrote:

>With the demise of "ckraid", how can I do I "check all is well" test ?
>Also, how do I say "the duff disk of the mirror has been replaced, go
>reconstruct it"
>Can I still "manually dd the disk and tell the code to fix the superblock" ?

The functionality of ckraid is automatically performed by kernel on startup
of raid devices. If your raid device is running in degraded mode due to
failure of a disk, you must add a new disk so it can creconstruct the
redundancy information. this is done using 

raidhotadd /dev/md0 /dev/sda2

(or whatever your actual devices are). Raidhotadd just adds the devices as
spare disks, the kernel automatically starts reconstruction as soon as a
spare is avalable.


>If I wasnt to test things, I can raisdtop, ZAP a partition, but cannot then
>attempt a restart -- the only way I can do it is to reboot. Is there a way
>to tell a running system to take a close look at a MD partition ?

Huh? you can allways mannualy start/stop the device using raidstart /
raidstop.

>Is there a way to manipulate *just* the superblock, e.g. to "correct"
>a pure "dd"ed copy ?

>Is there a way (preferably on a running system) to manipulate the RAID-1
>info (e.g. announce a new disk, say that a bad disk is good once more) ?

As long as your system is still up, you can add new disks to an array using
raidhotadd; these will get used for replacing failed devices automatically.

>Is there a way to add superblock info to an existing partition without
ZAPping
>it ? e.g. take a std partition, resize2fs it down a bit, add a SB, then set
>up a second miiror disk, and get the system to copy it over, etc ...

No. There is however another way to do this: use the "root raid install
patches" (posted last week, see archive at
http://www.linuxhq.com/lnxlists/linux-raid/lr_9903_02/msg00024.html). These
let you create a raid1/4/5 device with one disk marked as "failed", namely
your current root disk. You can create the new raid device, copy your stuff
over, restart from the raid device and raidhotadd you current root device
to get a fully functional mirror.

Bye, Martin


"you have moved your mouse, please reboot to make this change take effect"
--------------------------------------------------
 Martin Bene               vox: +43-664-3251047
 simon media               fax: +43-316-813824-6
 Andreas-Hofer-Platz 9     e-mail: [EMAIL PROTECTED]
 8010 Graz, Austria        
--------------------------------------------------
finger [EMAIL PROTECTED] for PGP public key

Reply via email to