Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936852AbXHLREh (ORCPT ); Sun, 12 Aug 2007 13:04:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936573AbXHLRDt (ORCPT ); Sun, 12 Aug 2007 13:03:49 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:55040 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936559AbXHLRDp (ORCPT ); Sun, 12 Aug 2007 13:03:45 -0400 Date: Sun, 12 Aug 2007 19:03:44 +0200 (CEST) From: Jan Engelhardt To: david@lang.hm cc: Al Boldi , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, linux-raid@vger.kernel.org Subject: Re: [RFD] Layering: Use-Case Composers (was: DRBD - what is it, anyways? [compare with e.g. NBD + MD raid]) In-Reply-To: Message-ID: References: <200708121335.17267.a1426z@gawab.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 33 On Aug 12 2007 09:39, david@lang.hm wrote: > > now, I am not an expert on either option, but three are a couple things that I > would question about the DRDB+MD option > > 1. when the remote machine is down, how does MD deal with it for reads and > writes? I suppose it kicks the drive and you'd have to re-add it by hand unless done by a cronjob. > 2. MD over local drive will alternate reads between mirrors (or so I've been > told), doing so over the network is wrong. Certainly. In which case you set "write_mostly" (or even write_only, not sure of its name) on the raid component that is nbd. > 3. when writing, will MD wait for the network I/O to get the data saved on the > backup before returning from the syscall? or can it sync the data out lazily Can't answer this one - ask Neil :) Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/