Jump to content

I need some help with RAID

 

I've seen videos and I understand things like RAID 1 and 0, but I don't understand the ones with parody disk.

 

I don't know the name of the RAID, I think its 5, but in that setup lets say you have 4 1 TB disks, A,B,C,D If each disk gets 1/4 taken up for a parody, then a total of 1 TB is lost. What I don't get is that if disk B dies for example, how will it rebuild it? How could you back up 3 TB disk on 1 TB?

Ion (Main Build)                                                                                        Overall Setup

i5 6500 3.2 GHz                                                                     -Blue snowball (White) thanks goodwill

MSI Mortar Arctic                                                                   -Logitech K120

Asus 1060 6GB Dual                                                             -Logitech Daedalus Prime G302

PNY CS1311 120 GB                                                            -Mousepad I made in 1st grade with my name on it                                                 

WD Caviar Blue 1 TB                                                              

Crucial Ballistix Sport LT White 16GB (8x2GB) 2400

NZXT S340 White

Corsair CXM 450W 

 

Lenovo H320 (Old Pre-built PC)                                      Possible upgrade for H320          

i5 650 3.2 GHz (heh)                                                                                    Xeon X3470

Motherboard unknown                                                       Same Motherboard

iGPU                                                                                   GT 1030 (MSI Low Profile Half Height)

Crucial 240GB SSD                                                           Crucial 240GB SSD

6GB DDR3 (4+2GB)                                                           8-10GB DDR3 (4+2+2GB/4+4+2GB)

Lenovo H320 case                                                             Lenovo H320 case

Unknown PSU (210W?)                                                     Same PSU (210W?)    

Link to comment
https://linustechtips.com/topic/687938-i-dont-completely-understand-raid/
Share on other sites

Link to post
Share on other sites

33 minutes ago, QuantumBit said:

I need some help with RAID

 

I've seen videos and I understand things like RAID 1 and 0, but I don't understand the ones with parody disk.

 

I don't know the name of the RAID, I think its 5, but in that setup lets say you have 4 1 TB disks, A,B,C,D If each disk gets 1/4 taken up for a parody, then a total of 1 TB is lost. What I don't get is that if disk B dies for example, how will it rebuild it? How could you back up 3 TB disk on 1 TB?

Parity contains data on the difference between two data sets. If either set is lost, it can be reconstructed from the remaining set and the parity data. Since it can go both ways, you only need one set of parity data to protect two data sets.

 

Lets say you have two 8 bit disks.

 

The data on the disks is:

A: 00100110
B: 11101100

You have a third disk, C, which contains 8 more bits that represent whether each bit of A and B is the same or different from the other (1 if the same, and 0 if different).

C: 00110101

If disk A fails, you can take the data from disk B and use the parity data to determine what A was. If a bit of C is 0, then the lost bit of A is the opposite of B's bit. If C's bit is 1, then the lost bit of A is the same as B's bit. And the same parity data can be used to reconstruct B if B is lost instead of A. So you only need 8 bits of parity to protect 16 bits of data, so if you had a 24 bits worth of data storage, you can use 2/3 of it for data and 1/3 for parity-based redundancy.

Link to post
Share on other sites

it's data voodoo

desktop

Spoiler

r5 3600,3450@0.9v (0.875v get) 4.2ghz@1.25v (1.212 get) | custom loop cpu&gpu 1260mm nexxos xt45 | MSI b450i gaming ac | crucial ballistix 2x8 3000c15->3733c15@1.39v(1.376v get) |Zotac 2060 amp | 256GB Samsung 950 pro nvme | 1TB Adata su800 | 4TB HGST drive | Silverstone SX500-LG

HTPC

Spoiler

HTPC i3 7300 | Gigabyte GA-B250M-DS3H | 16GB G Skill | Adata XPG SX8000 128GB M.2 | Many HDDs | Rosewill FBM-01 | Corsair CXM 450W

 

 

Link to post
Share on other sites

2 minutes ago, Glenwing said:

Parity contains data on the difference between two data sets. If either set is lost, it can be reconstructed from the remaining set and the parity data. Since it can go both ways, you only need one set of parity data to protect two data sets.

 

Lets say you have two 1 TB disks.

 

The first 8 bits on the each disk are:


A: 00100110
B: 11101100

You have a third disk, C, which contains 8 more bits that represent whether each bit of A and B is the same or different (1 if the same, and 0 if different).


C: 00110101

If disk A fails, you can take the data from disk B and use the parity data to determine what A was. If a bit of C is 0, then the lost bit of A is the opposite of B's bit. If C's bit is 1, then the lost bit of A is the same as B's bit. And the same parity data can be used to reconstruct B if B is lost instead of A. So you only need 8 bits of parity to protect 16 bits of data, so if you had a 24 bits worth of data storage, you can use 2/3 of it for data and 1/3 for parity-based redundancy.

Woah thats a really smart system, also thanks for the great explanation!

Ion (Main Build)                                                                                        Overall Setup

i5 6500 3.2 GHz                                                                     -Blue snowball (White) thanks goodwill

MSI Mortar Arctic                                                                   -Logitech K120

Asus 1060 6GB Dual                                                             -Logitech Daedalus Prime G302

PNY CS1311 120 GB                                                            -Mousepad I made in 1st grade with my name on it                                                 

WD Caviar Blue 1 TB                                                              

Crucial Ballistix Sport LT White 16GB (8x2GB) 2400

NZXT S340 White

Corsair CXM 450W 

 

Lenovo H320 (Old Pre-built PC)                                      Possible upgrade for H320          

i5 650 3.2 GHz (heh)                                                                                    Xeon X3470

Motherboard unknown                                                       Same Motherboard

iGPU                                                                                   GT 1030 (MSI Low Profile Half Height)

Crucial 240GB SSD                                                           Crucial 240GB SSD

6GB DDR3 (4+2GB)                                                           8-10GB DDR3 (4+2+2GB/4+4+2GB)

Lenovo H320 case                                                             Lenovo H320 case

Unknown PSU (210W?)                                                     Same PSU (210W?)    

Link to post
Share on other sites

Linus has a video on TechQuickie abou raid 0,1, and 10, and also 5 and 6 I think. Not at my desktop so I can't link them but look it up

My Build, v2.1 --- CPU: i7-8700K @ 5.2GHz/1.288v || MoBo: Asus ROG STRIX Z390-E Gaming || RAM: 4x4GB G.SKILL Ripjaws 4 2666 14-14-14-33 || Cooler: Custom Loop || GPU: EVGA GTX 1080 Ti SC Black, on water || PSU: EVGA G2 850W || Case: Corsair 450D || SSD: 850 Evo 250GB, Intel 660p 2TB || Storage: WD Blue 2TB || G502 & Glorious PCGR Fully Custom 80% Keyboard || MX34VQ, PG278Q, PB278Q

Audio --- Headphones: Massdrop x Sennheiser HD 6XX || Amp: Schiit Audio Magni 3 || DAC: Schiit Audio Modi 3 || Mic: Blue Yeti

 

[Under Construction]

 

My Truck --- 2002 F-350 7.3 Powerstroke || 6-speed

My Car --- 2006 Mustang GT || 5-speed || BBK LTs, O/R X, MBRP Cat-back || BBK Lowering Springs, LCAs || 2007 GT500 wheels w/ 245s/285s

 

The Experiment --- CPU: i5-3570K @ 4.0 GHz || MoBo: Asus P8Z77-V LK || RAM: 16GB Corsair 1600 4x4 || Cooler: CM Hyper 212 Evo || GPUs: Asus GTX 750 Ti, || PSU: Corsair TX750M Gold || Case: Thermaltake Core G21 TG || SSD: 840 Pro 128GB || HDD: Seagate Barracuda 2TB

 

R.I.P. Asus X99-A motherboard, April 2016 - October 2018, may you rest in peace. 5820K, if I ever buy you a new board, it'll be a good one.

Link to post
Share on other sites

Just now, Cereal5 said:

Linus has a video on TechQuickie abou raid 0,1, and 10, and also 5 and 6 I think. Not at my desktop so I can't link them but look it up

Yea I already watched them but I didn't understand how you could repair a disk that randomly failed

Ion (Main Build)                                                                                        Overall Setup

i5 6500 3.2 GHz                                                                     -Blue snowball (White) thanks goodwill

MSI Mortar Arctic                                                                   -Logitech K120

Asus 1060 6GB Dual                                                             -Logitech Daedalus Prime G302

PNY CS1311 120 GB                                                            -Mousepad I made in 1st grade with my name on it                                                 

WD Caviar Blue 1 TB                                                              

Crucial Ballistix Sport LT White 16GB (8x2GB) 2400

NZXT S340 White

Corsair CXM 450W 

 

Lenovo H320 (Old Pre-built PC)                                      Possible upgrade for H320          

i5 650 3.2 GHz (heh)                                                                                    Xeon X3470

Motherboard unknown                                                       Same Motherboard

iGPU                                                                                   GT 1030 (MSI Low Profile Half Height)

Crucial 240GB SSD                                                           Crucial 240GB SSD

6GB DDR3 (4+2GB)                                                           8-10GB DDR3 (4+2+2GB/4+4+2GB)

Lenovo H320 case                                                             Lenovo H320 case

Unknown PSU (210W?)                                                     Same PSU (210W?)    

Link to post
Share on other sites

1 minute ago, QuantumBit said:

Yea I already watched them but I didn't understand how you could repair a disk that randomly failed

Oh yeah me neither. Except the part that any raid except 0 can be backed up because there's always another drive that stores that one drives information. Even if the main drive failed all the other ones could be used to piece it together

My Build, v2.1 --- CPU: i7-8700K @ 5.2GHz/1.288v || MoBo: Asus ROG STRIX Z390-E Gaming || RAM: 4x4GB G.SKILL Ripjaws 4 2666 14-14-14-33 || Cooler: Custom Loop || GPU: EVGA GTX 1080 Ti SC Black, on water || PSU: EVGA G2 850W || Case: Corsair 450D || SSD: 850 Evo 250GB, Intel 660p 2TB || Storage: WD Blue 2TB || G502 & Glorious PCGR Fully Custom 80% Keyboard || MX34VQ, PG278Q, PB278Q

Audio --- Headphones: Massdrop x Sennheiser HD 6XX || Amp: Schiit Audio Magni 3 || DAC: Schiit Audio Modi 3 || Mic: Blue Yeti

 

[Under Construction]

 

My Truck --- 2002 F-350 7.3 Powerstroke || 6-speed

My Car --- 2006 Mustang GT || 5-speed || BBK LTs, O/R X, MBRP Cat-back || BBK Lowering Springs, LCAs || 2007 GT500 wheels w/ 245s/285s

 

The Experiment --- CPU: i5-3570K @ 4.0 GHz || MoBo: Asus P8Z77-V LK || RAM: 16GB Corsair 1600 4x4 || Cooler: CM Hyper 212 Evo || GPUs: Asus GTX 750 Ti, || PSU: Corsair TX750M Gold || Case: Thermaltake Core G21 TG || SSD: 840 Pro 128GB || HDD: Seagate Barracuda 2TB

 

R.I.P. Asus X99-A motherboard, April 2016 - October 2018, may you rest in peace. 5820K, if I ever buy you a new board, it'll be a good one.

Link to post
Share on other sites

Just now, Cereal5 said:

Oh yeah me neither. Except the part that any raid except 0 can be backed up because there's always another drive that stores that one drives information. Even if the main drive failed all the other ones could be used to piece it together

Ah ok thank you

Ion (Main Build)                                                                                        Overall Setup

i5 6500 3.2 GHz                                                                     -Blue snowball (White) thanks goodwill

MSI Mortar Arctic                                                                   -Logitech K120

Asus 1060 6GB Dual                                                             -Logitech Daedalus Prime G302

PNY CS1311 120 GB                                                            -Mousepad I made in 1st grade with my name on it                                                 

WD Caviar Blue 1 TB                                                              

Crucial Ballistix Sport LT White 16GB (8x2GB) 2400

NZXT S340 White

Corsair CXM 450W 

 

Lenovo H320 (Old Pre-built PC)                                      Possible upgrade for H320          

i5 650 3.2 GHz (heh)                                                                                    Xeon X3470

Motherboard unknown                                                       Same Motherboard

iGPU                                                                                   GT 1030 (MSI Low Profile Half Height)

Crucial 240GB SSD                                                           Crucial 240GB SSD

6GB DDR3 (4+2GB)                                                           8-10GB DDR3 (4+2+2GB/4+4+2GB)

Lenovo H320 case                                                             Lenovo H320 case

Unknown PSU (210W?)                                                     Same PSU (210W?)    

Link to post
Share on other sites

7 minutes ago, Cereal5 said:

Oh yeah me neither. Except the part that any raid except 0 can be backed up because there's always another drive that stores that one drives information. Even if the main drive failed all the other ones could be used to piece it together

Ah, so lets say you have a 4X1TB drive RAID 5. You will effectively get 3TB total storage, and 1TB is being used for parity. If drive 1 fails, a third of the info from that drive was also stored one each of the other drives as well. Once you put a new drive to replace drive 1, your computer (or RAID controller) will start copying all of the drive 1 parity data from the other 3 drives in order to rebuild the first drive, then it will have to create new parity data for the other 3 drives onto itself.

While an array is re-building, it becomes degraded, and it will be much slower to access, and if a single drive fails during this process, your data is gone bro. Unless of course you had multiple redundancy built into your array.

When in doubt, re-format.

Link to post
Share on other sites

50 minutes ago, Cereal5 said:

Oh yeah me neither. Except the part that any raid except 0 can be backed up because there's always another drive that stores that one drives information. Even if the main drive failed all the other ones could be used to piece it together

 

43 minutes ago, SCHISCHKA said:

before you implement RAID; RAID is not a proper back up solution. Its redundancy for uninterrupted service

See second quote.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×