LinuxQuestions.org
Review your favorite Linux distribution.
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 02-28-2006, 10:38 PM   #1
iammisc
Member
 
Registered: Oct 2005
Location: California
Distribution: Slackware rules!
Posts: 31

Rep: Reputation: 15
adding a hard drive to an existing software raid array


Let's say I have a Software RAID 5 array. Can I turn off the computer, add a new hard disk and add it to the raid 5 array and then run mkraid again or something?

If so, how should I go about adding a new drive to an existing raid 5 array?

Thanks.
 
Old 03-01-2006, 12:18 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
If you are referring to mdadm raids, you can only change the number of active devices in a software raid1 using the mdadm Grow Mode (option -G or --grow).

At some time in the future, it is anticipated that you will be able to change the number of active devices in a software raid5, but it isnít currently implemented.

To add an extra drive as an active device to your raid5, you will need to start from scratch and rebuild the raid5 with the extra active device.
 
Old 03-01-2006, 05:47 PM   #3
iammisc
Member
 
Registered: Oct 2005
Location: California
Distribution: Slackware rules!
Posts: 31

Original Poster
Rep: Reputation: 15
If i rebuild the raid 5, will my old data still be there?
 
Old 03-01-2006, 06:08 PM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Not in a usable form.

You will need to backup and restore your files.
 
  


Reply


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
using mdadm to grow an existing RAID 1 array kevburger Linux - Hardware 1 08-18-2005 08:17 AM
Software RAID 1 from Existing Boot Drive johnwyles Linux - General 1 08-05-2005 11:42 AM
Dual-booting on an existing WinXP Raid 1 array?? bobbryce Fedora - Installation 1 06-28-2005 01:51 PM
Adding ide drive to existing raid 5 help koj333 Linux - Hardware 3 09-28-2003 12:28 PM
adding new hard drive to existing linux box jaysan Linux - Newbie 2 08-09-2001 06:27 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
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