Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 1st, 2004, 02:30 PM
Authorized User
 
Join Date: May 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Rsync Master to slave

Hello,

    I'm attempting to set up a master/slave system which has these partitions:

hda: Boots from master boot record
   /
   /home
   /boot
   swap

hdb: Boots from boot partition
   /
   /home
   /boot
   swap

As you can see, I've set up 2 hard drives that mirror each other. The only difference is that the master boots from the MBR and the slave boots from the boot partition.

So far this setup is working. The next step is to create an rsync setup that willl copy the entire master to the slave.

The idea for this setup is to implement the slave unit if the master fails.
I know this is much easier if you use a raid1 setup but, I want to take advantage of my full drive space on both 80 g drives.

Any Ideas for the rsync setup?


Thanks,
Clem C

 
Old September 7th, 2004, 10:04 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

This won't let you use any more space than raid would - you are still mirroring the drives, just less frequently and less reliably if you use rsync.

The rsync manpage is pretty good and a google for rsync will come up with some useful stuff.

--
Don't Stand on your head - you'll get footprints in your hair. http://charlieharvey.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync issue ajit Linux 1 January 17th, 2008 06:37 AM
Master pages wunnavabk ASP.NET 2.0 Professional 1 June 25th, 2007 07:09 AM
Master/Sub Forms sfx Visual Studio 2005 0 July 27th, 2006 12:19 AM
master/detail beeyule Dreamweaver (all versions) 1 January 18th, 2005 02:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.