Jump to content

RAID rebuild time

Is there a way to estimate how long it will take to rebuild a RAID 5 or 6 array? Since the change of failure is highest at these times, I was wondering, when I experience a drive failure in a 5x4TB RAID 5, for example, how long a rebuild would take.

Is it just rebuild time = (HDD size / HDD speed) with a bit of overhead for parity in the most ideal case?

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, tikker said:

Is there a way to estimate how long it will take to rebuild a RAID 5 or 6 array? Since the change of failure is highest at these times, I was wondering, when I experience a drive failure in a 5x4TB RAID 5, for example, how long a rebuild would take.

Is it just rebuild time = (HDD size / HDD speed) with a bit of overhead for parity in the most ideal case?

There is no real way to know for sure, partly depends on your OS and tons of other things. When I calculate it, I generally go with SIZE/(SPEED*0.75)=TIME

Link to comment
Share on other sites

Link to post
Share on other sites

There are a lot of variables... A few variables would be type of RAID, RAID or HDD controller, file system used, how much data on disks, drive type and speed (not just platter speed), if you're reading/writing data while the array is rebuilding, etc.

 

There's no place like ~

Spoiler

Problems and solutions:

 

FreeNAS

Spoiler

Dell Server 11th gen

Spoiler

 

 

 

 

ESXI

Spoiler

 

 

 

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

I had to resilver my server 8 drive raid6 and I factored if I had 1TB of data/8 = ~ 128GB / 175MB/s = seconds to resilver array...rough estimate.

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Windows7ge said:

I had to resilver my server 8 drive raid6 and I factored if I had 1TB of data/8 = ~ 128GB / 175MB/s = seconds to resilver array...rough estimate.

Im guessing your using ZFS

 

Though one thing to note with zfs is a rebuilt or resilver only moves where there is data on the drive, unlike with hardware raid or other software raid solutions like md where they will always rebuild the whole drive, no matter how much data is on it.

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Electronics Wizardy said:

Im guessing your using ZFS

Weather you're basing that presumption off of past conversations we've had or from the keyword "resilver" you are correct. To be more specific it's ZFS on FreeNAS.

 

To expand on your explanation I do have to ask does that mean when the Partition/RAID is first constructed does it format the entire disk(s) or rather does it expand the partition as data is added?

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Windows7ge said:

To expand on your explanation I do have to ask does that mean when the Partition/RAID is first constructed does it format the entire disk(s) or rather does it expand the partition as data is added?

It formats the whole new drive, but only copyies the blocks with data over, as ZFS knows what block have data, unlike hardware raid that doesn't know where the data is.

Link to comment
Share on other sites

Link to post
Share on other sites

On 07/04/2018 at 5:53 PM, KirbyTech said:

There is no real way to know for sure, partly depends on your OS and tons of other things. When I calculate it, I generally go with SIZE/(SPEED*0.75)=TIME

Ah kind of what I was expecting.

On 07/04/2018 at 5:54 PM, Razor Blade said:

There are a lot of variables... A few variables would be type of RAID, RAID or HDD controller, file system used, how much data on disks, drive type and speed (not just platter speed), if you're reading/writing data while the array is rebuilding, etc.

 

 

On 07/04/2018 at 5:55 PM, Windows7ge said:

I had to resilver my server 8 drive raid6 and I factored if I had 1TB of data/8 = ~ 128GB / 175MB/s = seconds to resilver array...rough estimate.

It won't be used when rebuilding most likely (it's not used that intensively in the first place).

 

So rough estimates is all we'll get. That works for me. Hopefully it'll be a long time before this happens and fingers crossed stuff doesn't die while rebuilding :D 

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

This is actually a pretty big topic, but.. software to the rescue, I believe newer versions of ZFS will just tell you. do zpool status. it should tell you when it started and give you some indication of its progress and speed. (how accurate it is idk)

 

resilver on zfs is basically a scrub. so as long as it takes to scrub should be the same as resilver I would think.

"Only proprietary software vendors want proprietary software." - Dexter's Law

Link to comment
Share on other sites

Link to post
Share on other sites

10 hours ago, jde3 said:

This is actually a pretty big topic, but.. software to the rescue, I believe newer versions of ZFS will just tell you. do zpool status. it should tell you when it started and give you some indication of its progress and speed. (how accurate it is idk)

 

resilver on zfs is basically a scrub. so as long as it takes to scrub should be the same as resilver I would think.

In the end this probably ties back to the age old problem of "predicting the unpredictable" of progress bars, I guess. I was thinking about using Unraid though, so no ZFS for me.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, tikker said:

In the end this probably ties back to the age old problem of "predicting the unpredictable" of progress bars, I guess. I was thinking about using Unraid though, so no ZFS for me.

Ahh your killin me smalls. :P

 

Pretty sure Linus is the only person that's ever used Unraid for anything.. but you know.. it's your data.

"Only proprietary software vendors want proprietary software." - Dexter's Law

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, jde3 said:

Ahh your killin me smalls. :P

 

Pretty sure Linus is the only person that's ever used Unraid for anything.. but you know.. it's your data.

It's either unRAID or RAID 5. The formers expandability sounds nice, but on the other hand just setting up a proper RAID 5 once sounds much better and interesting, so who knows :P First I'll have to finish getting all the drives.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

Expandability isn't everything. It sounds nice, "hea I'll just pop in more drives" but in practice there is a limit to how many disks you can actually attach to a system and what you might just want in the future is just larger newer drives, something ZFS does just fine.

 

I don't want to start a flame war, you can use unraid/btrfs and it's fine for home use sure, anything works for home but it isn't really accepted in industry (to my knowledge at least) and I'm not sure it ever will be due to it's rough start and potential design problems, that could change and I could be totally wrong.. it's just.. usually not the route to success and acceptance file systems take though (it reminds me of ReiserFS 10 years ago). As a sysadmin I haven't spent any time learning it because.. I honestly never see it. I work and have worked generally with Sun, FreeBSD, Linux, some OpenBSD and Unix systems in general though so maybe I'm a self selecting sample here due to my specialization in the industry..

 

From a technical aspect btrfs is a cool idea.. they have to get the design right though. That is NOT easy many large corporations and brilliant people have failed down this road.

"Only proprietary software vendors want proprietary software." - Dexter's Law

Link to comment
Share on other sites

Link to post
Share on other sites

Generally speaking, the likelyhood of a 2nd drive crash during a rebuild is rather slim, at least if you didn't buy consumer drives from the same batch. NAS and Enterprise drives are always picked from different batches when you order them, which minimizes the risk of a faulty batch causing massive data loss.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
Share on other sites

Link to post
Share on other sites

28 minutes ago, NelizMastr said:

Generally speaking, the likelyhood of a 2nd drive crash during a rebuild is rather slim, at least if you didn't buy consumer drives from the same batch. NAS and Enterprise drives are always picked from different batches when you order them, which minimizes the risk of a faulty batch causing massive data loss.

I was wondering about the batches if I were to order 6 drives at once. That's cool if they already take that into account with NAS drives.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, tikker said:

I was wondering about the batches if I were to order 6 drives at once. That's cool if they already take that into account with NAS drives.

Yep, a decent retailer will do this for you (as it's per instruction of the harddisk manufacturers). My 2 4TB Ironwolf drives are from completely different batches and were ordered at once.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
Share on other sites

Link to post
Share on other sites

It can happen, don't think that it *never* will. Backups are still necessary. (ie: having the data in two places)

"Only proprietary software vendors want proprietary software." - Dexter's Law

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, jde3 said:

It can happen, don't think that it *never* will. Backups are still necessary. (ie: having the data in two places)

Oh no doubt. RAID is never a back-up.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, tikker said:

It's either unRAID or RAID 5. The formers expandability sounds nice, but on the other hand just setting up a proper RAID 5 once sounds much better and interesting, so who knows :P First I'll have to finish getting all the drives.

 

Are you saying hardware raid isn't expandable? O.o

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Jarsky said:

 

Are you saying hardware raid isn't expandable? O.o

Not easliy right?

 

Anyway, after seeing @AshleyAshes topic, FlexRAID has now caught my attention :P 

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

Hardware RAID is typically quite easy. Especially LSI with their MegaRAID software, its probably the easiest. 

e.g http://sprava-site-stanic-a-serveru.cz/lsi-megaraid-manager-raid-array-extension.htm

 

Of course Hardware RAID is more expensive

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

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

×