LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-25-2011, 10:19 PM   #1
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Software Raid5 adding new disk


Hi guys,

Just a quick question, I have searched around on Google, but am having a hard time coming up with the answer I am looking for. If you could just shoot it to me straight I would appreciate it.

I am building a 4 x 2TB Raid 5 software array in Redhat, before i start this array I wanted to know if at some point in the future I can add a New Disk to the array and go from 4 to 5 disk's and not loose everything? As in start the array over from scratch?

I did see on some legacy pages I found from 2k6 that it was only possible with Raid 1, but need to know if this works with 5?

My goal is to just extend the LV once the new disk is in the array...
 
Old 08-25-2011, 11:24 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
mdadm man page says
Code:
Grow  (or  shrink)  an array, or otherwise reshape it in some way.  Currently supported growth
      options include changing the active size of component  devices  and  changing  the  number  of
      active devices in RAID levels 1/4/5/6, as well as adding or removing a write-intent bitmap.
but i have no experience using this option. Also this is a very time consuming job on RAID-5. All data has to be redistributed to all disks, and i'm not sure what state the array has in case of failure during this relocation.
 
1 members found this post helpful.
Old 08-25-2011, 11:29 PM   #3
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Original Poster
Rep: Reputation: 29
thanks, i dont know why i did not think to look through the man pages.. =/ 1st mistake on my part, but i will run the risk. I will build it and when time comes back it up to tape as a fail safe before the grow.
 
  


Reply



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
Adding hard disk to Software RAID after crash rajesh.bahl Linux - Server 1 01-02-2009 07:28 AM
adding another 1TB drive to raid5 array. javaholic Linux - Server 5 08-26-2008 10:59 AM
adding new disk to software RAID5 boToo Linux - Server 2 02-27-2007 05:22 AM
multiple disk failure in RAID5 and dd gorets Linux - Software 1 07-21-2005 09:25 AM
adding new hd in raid5 software slack66 Linux - Hardware 1 08-27-2003 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:52 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
Open Source Consulting | Domain Registration