linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Iwan Zarembo <iwan@zarembo.de>
To: NeilBrown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: IMSM Raid 5 always read only and gone after reboot
Date: Thu, 25 Aug 2011 21:16:05 +0200	[thread overview]
Message-ID: <4E569F75.2020306@zarembo.de> (raw)
In-Reply-To: <20110825095430.3b88d71d@notabene.brown>


> It sounds like mdmon is not being started.
> mdmon monitors the array and performs any metadata updates required.
>
> The reason mktable is taking more than a second is that it tries to write to
> the array, the kernel marks the array as 'write-pending' and waits for mdmon
> to notice, update the metadata, and switch the array to 'active'.  But mdmon
> never does that.
>
> mdmon should be started by mdadm but just to check you can start it by hand:
>
>   /sbin/mdmon md126
> or
>   /sbin/mdmon --all
>
> If this makes it work, you need to work out why mdmon isn't being started.
>
> NeilBrown
>
Hello NeilBrown,
I finally found it. I was using mdadm 3.1.4, it is in the repository of 
ubuntu. This version does not really support IMSM that this is the real 
problem. I found it because I did not have mdmon. It does not exists in 
this old version. So I downloaded the latest official relesae 3.2.1 and 
installed it via make && sudo make install. Now everything works 
perfectly. The array is available after reboot and the synchronization 
process works over BIOS and not over mdadm itself.
I would never found out that the version is making the trouble without 
your comment about mdmon. Thank you.

@Daniel,linbloke: Also a big thank you to you both. I learned a lot 
about raid with this problem.

Cheers,

Iwan


  reply	other threads:[~2011-08-25 19:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 20:19 IMSM Raid 5 always read only and gone after reboot Iwan Zarembo
2011-08-17  4:08 ` Daniel Frey
2011-08-17  4:15 ` Daniel Frey
2011-08-19 19:46   ` Iwan Zarembo
2011-08-24 17:09   ` Iwan Zarembo
2011-08-24 23:54     ` NeilBrown
2011-08-25 19:16       ` Iwan Zarembo [this message]
2011-08-26 10:54         ` linbloke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E569F75.2020306@zarembo.de \
    --to=iwan@zarembo.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).