Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

ways for mirror

Victor_5
Trusted Contributor

ways for mirror

I am looking for:

1. 2 methods for replicate files
2. the best way for mirror the system disks for Red Hat Linux

Any reply is really appreciate.

Shawn
4 REPLIES
Bernie Vande Griend
Respected Contributor

Re: ways for mirror

If you want two boot disks and want them in sync continuously, then your best bet is to use RAID:

http://www.redhat.com/docs/manuals/linux/RHL-7.1-Manual/ref-guide/ch-raid.html

On earlier version RAID was a bit faulty, but its better with version 7.l.

I haven't done this, but it probably also possible if you use LVM for Linux.
http://www.europe.redhat.com/documentation/HOWTO/LVM-HOWTO.php3

This link contains information to LVM and other partition possibilities:
http://www.europe.redhat.com/documentation/HOWTO/Filesystems-HOWTO-2.php3

If you don't need to have the 2 in sync all the time then you could use rdist or a perl script called mirror:
ftp://src.doc.ic.ac.uk/computing/archiving/mirror/

Hope this helps. Otherwise give us a few more details.

Ye who thinks he has a lot to say, probably shouldn't.
Santosh Nair_1
Honored Contributor

Re: ways for mirror

The Linux implementation of LVM does not support mirroring. The reason is that it is supported in the kernel using the md kernel modules. These modules support several RAID levels including mirroring. Here is a URL on how to set up software level RAID on Linux:

http://www.linuxdocs.org/HOWTOs/Software-RAID-HOWTO.html

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Victor_5
Trusted Contributor

Re: ways for mirror

Hi Bernie & Santosh:

You two again! How are you doing!

Thanks for your inputs although I have already looked throuth all mentioned manuals.

Shawn
Bernie Vande Griend
Respected Contributor

Re: ways for mirror

Thanks. Doing fine. Do you have specific questions about mirroring that we or others can help with? Software raid is probably the way to go unless there is something in your situation that will prevent it from working.
Ye who thinks he has a lot to say, probably shouldn't.