LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-07-2007, 07:50 PM   #1
Skalek
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
How to use a standalone drive as a bootable/backup to a hw raid solution?


I recently put together a new server that consists of 2 x 74 GB 15K RPM SAS drives in a hardware Raid-1 config. I also installed a 150 GB Raptor 10k RPM sata drive.

What I want to do is make it so the raptor can act as a bootable replica of the raid volume, so in the event that I have a catastrophic raid failure (both drives failed or controller failed) I can just reboot and the raptor will boot up its copy with the data only being a few hours behind.

I know I could software raid-1 my hardware raid with the raptor drive, but as the drives have entirely different specifications and considering that one of them is a hardware raid volume, I think that would be asking for trouble.

I was wondering if any could suggest a method on how to do this? Should I use dd to do an initial copy of the SAS raid and then periodically do rdiff on the entire live volume every couple of hours?

Any suggestions, advice, or did I just plan this moronically?
 
Old 06-16-2007, 06:29 PM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
If you have a real server you can't afford to lose you should be using hardware RAID and someone who knows what he's doing should set it up or make sure you have things correctly configured.

Since I don't use hardware RAID I came up with my own solution which so far has proven itself worthy. What I do is rsync my whole system from one drive to another as an hourly cron job. rsync is great because it's smart enough to do incremental copies. It takes a bit of testing to figure out exactly the right rsync options and which files not to copy but the first step is to find a quiet time and copy the whole system over to start with. I exclude fstab and lilo.conf and a few other files and I don't bother copying caches for various apps but you may want them. I have my bootloader set up so I can boot right into this system and it's just like home.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux backup solution on tape drive tsaravan Linux - Newbie 11 10-09-2006 03:59 AM
Local drive Backup Solution? eldaria Linux - Software 1 07-19-2006 08:37 AM
Backup a bootable CD to another CD, thats bootable fr0zen Linux - Software 9 11-04-2004 08:45 AM
Backup whole hard drive solution Swift&Smart Linux - Software 1 07-24-2004 11:05 AM
Making a linux based pc emulate a standalone firewire drive doctor_t Linux - Hardware 0 05-13-2004 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration