Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2013 20:03:47 +0200
From:      mxb <mxb@alumni.chalmers.se>
To:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: ZFS: ZIL device export/import
Message-ID:  <BCBD7CDE-1BBB-4855-9240-897770FEF822@alumni.chalmers.se>
In-Reply-To: <51699B8E.7050003@platinum.linux.pl>
References:  <5A2824CA-2A67-47FA-AB27-20C6EBD2C501@alumni.chalmers.se> <51699B8E.7050003@platinum.linux.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <nowakpl@platinum.linux.pl> =
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCBD7CDE-1BBB-4855-9240-897770FEF822>