From: NeilBrown <neilb@suse.de>
To: Errol Neal <eneal@businessgrade.com>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: auto assemble in read-only mode?
Date: Tue, 7 Oct 2014 18:15:20 +1100 [thread overview]
Message-ID: <20141007181520.359d939b@notabene.brown> (raw)
In-Reply-To: <1412664991898536500@businessgrade.com>
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
On Tue, 7 Oct 2014 02:56:31 -0400 Errol Neal <eneal@businessgrade.com> wrote:
> On Mon, 10/06/2014 09:06 AM, Errol Neal <eneal@businessgrade.com> wrote:
> > hi folks. is it possible to assemble an md device in read-only mode?
> > after an array has been assembled, I know I can mark it as readonly with --misc -o /dev/md0 for example, but only after its been assembled it seems..
> >
>
> Hi again. No thoughts here?
Not even 18 hours since you last asked - what do you thing this is? The
Internet :-)
> I'm need to run a RAID1 device on two independent nodes (shared storage) and I'd like to assemble the device on the "slave" node in read-only mode to prevent any sync actions and etc.
Did you try adding the "--readonly" option to your --assemble command?
(Always best to report everything you tried and how it failed - requires less
guess work).
I hope you don't expect too much of a filesystem mounted from such an array
while the other node is writing to the array...
NeilBrown
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2014-10-07 7:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-06 13:06 auto assemble in read-only mode? Errol Neal
2014-10-07 6:56 ` Errol Neal
2014-10-07 7:15 ` NeilBrown [this message]
2014-10-07 12:31 ` Errol Neal
2014-10-07 23:33 ` NeilBrown
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=20141007181520.359d939b@notabene.brown \
--to=neilb@suse.de \
--cc=eneal@businessgrade.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).