Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2024 12:25:27 +0100
From:      Ben RUBSON <ben.rubson@gmx.com>
To:        fs@freebsd.org
Subject:   Re: ZFS on a shared iSCSI
Message-ID:  <FADEDED8-7C34-4C14-A251-00F4EFBEE6ED@gmx.com>
In-Reply-To: <CAGqQmRPssfrb9S6r0H4SaQLEfOTp5Qx7-HSvHtYkxMnpeqKWjQ@mail.gmail.com>
References:  <CAGqQmRPssfrb9S6r0H4SaQLEfOTp5Qx7-HSvHtYkxMnpeqKWjQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 7 Feb 2024, at 11:55, Andrea Brancatelli <andrea@brancatelli.it> =
wrote:
>=20
> Would it be "easily possible" to have some (2?) iSCSI LUN exposed to =
both servers and then activate the pool on one or the other server?=20

Hi Andrea,

Yes, I have such configurations :
2 servers with same JBODs configuration.
When zpool is mounted on server A, mirroring is done on both local disks =
and iSCSI disks from server B.
When zpool is mounted on server B, mirroring is done on both local disks =
and iSCSI disks from server A.
Works flawlessly.
And you can have one of the 2 servers offline for some time, when it =
will be back online, sync will restart.
What you can't have is zpool online on both servers at the same time.

So you can do the same with iSCSI disks only.
Disks will have to be mounted on one server at a time only.

You'll have to have a rather low network / iSCSI latency, or it will =
fail / zpool will be unusable.
If you have high latency, you'll have to go for ZFS send/receive.

Ben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FADEDED8-7C34-4C14-A251-00F4EFBEE6ED>