LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-05-2016, 01:07 PM   #1
teddymills1
LQ Newbie
 
Registered: Aug 2010
Posts: 15

Rep: Reputation: 0
Failed Primary SSDs and RSync


I was doing some rsync backups and noticed a primary drive was having some hardware sector issues. It was 2TB with a lot of data.

I was thinking maybe I should separate the OS+DATA.
Put the OS on a small 64GB SSD and the DATA on its own magentic 2TB drive. Then use rsync again as my backup tool.

Will this prevent the DATA drive from failing ? Of course not.
But it will save me hours of time rebuilding the server and
hours of putting all the DATA back to where it was before.

I suppose the SSD drive could fail as well, but without moving parts seem to be more reliable.

Maybe I could get of the SSD and boot from a USB.

Another option is to run a FreeNAS with mirrored 4TB.
Or any NAS with a mirror.

What would you recommend as a distro to put on a USB ?

TIA
 
Old 10-05-2016, 01:46 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
If you have a backup drive with sufficient space, you can clone the entire drive - including boot sector and partition UUID(s), and put it in another computer so it can be kept in sync regularly using rsync. (The options I use for such things are "rsync -vaxAX /. /mnt/nfsshare/".) Still, you really want the destination computer to NOT be booting off the cloned drive. Conflicts with the same IP address, weirdness with system updates, conflicting daemons, and so on. With a cloned drive, then you can swap in the backup drive in case of failure and you're good to go.

But still, you're idea will work. An SSD failure is significantly less likely than a spinning hard drive failure. I wouldn't be too enthusiastic about USB reliability, though. I use USB stick installs day-to-day, and my experience has been that they are more likely to fail than a spinning hard drive.

Either way, I've had good success with plain old Debian. A regular desktop workstation install will fit comfortably on an 8GB USB thumbstick, and if you're careful about avoiding bloat it will fit comfortably on a 4GB USB thumbstick. But I'd use a thumbstick only for less important purposes. For example, booting the backup server off a USB thumbstick can make a lot of sense. If there's a failure, no big deal.

Besides the possible reliability issue with a USB thumbstick, it also probably performs poorly compared to even a spinning hard drive. At least, that has been my experience-admittedly with USB2.0, but there are perceptible brief hangups which can't be excused just by USB2.0 bandwidth limitations.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync giving ld.so.1: rsync: fatal: libiconv.so.2: open failed: error SunilEA Linux - Newbie 1 01-10-2014 01:24 PM
[SOLVED] rsync between primary and backup server maksaraswat Linux - Server 6 03-28-2012 03:09 AM
rsync solaris + ld.so.1: rsync: fatal: libiconv.so.2: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 03:23 AM
After host name change: Failed to add user ... with error: The account's primary grou hrauch73 Linux - Server 0 12-13-2010 06:00 PM
The trust relationship between this workstation and the primary domain failed lyschange Linux - Newbie 2 05-19-2010 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:58 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