From nobody Wed Feb 07 10:55:54 2024 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVH9568VSz5977K for ; Wed, 7 Feb 2024 10:56:09 +0000 (UTC) (envelope-from andrea@brancatelli.it) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVH9509HHz53H2 for ; Wed, 7 Feb 2024 10:56:08 +0000 (UTC) (envelope-from andrea@brancatelli.it) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=brancatelli-it.20230601.gappssmtp.com header.s=20230601 header.b=FNQ6sGm1; dmarc=none; spf=none (mx1.freebsd.org: domain of andrea@brancatelli.it has no SPF policy when checking 2a00:1450:4864:20::62c) smtp.mailfrom=andrea@brancatelli.it Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a3850ce741bso54364966b.3 for ; Wed, 07 Feb 2024 02:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brancatelli-it.20230601.gappssmtp.com; s=20230601; t=1707303365; x=1707908165; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=zDtRoYGWs1GS4QKErvwNoLfIoclYmqG7s+YkAmpp8qI=; b=FNQ6sGm1U1jNqqCLY6ImtYLVGqj4VTZcUn7AFRO6S4gPvJtvvOYbXo0KFqRSuEpP1T W3sPtMg9EEDOZE97OlkBA2oxQExCDc9P5gxas70/G2/UZz4Eu1EBJ2OHM4bf70MhhVLY Up2Ua4voAe4ezrBv7+R6cB4uBr5OfUle/5aBNi1qMSCbyHBUdP0tW6DBGodqcSDkOOaw RcmrueHHhRC0bN4e0zQ1TywDFaioc6JtVxiln0muMDzTRUo5iBvhreKFtl4UoxLcGgZ7 r8NRysUaCtbd3rg7oaR9kC3n3FLzZXq8Bb+2pQWzBlfPCp3Ni9zTFykBly/SnkXyDnFb zmtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707303365; x=1707908165; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zDtRoYGWs1GS4QKErvwNoLfIoclYmqG7s+YkAmpp8qI=; b=KSmPHW+ODiF5FUuR4hOARNO4zSHETtQvBaz5WT6q2dZAIr5dhIwIu8jzQtEkV6W7Xr e8nKPz+JYpIic3GmaYlZ58lBH9CK+R7QFaUP8h5nA7JEQ0sy9C2WsgPzQFX3c4xcMuxM lhjGo/KDy0vtPFf0BGeA16ANoydOhXDO3jHkIjt+erfjmHKRiYRYiRpWDJbrHP1McDJ6 uiTKfsqkoUEtfI0KNrXHMS1JiJreNZsffR58uxXAc7QYcp0O7S/9fECpmOKpINvJv/KK VZSQQNvCAAN3+bItMDGVu5wXGGNPKhpqEenM0FBngEGpGANUfJo2t5gtT0eMneLbWLqo /zOA== X-Gm-Message-State: AOJu0YzlmIkJpFem9Fy4b7VaK+QQoicCgzv70TwTY0FF24lyCbl+XKEY Ukrq6bVRJYYmDYAP0ZUiURVGEVLfRBrvsTnlSI7jPHFP98FMgPux7P0Zd3ioUUz6EUBx0s93c3Z Pgjir3jhnO71PbKamKTeuTNqtHQKkV0/plYjrcMcZRlZImxdE X-Google-Smtp-Source: AGHT+IEX7H+xOFqDleakDq2Zlfb8f6Meg41IkXi5gKEemcgEfSWL3oVU5zlay/2qXUsH83zNPQwbjKDFWwOGGdewx0I= X-Received: by 2002:a17:906:2929:b0:a38:58ef:c14d with SMTP id v9-20020a170906292900b00a3858efc14dmr1362562ejd.67.1707303365487; Wed, 07 Feb 2024 02:56:05 -0800 (PST) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 From: Andrea Brancatelli Date: Wed, 7 Feb 2024 11:55:54 +0100 Message-ID: Subject: ZFS on a shared iSCSI To: fs@freebsd.org Content-Type: multipart/alternative; boundary="0000000000009fc66e0610c88a16" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; R_DKIM_ALLOW(-0.20)[brancatelli-it.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DKIM_TRACE(0.00)[brancatelli-it.20230601.gappssmtp.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[brancatelli.it]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[fs@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[fs@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62c:from] X-Rspamd-Queue-Id: 4TVH9509HHz53H2 --0000000000009fc66e0610c88a16 Content-Type: text/plain; charset="UTF-8" Hello guys, I'm not 100% this is the correct list to ask this question, if not please feel free to point me in the right direction. I was wondering what could be the best recipe to have an HA cluster sharing an external ZFS storage. Let's say I have two servers running a bunch of Jails and, thus, I'd like to use ZFS as the underlying storage layer and I have an external (iSCSI) storage connected. 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? The idea would be to reactivate the filesystem from server A on server B if the server A fails. Would it be "easier" to replicate everything and zfs send datas back and forth? Clearly that would mean doubling datas and havin a scheduled replica with a possible delay in data replication, so I'd like to avoid this. Any thoughts? Thanks a lot. -- *Andrea Brancatelli* --0000000000009fc66e0610c88a16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello guys, I'm not 100% this is the correct=C2=A0list= to ask this question,=C2=A0if not please feel=C2=A0free to point me in the= right=C2=A0direction.

I was wondering what could be the= best recipe to have an HA cluster sharing an external ZFS storage.

Let's say I have two servers running a bunch of Jails= and, thus, I'd like to use ZFS as the underlying storage layer and I h= ave an external (iSCSI) storage connected.

Would i= t be "easily possible" to have some (2?) iSCSI LUN exposed to bot= h servers and then activate=C2=A0the pool on one or the other server?=C2=A0=

The idea would=C2=A0be to reactivate the filesyst= em=C2=A0from server A on server B if the server A fails.

Would it be "easier" to replicate everything and zfs send = datas back and forth? Clearly that would mean doubling datas and havin a sc= heduled replica with a possible delay in data replication, so I'd like = to avoid this.

Any=C2=A0thoughts?

Thanks a lot.

--
Andrea Brancatelli
--0000000000009fc66e0610c88a16--