Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Raid 5 guestions??  (Read 6148 times)

0 Members and 1 Guest are viewing this topic.

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Raid 5 guestions??
« on: January 31, 2008, 02:20:58 pm »
I am going to be building a raid 5 server soon, my first one and I have a few questions.

I plan on starting with 3 drives then adding 2 more for a total of 5.  I will probably also back everything up occasionally to an external drive for back up also.  I am going to use SATA2 drives for the raid also.  I plan on using an enlight server chassis http://us.enlightcorp.com/Product/Product_Detail.aspx?ID=189 and
http://us.enlightcorp.com/Product/Product_Detail.aspx?ID=201

I will also being using a raid card maybe 3ware someone recommend on here.  Is there anything else you can recommend?

Can I/should I use raid 6 and what would be involved with that?
I b**ch. People listen!!

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #1 on: January 31, 2008, 03:03:48 pm »
Couple of things to think about before you start:

If you're not going to fully populate the array when you first build it (ie only put 3 drives out of a possible 8) and plan to expand, make sure you buy a RAID card that supports "online expansion".  I believe the 3ware 9000 series of cards supports this, but not sure about the 8000 series (older SATA).  I know the 7000 series (PATA) doesn't support this (what I use).

I like that you're thinking of using hot-swap drive caddies - VERY good way to go.  Your chassis choice is fine as long as you're not looking to go crazy with the number of drives.  Make sure that you have good air cooling for the drive blocks.  THIS is a popular case for building non-rack mount storage arrays.

With only 3-5 drives, power shouldn't be too much of a problem, just make sure you buy a good quality PSU.

I'm not all that familiar with RAID6, but the main thing it offers over RAID5 is an additional layer of fault tolerance.  This is more useful in arrays with larger numbers of drives, as it will take the equivalent of a full drive's storage (in addition to the 1 used by RAID5) to achive this.  So for a 3 drive array, 2 of the drives would be parity data - not that useful.  Unless you're planning to eclipse 12 drives or so, RAID5 will be fine.

I'm a fan of 3ware, but Areca makes nice cards that have been getting really good reviews by DIY data center builders.

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #2 on: January 31, 2008, 03:47:47 pm »
thanks, if I would go raid 6 and have 5 500gig drives I would really only have 1.5tb of space correct?  What Windows OS do you suggest?

I was also looking at this card since it does raid 6
http://www.newegg.com/Product/Product.aspx?Item=N82E16816103010
« Last Edit: January 31, 2008, 03:53:01 pm by squirrellydw »
I b**ch. People listen!!

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #3 on: January 31, 2008, 04:28:27 pm »
correct on the 5 drives -> 1.5Tb thing.  For RAID5 its (N-1)*(drive capacity) and for RAID6 its (N-2)*(drive capacity).

I don't know too much about the recent adaptec cards, but that one looks good; 8 port SATA, online expansion, etc.  Not a bad price either at less than $500.

Your OS choice is entirely going to up to what you plan for the machine to do beyond file-serving.  I run linux on my 2 file server raid boxes, but win2k/2k3 server would be fine, or heck the new windows home server might be interesting to check out.  :dunno

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #4 on: January 31, 2008, 04:39:14 pm »
I plan on using mainly for music, video and photos.  I want everything backed up in case a drive dies and I want to be able to access it from 2 to 3 computers.
I b**ch. People listen!!

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #5 on: January 31, 2008, 04:43:01 pm »
For that much cash, why not simply buy a commercial unit?

I have an Infrant ReadyNAS. It does drive additions and you can even replace the whole array (to increase the size) on disk at the time. I used custom built solutions for years, but I got fed up with the hassle.

I filled mine with 4 500GB disks. These disks are actually only 465GB so in total I get something like 1.3TB.
This signature is intentionally left blank

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #6 on: January 31, 2008, 04:56:45 pm »
I'd be tempted to buy a Drobo unit

http://www.drobo.com/


squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #7 on: January 31, 2008, 05:17:27 pm »
Is drobo any good, what if it dies, how do you get your data?
I b**ch. People listen!!

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #8 on: January 31, 2008, 05:21:21 pm »
I'd be tempted to buy a Drobo unit

http://www.drobo.com/
Drobo is only USB though isn't it?

Besides I'd be scared to hand my data to a proprietary system too.
This signature is intentionally left blank

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #9 on: January 31, 2008, 05:26:46 pm »
there's a new droboshare addon that essentially makes it a NAS device.  I've never used one of these units, and your questions regarding recovery are good ones.  Same thing with a proprietary RAID card though; what happens if your raid card dies?

I'm not saying I would definately buy one, but when considering cost, its worth looking into. I think a member here has a drobo unit...can't remember who though.

pointdablame

  • I think Drew is behind this conspiracy...
  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5034
  • Last login:May 19, 2025, 06:36:30 pm
  • Saint and Woogie let me back in!
Re: Raid 5 guestions??
« Reply #10 on: January 31, 2008, 07:15:15 pm »
I think Goz has a Drobo, but I could be wrong.

Are there any nice commerical units out there that will handle 5 or 8 drives and RAID5?  That's my main sticking point as I've been contemplating a server build for a while now, but I want a 5 drive array and most home NAS devices are 4 bay devices, and it seems like a good deal don't do RAID5.

I may have to just bite the bullet like you are and buy a dedicated card though.
first off your and idiot

Man I love the internet, haha.

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #11 on: January 31, 2008, 07:22:31 pm »
I think Goz has a Drobo, but I could be wrong.

I think you're right, it's Goz

Are there any nice commerical units out there that will handle 5 or 8 drives and RAID5?

None that I know of that are affordable, but I haven't looked in several months. 

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #12 on: January 31, 2008, 07:50:28 pm »
I'm keeping an eye on THIS thread over at AVS.  A guy is building a 24Tb RAID6 box....ok, it won't be 24Tb after his parity drives, but JEEZ!!

Makes my 5Tb over 2 servers in RAID5 look puny.

edit: fixed messed up link
« Last Edit: February 01, 2008, 01:38:26 am by boykster »

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #13 on: January 31, 2008, 07:54:47 pm »
I think I can build mine with 5 SATA drives for right around $1000 and most of that is the drives and the raid card
I b**ch. People listen!!

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #14 on: February 01, 2008, 11:07:11 am »
Thought of another question.  Do I need a separate HD for the OS?  So if I start out with 3 drives in a raid 5 I need another one for the OS correct?  Then all the data like my music, movies and photos are kept on the raid array right?
I b**ch. People listen!!

Samstag

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1378
  • Last login:December 16, 2016, 01:41:19 am
  • That's not a llama!
Re: Raid 5 guestions??
« Reply #15 on: February 01, 2008, 02:08:42 pm »
If you're using a dedicated RAID card there's not much point in using a seperate OS disk.

Do a search for RAID in this forum and you'll find a lot of other good advice.  It seems to come up a few times a year.

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #16 on: February 01, 2008, 03:32:51 pm »
I prefer a seperate OS drive but it's not necessary.  the array is more "portable" if you dedicate it to data only and don't have the OS on it.  Lets say the motherboard dies on your array; you can pull the card and drives and put them in another system and be back up and running in no time...

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #17 on: February 01, 2008, 03:40:49 pm »
I prefer a seperate OS drive but it's not necessary.  the array is more "portable" if you dedicate it to data only and don't have the OS on it.  Lets say the motherboard dies on your array; you can pull the card and drives and put them in another system and be back up and running in no time...
If your OS is on the array (ie no separate OS disk) and the new computer has a separate OS disk then it should still work fine right?
This signature is intentionally left blank

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #18 on: February 01, 2008, 04:32:31 pm »
sure, but its cleaner to have it seperate.  Also, consider if your boot sector gets corrupted and you need to manipulate the partitions; if the boot drive is seperate, you can change it at will with no worry about compromising your data array.

Just my approach, either way is valid

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #19 on: February 01, 2008, 05:57:36 pm »
I set it up once with a seperate system drive (using soft raid), but I always kept worrying about the system drive becoming corrupt.

With soft raid I would use a seperate OS drive (you probably have to have at least a separate partition then anyway) and with hardware raid I'd simply install the OS on the array.

A big problem I still have is with backups. How do you backup 1.3TB? Well I have it only filled to 900GB or so, but still. My ReadyNAS does automatic backups to a external drive, but they aren't big enough. I could setup a second raid unit, but that's kinda costly.
This signature is intentionally left blank

meismr

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:June 21, 2008, 09:44:32 pm
Re: Raid 5 guestions??
« Reply #20 on: February 01, 2008, 06:11:52 pm »
I have setup three different file servers (two Raid 1 and one Raid 5) and in all of them I had a different drive for the OS.  Keeping the OS and Data separate makes it a lot simpler for maintenance and data migration.  You could keep an image on the raid array of the OS (or just on a DVD) and move that down.  :)

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #21 on: February 01, 2008, 06:20:52 pm »
thanks, I like the separate OS idea
I b**ch. People listen!!

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #22 on: February 01, 2008, 06:34:04 pm »
I have setup three different file servers (two Raid 1 and one Raid 5) and in all of them I had a different drive for the OS.  Keeping the OS and Data separate makes it a lot simpler for maintenance and data migration.  You could keep an image on the raid array of the OS (or just on a DVD) and move that down.  :)
You don't need a separate drive to separate OS and data.
This signature is intentionally left blank

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #23 on: February 01, 2008, 07:11:52 pm »
A big problem I still have is with backups. How do you backup 1.3TB?

try backing up 5Tb  :dunno

The redundancy of the RAID array is some insurance, but nothing can stave off catastrophic failure.

As for the OS on the array or on another drive, its really a matter of personal preference.  If you're looking for high availability and low-downtime, you'd keep your OS on a seperate drive.  If the system crashes, you can easily move the entire array to another machine.  If the OS drive crashes, you can swap in a new drive and be back up an running (assuming you have a clean mirror copy of the OS sitting around like me  ;) ).

nothin wrong with putting the OS on the array, just not how I would do it.


Samstag

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1378
  • Last login:December 16, 2016, 01:41:19 am
  • That's not a llama!
Re: Raid 5 guestions??
« Reply #24 on: February 01, 2008, 09:33:24 pm »
I went with RAID 5 so I can stop worrying about backups.  It seems silly to use single external drives to backup fault-tolerant arrays.  If you don't feel comfortable with RAID 5, spend a little more for RAID 6.  If you're really worried about more than two drives failing at once, you can add as many redundant drives as you like to the array and not have to worry about filling up slow USB drives.

If you're worried about the RAID card dying, buy a spare.  Using RAID for safety is all about spending the money to put together a system with a level of risk you can be comfortable with.

I've been running the same 8-drive array for over two years now and the only problem I've had was a failed OS drive.  After building a new one (the soft array was fine and synced up with no data loss) I cloned it so that won't be a problem again.  The only high quality part I'm using is the power supply.  The array drives are all refurbs, the motherboard, ram, case, etc were all cheap stuff, and the OS drives have all been xbox orphans.  I'm sure I'll replace the whole array with bigger drives long before I ever lose one.

shmokes

  • Just think of all the suffering in this world that could have been avoided had I just been a little better informed. :)
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10397
  • Last login:September 24, 2016, 06:50:42 pm
  • Don't tread on me.
    • Jake Moses
Re: Raid 5 guestions??
« Reply #25 on: February 01, 2008, 11:13:15 pm »
I've seen a RAID 5 array refuse to rebuild itself after a drive failure and I've known at least two or three other people (professionals) who have personally had the same experience.  I've seen them rebuild just fine a dozen times, but . . . they're not fool proof.  Nothing is.  I don't know how many times I'd check the integrity of tape backups and find corrupt ones.

With that said, I don't have any formal backup routine at home.  My OS (along with the My Documents folders, etc.) is on a RAID 1 mirror, and all my media is on a cheap, 1.5 TB (effective) Buffalo Terastation.  I don't really trust the Terastation too terribly much.  It seems a little bit flaky.  If the power goes out and the UPS allows it's power to surge for a split second, it will spend the next 12 hours "resynching" the drives, during which time the performance is awful and streaming media from it frequently hiccups.  PITA.  I don't trust it to keep all my stuff 100% safe, but it brings my risk levels down to levels that I'm reasonably comfortable with, and I don't have to lift a finger for it so I'm pretty happy.  Anyway, 90% of the data on it is pirated so I technically have no right to it anyway.  Easy come, easy go.
Check out my website for in-depth reviews of children's books, games, and educational apps for the iPad:

Best Kid iPad Apps

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #26 on: February 02, 2008, 01:18:29 am »
I've seen a RAID 5 array refuse to rebuild itself after a drive failure and I've known at least two or three other people (professionals) who have personally had the same experience.  I've seen them rebuild just fine a dozen times, but . . . they're not fool proof.  Nothing is.  I don't know how many times I'd check the integrity of tape backups and find corrupt ones.

No strategy is perfect;  a few years ago, I had a software raid5 array completely go.  2 drives died simultaneously and that was that.  Last year, I had a hardware raid5 array suffer from some serious data corruption and loss.  One drive was getting kicked from the array for ata timeouts (benign problem, usually power related) but simultaneously I had a REAL hardware failure on a different drive but because the array was degraded, the controller was more conservative about kicking the real failed drive.  I couldn't rebuild the array because the bad drive would lock up before I could get the "good but kicked" drive back in the mix.  Because the array was still functional as long as the "bad" drive didn't freeze up, I was able to transfer about 80% of the data off.

My next system will probably be a larger array either in a RAID6 or RAID5 + hotspare setup....

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #27 on: February 02, 2008, 03:16:12 am »
OK, I understand raid 5 and 6 pretty well but what does the hotspare do?  I will probably use the adaptec card with a raid 6.
I b**ch. People listen!!

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #28 on: February 02, 2008, 03:27:12 am »
A big problem I still have is with backups. How do you backup 1.3TB?

As for the OS on the array or on another drive, its really a matter of personal preference.  If you're looking for high availability and low-downtime, you'd keep your OS on a seperate drive.  If the system crashes, you can easily move the entire array to another machine.  If the OS drive crashes, you can swap in a new drive and be back up an running (assuming you have a clean mirror copy of the OS sitting around like me  ;) ).

nothin wrong with putting the OS on the array, just not how I would do it.
Not trying to be argumentative her, but I really do not see why it makes it easier to move the array to another computer.

Why do you think it's easier or requires less maintenance to have the OS on another drive?

When I had a hardware RAID card I put the OS on a partition of the array. If I want to move the array to another computer it would have the OS on a drive already so I simply don't mount the OS partition of the array. A separate is practically a separate drive yet a partition is safeguarded by the RAID and a single drive is not. I don't see any advantage in a extra OS drive, what am I missing?

When you add an extra drive for the OS you actually add another point of failure. Even worse, you add another non-redundant point of failure.
This signature is intentionally left blank

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #29 on: February 02, 2008, 03:42:23 am »
OK, I understand raid 5 and 6 pretty well but what does the hotspare do?  I will probably use the adaptec card with a raid 6.

A hotspare drive is just a drive "in waiting" in case a failure happens.  If a drive fails in a RAID array, rather than waiting for user intervention to swap out a bad drive, the hot spare is swapped in and hte array is rebuilt.  Its an additional (-1) in the whole scheme of things, and adds an additional level of "safety".

Not trying to be argumentative her, but I really do not see why it makes it easier to move the array to another computer.

Why do you think it's easier or requires less maintenance to have the OS on another drive?

seriously, if you want to put your OS on the array, then do it.  If you were building a scalable data center you wouldn't.  Its all about abstracting the "system" from the "storage".  I have 3 RAID5 arrays on 2 systems.  Depending on what computer has the RAID cards and drives installed, those arrays could live on any computer.  The OS and the storage arrays are independant. 

Its not that I don't consider the OS to be worthwhile to be redundant, its that I consider the OS to be a seperate entity.  In fact I keep a "bare metal" backup of 3 systems: one each for my storage machines and one for my applicaton server....


patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #30 on: February 02, 2008, 03:52:13 am »
I went with RAID 5 so I can stop worrying about backups.  It seems silly to use single external drives to backup fault-tolerant arrays.  If you don't feel comfortable with RAID 5, spend a little more for RAID 6.  If you're really worried about more than two drives failing at once, you can add as many redundant drives as you like to the array and not have to worry about filling up slow USB drives.
There are several reasons for backups. I move the external drives to a different location. The RAID system will be lost in case of theft or fire. RAID does not protect you there.

Also I have had major disruptions in basically every RAID array I have ever owned. I've had simultaneous drive failures twice. Once the whole array was lost and another time I could repair one drive. I put it in another computer and repaired it with a Seagate toolkit), but it took me a while before I was brave enough to try that. I was afraid it might break the array. I've also had OS failures after Linux upgrades rendering the array inoperative. With the extra backup at least I was able to use the files still.

So the external backup is to protect against physical damage and total array failure. You should never rely on RAID alone.

BTW an important thing is that you get a warning when something starts to fail. That's what I have always been missing in my own built RAID solutions. The first time I had a double drive failure, I simply didn't know one drive was broken until finally two drives failed and the thing stopped working.

Although even on the commercial solution I had a double drive failure. I had set up e-mail warnings on my ReadyNAS, but after I had changed my network settings the raid array was unable to send me an e-mail about the drive failures. Still it has saved me from possibly damaging situations several times already.

Of course you can have a daily check of the logfiles, but who does that? If you are even able to see the errors in a logfile. I've had 2 hardware RAID solutions that did not log errors. One needed a RS232 tool to read the status of the array and another relied on blinking LEDs (on the board ... inside the PC!!!)
This signature is intentionally left blank

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #31 on: February 02, 2008, 04:19:30 am »
Its all about abstracting the "system" from the "storage".  I have 3 RAID5 arrays on 2 systems.  Depending on what computer has the RAID cards and drives installed, those arrays could live on any computer.  The OS and the storage arrays are independant. 
I realize that you need to keep the OS and the data separate, but I don't think is a separate drive is logically more separated than a separate partition. It's just one digit difference in the mount table.

I've actually had my OS drive fail. That sure took the array down. I guess it was my own fault, because I thought I could get away with using some old drive. But still, any drive can fail.

Actually the ReadyNAS installs the OS on one of the drives too. It's mostly soft RAID afterall. Although if the drive fails it installs it from flash again on another drive. So there shouldn't be downtime if the OS drive fails, but of course if the OS drive fails you never know for sure everything keeps on working.
This signature is intentionally left blank

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #32 on: February 02, 2008, 11:00:32 am »
OK, I understand raid 5 and 6 pretty well but what does the hotspare do?  I will probably use the adaptec card with a raid 6.

A hotspare drive is just a drive "in waiting" in case a failure happens.  If a drive fails in a RAID array, rather than waiting for user intervention to swap out a bad drive, the hot spare is swapped in and hte array is rebuilt.  Its an additional (-1) in the whole scheme of things, and adds an additional level of "safety".



Thanks, I like that idea also.  I probably won't start building this for another 3 months but at least I know more now and can really look at and understand what I need.  I won't my data to be as safe as possible.
I b**ch. People listen!!

lcddream

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:December 04, 2024, 03:59:31 pm
  • Say goodbye to gravity...
Re: Raid 5 guestions??
« Reply #33 on: February 02, 2008, 11:36:55 am »
BTW an important thing is that you get a warning when something starts to fail. That's what I have always been missing in my own built RAID solutions. The first time I had a double drive failure, I simply didn't know one drive was broken until finally two drives failed and the thing stopped working.

Although even on the commercial solution I had a double drive failure. I had set up e-mail warnings on my ReadyNAS, but after I had changed my network settings the raid array was unable to send me an e-mail about the drive failures. Still it has saved me from possibly damaging situations several times already.

Of course you can have a daily check of the logfiles, but who does that? If you are even able to see the errors in a logfile. I've had 2 hardware RAID solutions that did not log errors. One needed a RS232 tool to read the status of the array and another relied on blinking LEDs (on the board ... inside the PC!!!)

My 3ware 9550sx will email me with any problem that occurs.

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #34 on: February 02, 2008, 11:45:27 am »
OK, I understand raid 5 and 6 pretty well but what does the hotspare do?  I will probably use the adaptec card with a raid 6.

A hotspare drive is just a drive "in waiting" in case a failure happens.  If a drive fails in a RAID array, rather than waiting for user intervention to swap out a bad drive, the hot spare is swapped in and hte array is rebuilt.  Its an additional (-1) in the whole scheme of things, and adds an additional level of "safety".


Thanks, I like that idea also.  I probably won't start building this for another 3 months but at least I know more now and can really look at and understand what I need.  I won't my data to be as safe as possible.
Wouldn't it make more sense to use RAID 6 then?

RAID 6 would use that extra disk for extra protection of the array instead of it sitting idle.
This signature is intentionally left blank

shmokes

  • Just think of all the suffering in this world that could have been avoided had I just been a little better informed. :)
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10397
  • Last login:September 24, 2016, 06:50:42 pm
  • Don't tread on me.
    • Jake Moses
Re: Raid 5 guestions??
« Reply #35 on: February 02, 2008, 12:26:52 pm »
I assume you can use a hotspare with RAID 5 or 6.  In any case, whether you're using RAID 5 or 6, you have to replace a drive that goes bad.  The hotspare means that you've got a replacement drive ready so when one drive fails, the replacement drive automatically comes online and the array is rebuilt, without any intervention required.  That's what I'm guessing from what I've read here, anyway.  I don't actually know anything.   ;D
Check out my website for in-depth reviews of children's books, games, and educational apps for the iPad:

Best Kid iPad Apps

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #36 on: February 02, 2008, 01:21:47 pm »
I assume you can use a hotspare with RAID 5 or 6.  In any case, whether you're using RAID 5 or 6, you have to replace a drive that goes bad.  The hotspare means that you've got a replacement drive ready so when one drive fails, the replacement drive automatically comes online and the array is rebuilt, without any intervention required.  That's what I'm guessing from what I've read here, anyway.  I don't actually know anything.   ;D
Indeed, but when you are ready to supply an extra drive in there anyway then RAID 6 would use that extra drive so you have two drives for parity. That means 2 drives can fail and the array is not vulnerable while it's restoring the array from a single drive failure.

Guess it's not that different when the hot spare comes in quick enough and RAID 6 would probably be slower in writing. I'd say RAID 6 is safer though. Even a single extra bad block during or before rebuilding can destroy the entire array with RAID 5.
This signature is intentionally left blank

boykster

  • This thread makes my brain hurt worse than Vogon poetry....
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:February 04, 2025, 10:07:57 pm
  • The cake is a lie!
Re: Raid 5 guestions??
« Reply #37 on: February 02, 2008, 02:04:24 pm »
My 3ware 9550sx will email me with any problem that occurs.

My 7000 series card do as well.

I'm not all that well versed on the advantage of RAID5 + hotspare vs RAID6; my cards don't support RAID6.  I don't even use a hotspare right now, I keep a cold spare ready to swap in.


patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re: Raid 5 guestions??
« Reply #38 on: February 02, 2008, 03:01:52 pm »
My 3ware 9550sx will email me with any problem that occurs.

My 7000 series card do as well.

I'm not all that well versed on the advantage of RAID5 + hotspare vs RAID6; my cards don't support RAID6.  I don't even use a hotspare right now, I keep a cold spare ready to swap in.

I thought that squirrellydw said that his RAID card supported RAID 6.

I have never used RAID 6 either, but with RAID 5 I'm always one step away from a heart attack when the array is rebuilding. If a bad block is found during rebuilding then you potentially could have a double drive failure. RAID 6 shouldn't have a problem with that.

I guess it depends on how quickly it detects a bad block. I always assumed it would only see a block failure when it accessed a specific block. That would mean a bad block could exist on a drive for a long time before it is detected. It might only be while rebuilding the array after a drive failure that it stumbles on a previously undetected bad block on one of the other drives. I suspect that this happened at least once to me. The system reported a single drive failure and when it was rebuilding it suddenly reported a double failure.

I actually mostly use hardware mirroring. I think I have had a dozen or so RAID 5 configurations on our web and file servers over the last 10 years and I got so fed up with all the RAID 5 hassle (backup problems and recovery problems) that I mostly switched to mirroring now.

I have mirroring (double hotswap unit) on my webservers and workstation (on my notebook even) and only use raid 5 on the file server. Mirroring is so much easier to recover and does not depend on any hardware or specific configurations. Besides, I just swap out a disk and I have a backup. I prefer using that in situations where I don' t need a lot of storage.

BTW another issue with backups is protection against deletes and/or accidental changes (ie stupidity or viruses) The ReadyNAS has a nice backup method where it keeps a previous version of all files. On my webservers I use rdiff backup to keep all different versions for over a month or so.
This signature is intentionally left blank

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: Raid 5 guestions??
« Reply #39 on: February 02, 2008, 07:37:58 pm »
Yes, I am planing on raid 6 plus 1 hotspare
I b**ch. People listen!!