From owner-freebsd-stable@FreeBSD.ORG Thu May 7 13:05:27 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3043C25 for ; Thu, 7 May 2015 13:05:27 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5792612EF for ; Thu, 7 May 2015 13:05:27 +0000 (UTC) Received: by widdi4 with SMTP id di4so241484915wid.0 for ; Thu, 07 May 2015 06:05:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ELoJuW8XFOZ9RMvUwe3JvLoX78GIASpiDxVl51T8Src=; b=MBx5PQxp4CW/XcyYjK16DmTk2bFWH+kFXA8DkbtbmmMk2TYJocASt0q3Q8NL0RQOA6 iq8r4tVv5EEXNNKRSPThtJAUSPemucbWa2BkP12UOFosVtdMQvcz+mXc+RhMiauawMp+ dNrGrOtTw//9GdcphqHDp1Laioo70oBORCkYKTqHdDHWqSVT0S5EBQ8nei2QylD5Perk 84xxe6XZlLLpQZM16sd4oGAhhW8srOxoeDoLqmyD0opuZhItSBy5BQ/ADVQ4Y7aHQJ1J 7ARmsB3VGvJPTFGnIn651qcAgtLIHKciokLOLc/X3c2aZ21Up+5t7Mc/oGbOxxlJ/prF QWGA== X-Gm-Message-State: ALoCoQkEAj0Bj5zODUbdtQopjSoCHjmxgtxp6vDfwXQnA0Zdn3Hh0i+KVZeqkJhwROKxyFY2I64k X-Received: by 10.194.133.133 with SMTP id pc5mr7150936wjb.31.1431003919788; Thu, 07 May 2015 06:05:19 -0700 (PDT) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id di9sm7350607wib.16.2015.05.07.06.05.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 May 2015 06:05:17 -0700 (PDT) Message-ID: <554B6307.9020309@multiplay.co.uk> Date: Thu, 07 May 2015 14:05:11 +0100 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Slawa Olhovchenkov CC: freebsd-stable@freebsd.org Subject: Re: zfs, cam sticking on failed disk References: <20150507080749.GB1394@zxy.spb.ru> <554B2547.1090307@multiplay.co.uk> <20150507095048.GC1394@zxy.spb.ru> <554B40B6.6060902@multiplay.co.uk> <20150507104655.GT62239@zxy.spb.ru> <554B53E8.4000508@multiplay.co.uk> <20150507120508.GX62239@zxy.spb.ru> <554B5BF9.8020709@multiplay.co.uk> <20150507124416.GD1394@zxy.spb.ru> <554B5EB0.1080208@multiplay.co.uk> <20150507125129.GY62239@zxy.spb.ru> In-Reply-To: <20150507125129.GY62239@zxy.spb.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2015 13:05:27 -0000 On 07/05/2015 13:51, Slawa Olhovchenkov wrote: > On Thu, May 07, 2015 at 01:46:40PM +0100, Steven Hartland wrote: > >>>> Yes in theory new requests should go to the other vdev, but there could >>>> be some dependency issues preventing that such as a syncing TXG. >>> Currenly this pool must not have write activity (from application). >>> What about go to the other (mirror) device in the same vdev? >>> Same dependency? >> Yes, if there's an outstanding TXG, then I believe all IO will stall. > Where this TXG released? When all devices in all vdevs report > 'completed'? When at the least one device in all vdevs report > 'completed'? When at the least one device in at least one vdev report > 'completed'? When all devices have report completed or failed. Hence if you pull the disk things should continue as normal, with the failed device being marked as such. Regards Steve