linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using two mirrored drives separately
@ 2014-09-20 16:11 Leonid Bloch
  2014-09-20 20:20 ` Piotr Szymaniak
  0 siblings, 1 reply; 2+ messages in thread
From: Leonid Bloch @ 2014-09-20 16:11 UTC (permalink / raw)
  To: linux-btrfs

Hi,

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?

Thanks ahead,
Leonid.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using two mirrored drives separately
  2014-09-20 16:11 Using two mirrored drives separately Leonid Bloch
@ 2014-09-20 20:20 ` Piotr Szymaniak
  0 siblings, 0 replies; 2+ messages in thread
From: Piotr Szymaniak @ 2014-09-20 20:20 UTC (permalink / raw)
  To: linux-btrfs

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-20 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-20 16:11 Using two mirrored drives separately Leonid Bloch
2014-09-20 20:20 ` Piotr Szymaniak

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).