LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-10-2008, 04:15 PM   #1
jeriryan
Member
 
Registered: Apr 2003
Location: United States
Distribution: RHEL 5.4, Snow Leopard
Posts: 84

Rep: Reputation: 15
Raid 1 with mdadm, restarting causes full reconstruction


Hi all, I'm using mdadm to to a level 1 raid on two disks (obviously). When I take out disk A and immediately put it back in, it resyncs without a problem without a reconstruction. But if I restart with drive B at the helm, then put A back in after the restart, it does a full reconstruction on A even though nothing has changed. Any idea why this is? (My bitmap is set to internal). I know mdadm is complicated and I should be providing a lot more information, but any vague ideas?

Last edited by jeriryan; 06-10-2008 at 04:17 PM.
 
Old 06-12-2008, 10:56 AM   #2
garydale
Member
 
Registered: Feb 2007
Posts: 122

Rep: Reputation: 22
It probably looks at the reboot - possibly a journal has changed - and decides it needs to rebuild. You can add the drive back in and tell mdadm not to resync, but that can be risky.

Are you doing this on a regular basis or just testing it out?
 
Old 06-12-2008, 03:28 PM   #3
jeriryan
Member
 
Registered: Apr 2003
Location: United States
Distribution: RHEL 5.4, Snow Leopard
Posts: 84

Original Poster
Rep: Reputation: 15
Just testing.
 
  


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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 04:35 PM
How do I Avoid a full raid resync with mdadm. JivanAmara Linux - Software 1 08-01-2010 03:50 PM
RAID mdadm - Sending E-Mails on RAID Failure? rootking Linux - General 1 12-25-2007 04:59 AM
RAID through mdadm rosey Linux - Server 5 04-08-2007 12:57 PM
Manual RAID-5 reconstruction possible? thamlin Linux - Hardware 1 12-29-2006 09:50 AM


All times are GMT -5. The time now is 02:05 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