From owner-freebsd-fs@FreeBSD.ORG Sat Apr 13 18:03:51 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E1824F1D for ; Sat, 13 Apr 2013 18:03:51 +0000 (UTC) (envelope-from mxb@alumni.chalmers.se) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 6ADBEE73 for ; Sat, 13 Apr 2013 18:03:51 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id eg20so2580248lab.30 for ; Sat, 13 Apr 2013 11:03:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=hz4NYMDGvCLaArJKHRH344N26BpD3s8JfWyrQL+OrgM=; b=caOBUfMQku3jirtGw15QLprqHgSHju1WQDxuQRErCHCUF3YNQEJURFTCcdi3dxM/TU 07l+4yH+ZlVwu5TcAG0KAdtuCmMWMcZ7E9pJ319tGZvB6s9LOL2isKwIIHzTGNJSsorU nmgPuVVsaljk2BuFDqdN+F1t1hilwsCI4kZCqCealZUdODbBIPOhOTQDo2RcV3LjEsSM uFRBNIQhRqnXxVw18pFOVlCEIj28Af+NFc0uKXx7Uhlf90d4w/SeCpbHZQBNRBG0MFjB Jg0cQ5y23jFcDDo+OY6z/FbaSv1lFToN6FeP92uzuCaGLgPY2MNzGaTS55SXqJEjGtRK VBag== X-Received: by 10.112.1.169 with SMTP id 9mr7649128lbn.130.1365876230069; Sat, 13 Apr 2013 11:03:50 -0700 (PDT) Received: from grey.home.unixconn.com (h-74-23.a183.priv.bahnhof.se. [46.59.74.23]) by mx.google.com with ESMTPS id m9sm5187055lbm.3.2013.04.13.11.03.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 13 Apr 2013 11:03:48 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: ZFS: ZIL device export/import From: mxb In-Reply-To: <51699B8E.7050003@platinum.linux.pl> Date: Sat, 13 Apr 2013 20:03:47 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5A2824CA-2A67-47FA-AB27-20C6EBD2C501@alumni.chalmers.se> <51699B8E.7050003@platinum.linux.pl> To: "freebsd-fs@freebsd.org" X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQnVmghjBHDQ62nvkNRCwIRPKYg11dqvfQHnL3f+GGrvVV7mtK54Xh9mdIUYfhImFv/MOO71 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 18:03:51 -0000 Yes, will this require some additional interactions. The big question is WHY export/import works fine for L2ARC device = (cache), but not for log (ZIL device) ? Well, I tried to partition and then label (via glabel) slices on both = ZIL and L2ARC, the created a new pool with labels. Result is the same - L2ARC gets attached upon import, but not ZIL. GUID reported by 'zdb' is the same for ZIL-partitions on both HU (as = well as for L2ARC). The size of cause is the same. //mxb On 13 apr 2013, at 19:53, Adam Nowacki = wrote: > On 2013-04-13 19:33, mxb wrote: >>=20 >> Hello list, >>=20 >> 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. >>=20 >> This is basically a HA-setup. >>=20 >> 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. >>=20 >> According to the man page zpool(8) ZIL device can be imported and = exported. >>=20 >> "=85 Log devices can be added, replaced, attached, detached, imported = and >> exported as part of the larger pool. =85". >>=20 >> Do I miss something here? >> This feature not implemented yet? >> Any way to work around this, except that moving ZIL into JBOD? >=20 > =46rom the same man page: > -m Enables import with missing log devices. >=20 > ... 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. >=20 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"