Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2016 12:21:14 +0500
From:      "Eugene M. Zheganin" <emz@norma.perm.ru>
To:        stable@freebsd.org
Subject:   Re: HAST, zfs and local mirroring
Message-ID:  <574E8CEA.1010908@norma.perm.ru>
In-Reply-To: <CAOjFWZ5YOPPF=85NWTj7Uye-zqrCk5EbYjvGqfAoBJdJ37OiXA@mail.gmail.com>
References:  <bf4a004f-8c7f-1e2e-0c31-3de266975ae4@norma.perm.ru> <CAOjFWZ5YOPPF=85NWTj7Uye-zqrCk5EbYjvGqfAoBJdJ37OiXA@mail.gmail.com>

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

On 01.06.16 02:49, Freddie Cash wrote:
> On Tue, May 31, 2016 at 11:18 AM, Eugene M. Zheganin
> <emz@norma.perm.ru <mailto:emz@norma.perm.ru>>wrote:
>
>     I wat to start using HAST, I have two nodes and a pair of disk on
>     each node. So I want to use HASt in an environment where each HAST
>     resource would be mirrored. What is the preferred approach if I
>     want to use ZFS on an end-device to avoid exsessive fscking, and,
>     in the same time, I want to have some redundancy on a block level
>     ? I see two possibility: HAST on a zvol of a mirrored pool, and a
>     ZFS on a hast. But recently I heard that nested zfs (like zfs on
>     zvol) is clamed unsupported. Futhermore, I have zfs on a geli on a
>     zvol, and this solution proved itself to be very affected to
>     livelocking - when disk i/o on a such fs is above some treshold,
>     system is locking, and the only way out is to reset it. Should I
>     chose geom_mirror to provide a device for HAST and the build ZFS
>     on it ?
>
>
> ​The generally recommend way to do this is to create a HAST resource
> out of 1 disk from each system, and then build the ZFS pool using the
> HAST resources as the "disks".
>
> That way, your ZFS pool is made up of 2 HAST devices in a mirror vdev.
>
> And each of the two HAST devices uses one disk from each server (total
> of four disks).
> ​
>  
>
>
But I don't need two HAST devices, I need one, but redundant on each server.

Eugene.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?574E8CEA.1010908>