From owner-freebsd-fs@FreeBSD.ORG Sat Apr 13 17:53:43 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 87859CEB for ; Sat, 13 Apr 2013 17:53:43 +0000 (UTC) (envelope-from nowakpl@platinum.linux.pl) Received: from platinum.linux.pl (platinum.edu.pl [81.161.192.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4C55BE1A for ; Sat, 13 Apr 2013 17:53:43 +0000 (UTC) Received: by platinum.linux.pl (Postfix, from userid 87) id 1A85947E1A; Sat, 13 Apr 2013 19:53:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on platinum.linux.pl X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.3.2 Received: from [10.255.1.2] (unknown [83.151.38.73]) by platinum.linux.pl (Postfix) with ESMTPA id C3D1F47E14 for ; Sat, 13 Apr 2013 19:53:40 +0200 (CEST) Message-ID: <51699B8E.7050003@platinum.linux.pl> Date: Sat, 13 Apr 2013 19:53:18 +0200 From: Adam Nowacki User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: ZFS: ZIL device export/import References: <5A2824CA-2A67-47FA-AB27-20C6EBD2C501@alumni.chalmers.se> In-Reply-To: <5A2824CA-2A67-47FA-AB27-20C6EBD2C501@alumni.chalmers.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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: Sat, 13 Apr 2013 17:53:43 -0000 On 2013-04-13 19:33, mxb wrote: > > Hello list, > > I'm currently have 2x Head Units (HU) [FreeBSD 9.1] connected to the same JBOD via SAS Expander. > Each HU has separate ZIL and L2ARC devices. Hardware on both HU (inc. SSD disks for ZIL/L2ARC) is identical. > > This is basically a HA-setup. > > The I do an 'zpool export tank' on the first HU and do 'zpool import tank' on the second one, only L2ARC device appears usable. > Import fails, complaining about ZIL device not present. > > According to the man page zpool(8) ZIL device can be imported and exported. > > "… Log devices can be added, replaced, attached, detached, imported and > exported as part of the larger pool. …". > > Do I miss something here? > This feature not implemented yet? > Any way to work around this, except that moving ZIL into JBOD? From the same man page: -m Enables import with missing log devices. ... but that won't be HA since on unclean shutdown of one the other won't be able to replay the log and some recent writes (or worse) will be lost.