Operating System - Linux
1829665 Members
17076 Online
109992 Solutions
New Discussion

Re: How to do mirroring in RedHat 9.0

 
Suresh Patoria
Super Advisor

How to do mirroring in RedHat 9.0

Hi to All,

Please provide me full procedure of mirroring in Redhat 9.0

Thanx in advance
5 REPLIES 5
Alexander Chuzhoy
Honored Contributor

Re: How to do mirroring in RedHat 9.0

First locate the example config file

slocate raidtab
ususally it's there:
/usr/share/doc/raidtools-/raidtab.sample
then copy this file to /etc directory as raidtab

cp /usr/share/doc/raidtools-/raidtab.sample /etc/raidtab

then start editing this file to suite your needs.

Take raid1 config as example and you can mark or delete all the rest from this file.

if you have IDE disks then change /dev/sda to /dev/hda respectively.


after finishing - issue this command
mkraid /dev/md? -depending on what you have left in your file as /dev/md?

this will start the raid
all you have left is to make the file system before you can mount the RAID

mkfs /dev/md?

and then mount /dev/md? /mnt


Best Regards...
Suresh Patoria
Super Advisor

Re: How to do mirroring in RedHat 9.0

this will make any effect on my exsting data

Thanx
Alexander Chuzhoy
Honored Contributor

Re: How to do mirroring in RedHat 9.0

executing mkfs will delete all the data the was on the disks...
Suresh Patoria
Super Advisor

Re: How to do mirroring in RedHat 9.0

There is anu way to do without loose my date to do mirror disk


Thanx
Jerome Henry
Honored Contributor

Re: How to do mirroring in RedHat 9.0

mkfs on the new volume will delete datas on the new volume if any... but you won't loose anything on the original volume you are going to copy...
no worry on that

j
You can lean only on what resists you...