From mboxrd@z Thu Jan 1 00:00:00 1970 From: jim owens Subject: Re: Unable to mount loopback devices in RAID mode Date: Fri, 27 Nov 2009 10:57:45 -0500 Message-ID: <4B0FF6F9.9010603@hp.com> References: <200911192026.04694.lists-receive@programmierforen.de> <4B05D64B.7070705@hp.com> <200911202022.19306.lists-receive@programmierforen.de> <20091127053336.GD25509@jsoft.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: Andi Drebes , linux-btrfs@vger.kernel.org Return-path: In-Reply-To: <20091127053336.GD25509@jsoft.dyndns.org> List-ID: Jean-S=E9bastien Trottier wrote: > In the case of RAID1 (or even RAID10), what happens if loop0 is the > current master but is corrupted/dead and you want to mount loop1 to > recover your data? The problem does not occur with raid1. In that case, both copies are updated and either can mount. For raid10, 2 of the 4 devices should always be mountable (you still have to find which 2). The "guess who is the mountable device" problem occurs on raid0 and on the (not yet in-tree) raid5/6. Better error recovery is one of the projects that needs to be done. jim -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html