From: Robin Hill <robin@robinhill.me.uk>
To: Albert Pauw <albert.pauw@gmail.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: auto-read-only question
Date: Fri, 25 Feb 2011 16:26:32 +0000 [thread overview]
Message-ID: <20110225162632.GD11345@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <4D67D3D4.9040306@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
On Fri Feb 25, 2011 at 05:07:48PM +0100, Albert Pauw wrote:
> Can anybody explain to me what "active (auto-read-only)" mean in
> /proc/mdstats?
>
When the array is assembled, it's set in "auto-read-only" mode. As soon
as anything tries to write to it, it gets set to normal write mode (or
you can trigger this manually by doing "mdadm -w" on the array). I'm not
sure why this is done - possibly it make it simpler for md to skip
running various internal processes on that array (as it knows that the
array isn't being dirtied).
I usually see this with swap arrays - most filesystems will immediately
open the array in read/write mode, so trigger the switch.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2011-02-25 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 16:07 auto-read-only question Albert Pauw
2011-02-25 16:26 ` Robin Hill [this message]
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=20110225162632.GD11345@cthulhu.home.robinhill.me.uk \
--to=robin@robinhill.me.uk \
--cc=albert.pauw@gmail.com \
--cc=linux-raid@vger.kernel.org \
/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).