LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   What's percentage of free space needs RAID 5 to rebuild after crash? (https://www.linuxquestions.org/questions/linux-hardware-18/whats-percentage-of-free-space-needs-raid-5-to-rebuild-after-crash-4175482944/)

ccc 10-31-2013 12:57 PM

What's percentage of free space needs RAID 5 to rebuild after crash?
 
hi

What's percentage of free space needs RAID 5 from a Linux server with 8 HD to rebuild, after a crash of 1 hard disk?
For example, on 1,4 TB RAID 5 is just 10 MB free space.

gtrawoger 10-31-2013 03:48 PM

Your question doesn't make sense, so I am not sure how to answer.

In RAID5 you have your parity spread over all your disks, so if one disk fails you can rebuild with the rest of them. But you can only rebuild if you have another disk of the same size (and best would be same make and model).

In your case (if I understand correctly), one of your three disks (4TB each) died. You now need another disk of 4TB and partition it the same as the other disks.

Here is quick way to copy your partition table over to the new disk from one of the working drives:
http://unix.stackexchange.com/questi...ls/60393#60393

I hope that answers your question.

gtrawoger 10-31-2013 03:51 PM

I forgot to ask (and simply assumed) if you are using mdadm for your RAID. I assume so much because you would otherwise use your hardware controller to rebuild your RAID.

In any case, if you are using mdadm, you will need to add that drive to your RAID ARRAY for the rebuild to start. And don't be surprised if it will take a couple days to finish.

Ser Olmy 10-31-2013 03:58 PM

The amount of used vs. free space on a RAID array is irrelevant to its operation.

In other words, you don't need any free space at all, just a new disk that's at least as big as the one that died.

ccc 11-09-2013 08:08 AM

Quote:

Originally Posted by gtrawoger (Post 5056104)
I forgot to ask (and simply assumed) if you are using mdadm for your RAID. I assume so much because you would otherwise use your hardware controller to rebuild your RAID.

In any case, if you are using mdadm, you will need to add that drive to your RAID ARRAY for the rebuild to start. And don't be surprised if it will take a couple days to finish.

It's mdadm.

i2_infinity 05-06-2016 10:15 AM

If your question points to percent of disk space available on a single disk for data where the disk is configured as a component of RAID 5 configuration, then you can compute it using the formula [(n-1)/n]*100. n can be substituted for the total number of disks in RAID 5 configuration.

Regards.


All times are GMT -5. The time now is 07:40 PM.