From owner-freebsd-fs@FreeBSD.ORG Sun Mar 24 15:33:45 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1CA5B8A2 for ; Sun, 24 Mar 2013 15:33:45 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:16]) by mx1.freebsd.org (Postfix) with ESMTP id 02538FD2 for ; Sun, 24 Mar 2013 15:33:44 +0000 (UTC) Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta01.emeryville.ca.mail.comcast.net with comcast id FR5h1l0040QkzPwA1TZjjK; Sun, 24 Mar 2013 15:33:43 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta02.emeryville.ca.mail.comcast.net with comcast id FTZi1l00A1t3BNj8NTZils; Sun, 24 Mar 2013 15:33:42 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 1E48873A1C; Sun, 24 Mar 2013 08:33:42 -0700 (PDT) Date: Sun, 24 Mar 2013 08:33:42 -0700 From: Jeremy Chadwick To: Quartz Subject: Re: ZFS question Message-ID: <20130324153342.GA3687@icarus.home.lan> References: <20130321044557.GA15977@icarus.home.lan> <514AA192.2090006@sneakertech.com> <20130321085304.GB16997@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130321085304.GB16997@icarus.home.lan> User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1364139223; bh=vj7+C3QoNIJYqjzTB7TuUKhPx22fXhaq4BxOYVPa+pc=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=chR15g7vYtgclHQ0tllAzZbEgdCvPrNtokc/wBrqXd66+85ukiIhaWuDSz2xQWnoZ fkiYlSsxKsOO9RROxZLCDhY6Z4+uhSEspK5NpMxiDfFNoxfeaBMkyRBSxujpiFVMiC xZ/KNJhaYp5jPc7Z10k3ZVJUJyymOr42yewW23bp8LqHmvFrNHxqQQgX7y1qtz8mP8 PshEci2saCrLWYaPIQIR2k9xdafrmjIfTM1NymUZROoanuJPqFRQE6goPGb+/X/rwv +BV010lpDZ1wiE6ol176KEJioWXhAEdFtBgkTFfAqaU9HekoJIw52rZ8cfgZqYfT6i sTqNeGD5rzfzQ== Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 15:33:45 -0000 On Thu, Mar 21, 2013 at 01:53:04AM -0700, Jeremy Chadwick wrote: > There were fixes for very similar situations to this in stable/9 > recently -- I know because I was the person who reported such. mav@ and > ken@ worked out a series of kinks/bugs in CAM pertaining to pass(4) and > xpt(4) and some other things. You can read about that here: > > http://lists.freebsd.org/pipermail/freebsd-fs/2013-February/016515.html > http://lists.freebsd.org/pipermail/freebsd-fs/2013-February/016524.html > > For me to determine if those fixes address the above oddity while > testing, I would need to build stable/9 on this testbox. I can do that, > and will try to dedicate some time to it tomorrow. > > So in summary: there seem to be multiple issues shown above, but I can > confirm that failmode=continue **does** pass EIO to *running* processes > that are doing I/O. Subsequent I/O, however, is questionable at this > time. I've tested with stable/9 (r248571). The issues I noted in my previous post: http://lists.freebsd.org/pipermail/freebsd-fs/2013-March/016814.html ...still exist. Issue is 100% reproducible. However, commands like "zpool status" I also confirmed that **reads** from the now-busted pool do block/wait indefinitely -- this means you cannot Ctrl-C or Ctrl-Z or kill them in any way (this is completely normal for all *IXes (for some reason people think kill -9 will always cause a kernel to unlock/relinquish a thread, which is not the case)). For whatever reason "ls -l /pool" did return results, but I imagine these may be being returned from some caching mechanism within the kernel (either VFS or ZFS ARC, not sure). **Writes**, however, immediately return with EIO. This is with failmode=continue. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |