Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2015 15:26:57 +1300
From:      Philip Murray <pmurray@nevada.net.nz>
To:        "Michael W. Lucas" <mwlucas@michaelwlucas.com>
Cc:        fs@freebsd.org
Subject:   Re: iSCSI/ZFS strangeness
Message-ID:  <B09FE8F0-F463-44C9-896C-CA55305113CE@nevada.net.nz>
In-Reply-To: <20151029015721.GA95057@mail.michaelwlucas.com>
References:  <20151029015721.GA95057@mail.michaelwlucas.com>

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

> On 29/10/2015, at 2:57 PM, Michael W. Lucas =
<mwlucas@michaelwlucas.com> wrote:
>=20
> Hi,
>=20
> I'm experimenting with iSCSI HA with FreeBSD 10.2 amd64. I know people
> do this sort of thing, but I can't figure out what I'm missing. (Most
> of the tutorials cover HAST instead). I suspect the real problem is
> "Lucas doesn't know the right search terms."
>=20
> The goal is to make an iSCSI-based ZFS pool that's available to two
> separate hosts, and remains available even if one of the iSCSI servers
> fails. Instead, the pool hangs when either of the iSCSI servers goes
> down.

I=E2=80=99m no expert and have never used iSCSI and FreeBSD before, but =
I think you might=20
want to look at the kern.iscsi.fail_on_disconnection sysctl.

man 4 iscsi

That means the devices will fail instead of hang, and ZFS might decide =
to mark those=20
devices as faulted instead of waiting for them to respond.

Cheers

Phil=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B09FE8F0-F463-44C9-896C-CA55305113CE>