On Tue, Jan 25, 2000 at 04:02:25PM +0500, [EMAIL PROTECTED] wrote:
> Now how will i mirror the two so that my data dont get loss. i have downloaded
> the raidtools-0.90rpm. As i read the raid documentation i found that you have to
> mark the parttion to fd but to my surprise my fdisk shows that there is no
> partition type of fd type.

fd isn't taken so it's not shown in fdisk.

What I would do in your situation is to recompile the kernel w/ RAID support,
and make a raidtab w/ the currently used disk as "failed-disk" (so that you
can make the array but not affect the currently used disk at all).  After you
make all of the arrays you want, do a mke2fs on the partitions of the new
RAID array.  Then make a boot disk w/ the raid kernel, and
then reboot using a RAID-enabled RAID rescue disk (RH6.1 works for this I
believe).  You can then mount the RAID array and the normal "old" partition,
and copy all of the files over to the RAID array ("cd /olddir ; tar cfp - . |
( cd /newdir ; tar xpf - )").  After this is all done, you should be able to
reboot with the boot disk you made w/ root set to "/dev/md0".  If this works,
make sure everything still works for a while.  If it does, you do a
raidhotadd for all of the old partitions into each of the respective RAID
arrays, and let them sync up.  You can then install LILO onto the device and
that should be the end of it.

I kind of jsut ran through a "probably would work" proceedure, but it should
give you the idea.

-- 
Randomly Generated Tagline:
"There are two kinds of security: the one that will keep your sister out,
 and the one that will keep the Government out." - Bruce Schneier

Reply via email to