Using two mirrored drives separately

2014-09-20 Thread Leonid Bloch
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.
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Using two mirrored drives separately

2014-09-20 Thread Piotr Szymaniak
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.


signature.asc
Description: Digital signature