LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2013, 06:54 AM   #1
glennbtn
Member
 
Registered: Dec 2009
Posts: 117

Rep: Reputation: 18
mdadm spare drive


Hi All.

Been running software raid 1 on my Ubuntu 12.4 box happily. I would like to know if I can now add a spare drive with out doing a rebuild.

I have installed the drive and copied the partitions but not sure how to add this to the raid now as a spare

Any advise here would be good

Thanks

Glenn
 
Old 11-21-2013, 08:55 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,270

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Should be something like:
Code:
mdadm /dev/md1 --add /dev/sdc1
where md1 is the raid array and sdc1 is the partition you want to add as a spare.
 
  


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
mdadm - re-added disk treated as spare wingnut64 Linux - Server 11 08-26-2015 10:50 PM
mdadm making a spare by default? jamida Linux - Software 2 01-30-2010 11:25 AM
mdadm - removing faulty spare carlmarshall Linux - Server 7 04-28-2009 05:31 PM
mdadm forced resyncing to activate spare drive javaholic Linux - Server 3 12-15-2008 07:24 AM
[Fedora 9]mdadm + faulty spare setkos Linux - Newbie 0 10-30-2008 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration