LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-31-2013, 01:57 PM   #1
ccc
Member
 
Registered: Oct 2002
Posts: 79

Rep: Reputation: 0
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.
 
Old 10-31-2013, 04:48 PM   #2
gtrawoger
Member
 
Registered: Dec 2005
Location: TO, Ontario, Canada
Distribution: Ubuntu 14.04, CentOS 6.5
Posts: 37

Rep: Reputation: 17
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.
 
Old 10-31-2013, 04:51 PM   #3
gtrawoger
Member
 
Registered: Dec 2005
Location: TO, Ontario, Canada
Distribution: Ubuntu 14.04, CentOS 6.5
Posts: 37

Rep: Reputation: 17
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.
 
1 members found this post helpful.
Old 10-31-2013, 04:58 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,120

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 11-09-2013, 09:08 AM   #5
ccc
Member
 
Registered: Oct 2002
Posts: 79

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gtrawoger View Post
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.

Last edited by ccc; 11-09-2013 at 09:14 AM.
 
  


Reply

Tags
crash, linux, raid, raid5, rebuild


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check Tape size ( Percentage free and utilize space) sanjayraghuwanshi Linux - General 6 04-04-2013 11:49 AM
[SOLVED] Expanded Hardware Raid 5 Array doesn't show new free space Slackware 10.2 mgallatin Linux - Server 6 08-21-2010 05:48 PM
available disk space and percentage used doesn't tally smallbook Linux - Newbie 5 02-27-2008 04:09 AM
Crash & Subsequent RAID Rebuild itnaa Linux - Newbie 2 08-14-2007 01:29 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration