LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 02-28-2006, 11:38 PM   #1
iammisc
Member
 
Registered: Oct 2005
Location: California
Distribution: Slackware rules!
Posts: 31
Thanked: 0
adding a hard drive to an existing software raid array


[Log in to get rid of this advertisement]
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.
iammisc is offline     Reply With Quote
Old 03-01-2006, 01: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
Thanked: 0
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.
WhatsHisName is offline     Reply With Quote
Old 03-01-2006, 06:47 PM   #3
iammisc
Member
 
Registered: Oct 2005
Location: California
Distribution: Slackware rules!
Posts: 31
Thanked: 0

Original Poster
If i rebuild the raid 5, will my old data still be there?
iammisc is offline     Reply With Quote
Old 03-01-2006, 07: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
Thanked: 0
Not in a usable form.

You will need to backup and restore your files.
WhatsHisName is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 05:56 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration