Creating Soft-RAID of existing installation
Gilboa Davara
gilboada at netvision.net.il
Thu Nov 17 11:00:20 UTC 2005
On Wed, 2005-11-16 at 17:07 +0100, Masopust Christian wrote:
> Hi all,
>
> i would like to mirror my existing FC4-installation. I already added a
> second harddisk and created partitions of the same size as my running
> system-disk is.
>
> what to do next?
>
> how to mirror the running system?
>
> thanks a lot,
> christian
>
0. Boot from a CD.
1. Before you start, backup everything. (While it may be possible to
mirror a live disk; I never tried it myself [and for a good reason: if
it fails due to unknown reason, you are dead in the water.])
2. Use fdisk to modify the label on both partitions to "Raid
auto-detect" ('fb' If i recall correctly).
3. Use mdadm (or raidtools' mkraid) to create the mirror.
4. Restore the backup.
5. Restore the grub configuration. (/sbin/grub; root (hd<Drive
ID>,<Partition ID>), setup (hd<Drive ID>); quit)
Hope it helps.
Gilboa
More information about the users
mailing list