|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors regular
Join Date: Jan 2008
Location: near Cambridge
|
A RAID zero question/comment
I realise that this isn't Mac Pro specific, but a lot of Mac Pro users
also use RAID. The general comment I've seen on these forums is that with RAID 0 either disk going down takes the lot (I'm talking two disk for simplicity, of course it can be extrapolated) so you're drives are twice as likely to fail. Thinking about it, isn't it worse than that? My thoughts go along these lines; with every file striped across two disks every read and write operation will involve both disks (even though it will only be half the bytes per disk). So not only will you have the factor of two from the either disk failing issue but each disk will have more stress. A particular example scenario would be reading data from one file, processing it in some way and then writing it out to another file. If you have the first file on one disk and the second on a different disk then the drive heads will not need to move much. If both disks are combined in RAID 0 then both sets of drive heads will have to jump too and fro between the two files. (I realise that both files will often be on the same disk in a non-RAID setup but I think the point is still valid for a proportion of the time.) I am no expert, but am interested in comments from those who do know about RAID. |
|
|
|
|
|
#2 |
|
macrumors 68030
Join Date: Sep 2006
Location: Chances are I'm in front of my computer, which is in Australia
|
After making sure of my logic by reading the wikipedia article on RAID 0:
A RAID 0 setup will split data in very small chunks, so unless your data is smaller than 512 bytes, it will reside in portions on both drive. That said, if you consider that both drives are 'blind', they both get the command to read a particular file, they will serve up that data as if their half portion is a complete file, only the RAID controller would know what's really happening. So then each drive would be doing as much work as any other single drive setup. Say you have, 2 disks in RAID 0, and a single file 'A' in 4 parts, A1, A2, A3, A4: Disk 1: A1 | A3 (A3 immediately follows A1, no gaps) Disk 2: A2 | A4 A request for file A will mean that the RAID controller will tell both drives to get File A. The controller will get A1 and A2 more or less at the same time, and sends it to the computer. As soon as A1 is completely read, the drive head will sit at the end of A1, ready to read A3, likewise for Disk 2. A3 and A4 will be sent in the same manner to the computer. Now if you look at the point of view of one of the disks, it looks like they are just giving all of A, like any single drive.
__________________
It's " for inches and ' for feet. | Happy my eye and my iPhone are in sync.
What TV does MacRumors watch? Have your say now! Last edited by sammich : May 2, 2009 at 08:15 AM. |
|
|
|
|
|
#3 |
|
Thread Starter
macrumors regular
Join Date: Jan 2008
Location: near Cambridge
|
What you say is correct, but what I was thinking of is that every file will
essentially be two files (one on each drive as you say) so that no matter which file is accessed both drives will be involved. I don't know what stresses drives but I would guess it is the seek operation more than the contiguous read part. If all files were contiguous (or each half-file in the RAID case) then there would be twice as many seek operations occurring in the RAID case as in the non-RAID case so the chance of one drive failing would be doubled (in my rather simplified model) which would mean that the chance of failure would be quadrupled for any particular drive (since the death of the other drive will also kill it). It was just a random thought I had whilst trying to plan my own drive set up (for a workstation which I've not yet bought). |
|
|
|
|
|
#4 |
|
macrumors member
Join Date: Apr 2008
Location: New York/Massachusetts
|
The drives are probably slightly more stressed, hence the more expensive enterprise drives that have higher vibration tolerance and reliability.
Even in NAS/raid units with only a few drives they recommend using enterprise grade drives. |
|
|
|
|
|
#5 | |||||
|
macrumors 68030
Join Date: Jan 2008
|
Quote:
Quote:
No extra "stress" is put on anything! The drives will last the SAME as if there were 1 or 10! This is fools logic you're using here. Just think about it with common sense in mind. Quote:
Quote:
Quote:
I don't get it. <shrug> |
|||||
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#6 |
|
macrumors 6502
Join Date: Mar 2008
|
If you did have 4 drives in RAID 0 (and appropriately backed up) and one of the 4 drives did fail - you can then start up again from the backed up files.
My question is: Before you can replace the data you have to set up drives again, so once you have determined which drives failed, can you replace that drive that failed with another similar drive and add it to the remaining 3 that were working fine, wipe them all and start a new RAID 0? |
|
|
|
|
|
#7 |
|
macrumors 6502
Join Date: Aug 2002
|
Works for Me
I've been running a 2.66 in a RAID0 with 4 Seagate 500GB drives for over a year and I have never had a hiccup.But my first defense against lost is Timemachine on a 2TB RAID1. Wish I had a DROBO.
I used run an old Mac desktop with a 2 drive RAID over SCCI. Now that was always having to be rebuilt. Currently, I am also using Backblaze in the "cloud" backup service. Oh, yeah I also use another service that just backs up my music online. Am I paranoid because the RAID0 is likely to fail more? No, because all drives will fail. It is just a matter of when. |
|
|
|
|
|
#8 | |||
|
macrumors 68030
Join Date: Sep 2006
Location: Chances are I'm in front of my computer, which is in Australia
|
Uh...yeah. You're getting mixed up with RAID 1. Which has REDUNDANCY.
Quote:
Quote:
Quote:
__________________
It's " for inches and ' for feet. | Happy my eye and my iPhone are in sync.
What TV does MacRumors watch? Have your say now! |
|||
|
|
|
|
|
#9 | |
|
macrumors 68030
Join Date: Sep 2006
Location: Chances are I'm in front of my computer, which is in Australia
|
Quote:
__________________
It's " for inches and ' for feet. | Happy my eye and my iPhone are in sync.
What TV does MacRumors watch? Have your say now! |
|
|
|
|
|
|
#10 |
|
macrumors regular
Join Date: Feb 2008
|
|
|
|
|
| almostinsane |
| View Public Profile |
| Find More Posts by almostinsane |
|
|
#11 | |||
|
macrumors 68030
Join Date: Jan 2008
|
Quote:
Nope. We're talking about RAID level 0 here. I know very well what I'm saying. Quote:
Quote:
|
|||
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#12 |
|
macrumors 68030
Join Date: Jan 2008
|
|
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#13 |
|
macrumors 68030
Join Date: Jan 2008
|
Yes. This is right for the most part. It's more complex but basically this is right.
|
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#14 |
|
macrumors 6502
Join Date: Aug 2008
Location: Coventry, UK
|
Loosing data doesn't concern me too much on my raid 0. It's purely for transient Final Cut work. My working project file is saved to another drive and all the video/audio files have been copied to the raid from somewhere else anyway. If it goes down then it's a slight inconvenience especially as I'm not in business.
I have a raid 0 and a raid 1 on the same pair of drives. First partition on each drive is for my raid 0. Small partition to help keep data to the faster outer edge of the disk. The remainder of the disks is setup as a raid 1 mirror for longer term data.
__________________
iPhone 3GS 32Gb White MP09 Quad 2.66Ghz,6Gb,300gb Velociraptor MBP 15" 2.4Ghz/4GB/320GB+500GB Optibay
|
|
|
|
|
|
#15 |
|
macrumors 6502a
Join Date: Apr 2006
Location: U.S.A.
|
You could go crazy trying to calculate failure frequencies and I wouldn't bother.
IMO, I suppose if you are consumed by failure rates, about the only factor I would consider is a very basic view that the more raid0 drives you have the higher the chance of a failure. Start with new drives, build your system, use a good backup/recovery strategy then relax and have a home brew. Other factors I would not loose any sleep over.
__________________
Mid-2010 Mini, 23" ACD PowerMac, dual G5 2.7 LC, 4.5 GB RAM, RAID 0 |
|
|
|
| QuantumLo0p |
| View Public Profile |
| Find More Posts by QuantumLo0p |
|
|
#16 | |
|
macrumors 68030
Join Date: Jan 2008
|
Quote:
The truth is just like you say. It's the same deal as a single drive for all but the over analytical navel gazers (or where HIGHLY secure systems are required - [like in a bank or something]). Use good, new, healthy drives, keep a backup, and just enjoy the speed.
|
|
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#17 | |
|
macrumors 68030
Join Date: Sep 2006
Location: Chances are I'm in front of my computer, which is in Australia
|
If you would be so kind as to explain why, in a pure RAID 0 setup, if one of the disks goes down, it wouldn't cause a total loss of data in that array.
Quote:
ALSO: unless you're referring to probability vs. possibility vs. likelihood.
__________________
It's " for inches and ' for feet. | Happy my eye and my iPhone are in sync.
What TV does MacRumors watch? Have your say now! Last edited by sammich : May 2, 2009 at 08:08 PM. |
|
|
|
|
|
|
#18 | |||
|
macrumors 68030
Join Date: Jan 2008
|
Quote:
Quote:
EDIT: While "weakest link" logic does indeed apply I propose to you the question: Does a chain with 200 links break 100 times more often than a chain with 2 links? Or does it last the typical life of "a chain" when cared for and used properly? Quote:
. Last edited by Tesselator : May 2, 2009 at 09:03 PM. |
|||
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#19 | ||
|
macrumors 68030
Join Date: Sep 2006
Location: Chances are I'm in front of my computer, which is in Australia
|
Quote:
So you're talking about the 'likelihood' of such a drive failure. Yes, if you are given the typical drive, chances are you will never see it have any problem until 6 years down the track. BUT there is that small chance that something could happen and you lose everything. Adding the second drive will double that small chance. Still a small chance, but still double a single drive nonetheless. Quote:
Probability a drive will fail after 1 month: 1/10^9 2 drive RAID 0 setup: ~2/10^9 ** now that means nothing to the average person all they understand is: Possibility: Complete data loss after 1 month: 50%. It either happens or it doesn't, but that's non-sensical too ** but in all likelihood, the drives will last at least 4 years before one fails.
__________________
It's " for inches and ' for feet. | Happy my eye and my iPhone are in sync.
What TV does MacRumors watch? Have your say now! Last edited by sammich : May 2, 2009 at 09:27 PM. |
||
|
|
|
|
|
#20 | |
|
macrumors 68030
Join Date: Jan 2008
|
Quote:
|
|
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#21 | |
|
macrumors 68030
Join Date: Sep 2006
Location: Chances are I'm in front of my computer, which is in Australia
|
Quote:
A billion drives in RAID 0 is almost guaranteed to fail in, say, a month.
__________________
It's " for inches and ' for feet. | Happy my eye and my iPhone are in sync.
What TV does MacRumors watch? Have your say now! |
|
|
|
|
|
|
#22 |
|
macrumors 68030
Join Date: Jan 2008
|
|
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
|
|
#23 |
|
macrumors newbie
Join Date: May 2009
|
Tessalator,
Are you really saying that a RAID 0 is not twice as likely to fail than a single disk? You have pointed out the apparent misunderstand of raid 0 reliability but not explained much. You have really gotten me thinking about this whole probability of failure for raid0 thing. I've registered here because of what you have written. Lets think in terms of probability and chance... I have thought of the situation compared to using dice. Consider throwing a 4 as a drive failure. I have 1 in 6 chance of a four for every throw. A one in 6 chance of drive failure. If I have two dice I now have 36 combinations (1,1; 1,2; ... 6,5; 6,6). Out of those combinations, twelve contain a 4 (1,4; 2,4; ... 6,4 and 4,1; 4,2; ... 4,6) So, I know have a chance of throwing a 4 of 12 in 36. That is, 1 in 3. My probability has halved. I am twice as likely to throw a 4. I am twice as likely to experience a storage failure. Now I know "probability" is a confusing subject and I've certainly been a victim of misunderstanding. Please can you explain why I am not twice as likely to have a 2 disk raid 0 fail on me? You have certainly made me think about all this. |
|
|
|
|
|
#24 | |
|
macrumors 68030
Join Date: Jan 2008
|
Quote:
The warrantee on a drive is 3 or 5 years or whatever. And they do not fail (typically) before then. It might be said that a single drive is likely to fail in 3 to 5 years. What the initial poster said means to me that he's trying to say that in a 2-drive raid 0 it's likely to fail in 1.5 to 2.5 years, and a 4-drive raid is likely to fail in 9 months to 15 months. This is, of course, absurd and ridiculous! The only argument in this thread which even seems sensical actually is incorrect as well. This is the Sammich proposition that "there is that small chance that something could happen and you lose everything. Adding the second drive will double that small chance." It might seem correct to say that: Month 1 = 0.1% chance to fail in single drive. (1 in 1,000) Month 1 = 0.2% chance to fail in 2-drive raid. (2 in 1,000) Month 1 = 0.3% chance to fail in 3-drive raid. (3 in 1,000) and after that: Year 1 = 0.001% chance to fail in single drive. (1 in 100,000) Year 1 = 0.002% chance to fail in 2-drive raid. (2 in 100,000) Year 1 = 0.003% chance to fail in 3-drive raid. (3 in 100,000) Year 2 = 0.01% chance to fail in single drive. (1 in 10,000) Year 2 = 0.02% chance to fail in 2-drive raid. (2 in 10,000) Year 2 = 0.03% chance to fail in 3-drive raid. (3 in 10,000) and etc. But this is actually mathematically incorrect when the myriad of other variables are considered as one would, who was actually concerned with such detail. Like the fact that being in a raid set actually reduces and distributes workload. Such social variables as owner concern and upkeep that comes into play differently than for the majority of single drive users. Environmental variables like backup, recovery, faulty upstream components, and differing internal error handling. Natural variables like lightning strikes, floods, and line surges which are not changed by any calculable degree from having more or less drives in the system. But who the heck cares about all that? It's just not going to happen so why even discuss it? If it does happen it happened within the same relative odds as a single drive or any sized raid set one of us here is likely to put together (2~8). The topic itself is retarded unless something VERY VERY important is being stored on there - like tens of millions of dollars worth of transactions - and then one only needs to consider such things so they can design proper system security to avoid the disaster from happening at all - ever. It's navel gazing and it's not even fun navel gazing as there's no pay-off from doing so - implied or actual. QuantumLo0p had it exactly right when he said: "You could go crazy trying to calculate failure frequencies and I wouldn't bother. Yup! A new chain lasts X number of years in a given environment for certain uses. It doesn't matter if there are 2 or 100 links. . Last edited by Tesselator : May 3, 2009 at 10:38 PM. |
|
|
|
|
| Tesselator |
| View Public Profile |
| Find More Posts by Tesselator |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|