Author Topic: Food for thoughts - RAID / Backup  (Read 4430 times)

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Food for thoughts - RAID / Backup
« on: June 16, 2010, 08:28:30 pm »
Today, during my surfing threw the web I came across an interesting tid bit.

A fairly high class installation of a networked media system in a house. They've invested a few 10k EUR I can imagine. And they did not go RAID.

The stated reason was, running all disks the whole time stresses all disks identical. This results in the same fatigue for all disks, and quite probable make them fail at the same time.

Instead, they opted for a simple NAS doing backups at night. During the day, the HDD in the NAS are kept powered down.

With todays prices for storage, this might be a worthwhile idea for LinuxMCE users as well.

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Food for thoughts - RAID / Backup
« Reply #1 on: June 17, 2010, 01:08:25 am »
Guess I'm just going to have to keep repeating this until hopefully someday it sinks in...

Using RAID is no alternative for making backups!
"Change is inevitable. Progress is optional."
-- Anonymous


Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Food for thoughts - RAID / Backup
« Reply #2 on: June 17, 2010, 01:10:29 am »
Zaerc,

you are 100% correct.

And my post merely highlights another reason for it. Lots of people mistake RAID for backup, where in fact they achieve slightly longer uptime, where they could go out and look for a replacement drive.

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Food for thoughts - RAID / Backup
« Reply #3 on: June 17, 2010, 12:23:55 pm »
Agreed. I lost my raid array moving from 0710 to 0810.

I now have a dedicated NAS backup (not mounted by lmce) so it isn't spinning 24/7. Still using software raid but thinking of reverting to single disks. My raid disks have been spinning for months without a rest.

Best solution IMHO would be a rsync incremental overnight backup of the lmce media drive(s) to the NAS. Just need a NAS that supports rsync.
Barney

valent

  • Guru
  • ****
  • Posts: 381
    • View Profile
    • /kernel_reloaded/
Re: Food for thoughts - RAID / Backup
« Reply #4 on: June 17, 2010, 12:46:58 pm »
Agreed. I lost my raid array moving from 0710 to 0810.

I now have a dedicated NAS backup (not mounted by lmce) so it isn't spinning 24/7. Still using software raid but thinking of reverting to single disks. My raid disks have been spinning for months without a rest.

Best solution IMHO would be a rsync incremental overnight backup of the lmce media drive(s) to the NAS. Just need a NAS that supports rsync.
Barney

What did you do with your raid while moving from 0710 to 0810? I have moved mine and didn't lost a bit of data. I also have LVM and LUKS encryption on top of RAID-5.

Also added a new disk recently and while growing raid-5 field power went off! I thought that data was gone, but after consulting with few linux gurus I got RAID to rebuild and grow without any issues.

@posde The wear on disk is never the same, here probability and chaos theory comes in place. It is statistically almost impossible for all drives to fail at same hour or day, let alone AT THE SAME TIME. Complete PR bullshit if you ask me.

My strategy is to change drives every 3 years with new ones, no matter if they had a failure or not.
« Last Edit: June 17, 2010, 12:50:47 pm by valent »
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Food for thoughts - RAID / Backup
« Reply #5 on: June 17, 2010, 12:51:54 pm »
@posde The wear on disk is never the same, here probability and chaos theory comes in place. It is statistically almost impossible for all drives to fail at same hour or day, let alone AT THE SAME TIME. Complete PR bullshit if you ask me.

valentt, a customer of mine had 3 Cheetah disks fail within a one week period.

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Food for thoughts - RAID / Backup
« Reply #6 on: June 17, 2010, 01:26:51 pm »
Valent,
I attempted to install lmce 0810 and it detected the raid 5 array.
The array was one disk down and showed as rebuilding. This never completed though.
I had problems getting lmce 0810 to work so reverted back to my 0710 build on a separate hdd.
I think it was the reversion to an earlier version that bricked the array.

Now I backup my backups. The tough lessons are the best!
Barney

valent

  • Guru
  • ****
  • Posts: 381
    • View Profile
    • /kernel_reloaded/
Re: Food for thoughts - RAID / Backup
« Reply #7 on: June 17, 2010, 09:02:02 pm »
@posde The wear on disk is never the same, here probability and chaos theory comes in place. It is statistically almost impossible for all drives to fail at same hour or day, let alone AT THE SAME TIME. Complete PR bullshit if you ask me.

valentt, a customer of mine had 3 Cheetah disks fail within a one week period.

That is why I check my raid once per week, but I'll write a script to send email and sms alert if/when any hdd has errors. Week is plenty of time to replace hard drives. Then it was obvious you got drives from a bad batch and they all were bad from start, or there was some other issue causing drives to burn out, like a bad PSU.

Choose which is worse:
1. HDD dies and you are left without data on it.
2. HDD dies and you have one week to replace it so that RAID continues working, and no data is lost that was on that drive.
« Last Edit: June 17, 2010, 09:03:36 pm by valent »
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent