What is a Drive Failure?

MrHumbleification

Honorable
Feb 10, 2015
114
0
10,680
I was watching Linus about RAID 0 and RAID 1, and he explains that when a RAID 0 drive (or drives) fails, you lose all data. Does this mean that if the drive fails, as in it crashes, or loses power you lose all the data on the drive? Or when he says the drive fails, it is no longer working at all so you are no longer able to use? What does it mean when a drive fails? Sorry for a simple question like this, I am still learning.




















Failure
 
Solution
Fails as in stops working, if one of the drive dies, then you lose the content of the whole array, even if the other drive is still good

This is because in raid 0 the information is split between both drives, so losing either drives means losing all the data.

In raid 0 you gain performance but lose some reliability.

Losing power is not an issue, as long as the drive isn't damaged
Fails as in stops working, if one of the drive dies, then you lose the content of the whole array, even if the other drive is still good

This is because in raid 0 the information is split between both drives, so losing either drives means losing all the data.

In raid 0 you gain performance but lose some reliability.

Losing power is not an issue, as long as the drive isn't damaged
 
Solution
You gain performance because you write to both disks at once

As a simplified example if you can write to a single disk at a maximum speed of 100Mb/s, writing to both disks at once using raid 0 means you'd be able write at 200Mb/s

Note that this made a lot of sense when using mechanical hard drives (which are kind of slow)
When using SSD they are so fast already than in my opinion it's just not worth it.
 

TRENDING THREADS