From: Piotr Szymaniak <szarpaj@grubelek.pl>
To: linux-btrfs@vger.kernel.org
Subject: Re: Using two mirrored drives separately
Date: Sat, 20 Sep 2014 22:20:03 +0200 [thread overview]
Message-ID: <20140920202003.GU1945@wloczykij> (raw)
In-Reply-To: <CAOwCge2f+s0BdUXYnMuX_iyXLcsq-FtftqT-yf1GSvyhhT9kdg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
On Sat, Sep 20, 2014 at 07:11:52PM +0300, Leonid Bloch wrote:
> I am wondering: if I set up btrfs on two identical drives, with data
> and metadata mirroring, will it be possible to use these drives
> separately later on? Will just one of these drives work as a regular
> btrfs-formatted single drive if connected to a different machine?
If by this you mean btrfs raid1, then yes, they will work this way. Just
both of them will have "missing" device and, afaik, wont mount without
-o degraded. But then you can rebalance to notraid1 or add another disk
and replace missing devices on new machines.
Piotr Szymaniak.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-09-20 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-20 16:11 Using two mirrored drives separately Leonid Bloch
2014-09-20 20:20 ` Piotr Szymaniak [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=20140920202003.GU1945@wloczykij \
--to=szarpaj@grubelek.pl \
--cc=linux-btrfs@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).