[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RAQ4r: Replacing/Formatting Second Hard Drive



> Hello -
> 
> I have a RAQ4r.

Sorry, I have not RaQ4r, so I do not familiar with its
internal structure. But I have successfully recovered
mirrored disk in Linux. I've tried mirror recover when it 
was beta - this was awful. But nowadays version - perfect !

Step one:
Write on the paper, what you want to do. lets suppose
that you want mirror hda to hdc. This step is most important
in restore. Writing wrong direction will cause in lost of
data !  So, we write hda -> hdc.

Step two:
What partitions should we mirror? It is very good, that you
have running system, so you can access to /etc/raidtab.
Take it out to another computer and have it open in some 
window to verify every step. Read man raidtab to understand
what going in it. Lets suppose, that you should mirror
only hda1 and hda5, mirror for swap partitions is tasteless.
(here is number of choices what mirror to what, we skip this)
So we write hda1 -> hdc1 and hda5 -> hdc5 (look again in raidtab!)

Step three:
Disk structure. In case of mirror to the same disk take fdisk
configuration from hda, and create the same SIZE partitions
on the destination disk. Partition id should be "fd" (auto-
RAID detect)

Step four:
# raidhotadd /dev/md? /dev/hdc?
will start resync. Check pocess by "cat /proc/mdstat"

Step five:
If it should be bootable, it is a kind of black magic.
And another long-long story. Next time, may be.

--
Oleg Volkov
System Administrator
SHUNRA Software Ltd.
http://www.shunra.com

+972-9-7643743/93121(w)
+972-51-601914(m)