Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jul 2016 14:17:06 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Ben RUBSON <ben.rubson@gmail.com>, freebsd-fs@freebsd.org
Subject:   Re: HAST + ZFS + NFS + CARP
Message-ID:  <57765F42.4090904@quip.cz>
In-Reply-To: <5F99508D-7532-468A-9121-7A76957A72DB@gmail.com>
References:  <71b8da1e-acb2-9d4e-5d11-20695aa5274a@internetx.com> <AD42D8FD-D07B-454E-B79D-028C1EC57381@gmail.com> <20160630153747.GB5695@mordor.lan> <63C07474-BDD5-42AA-BF4A-85A0E04D3CC2@gmail.com> <20160630163541.GC5695@mordor.lan> <50BF1AEF-3ECC-4C30-B8E1-678E02735BB5@gmail.com> <20160701084717.GE5695@mordor.lan> <47c7e1a5-6ae8-689c-9c2d-bb92f659ea43@internetx.com> <20160701101524.GF5695@mordor.lan> <f74627e3-604e-da71-c024-7e4e71ff36cb@internetx.com> <20160701105735.GG5695@mordor.lan> <5776569B.3050504@quip.cz> <5F99508D-7532-468A-9121-7A76957A72DB@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben RUBSON wrote on 07/01/2016 13:58:

>> With ZFS send & receive you will lose some writes but the chance you will corrupt both pools are much lower than in the first case and the setup is much simpler and runtime error proof.
>
> Only some ?
> Depending on the write throughput, won't you loose a lot of data on the target/slave ?
> How do you make ZFS send/receive quite realtime ?
> while [ 1 ] do ; snapshot ; send/receive ; delete old snapshots ; done ?

It depends on throughput and how often do you send. But you need to 
compare it to the HAST / iSCSI scenario. Even with this setup ZFS don't 
write to disk immediately but in batch delayed according to some sysctl 
settings and you will lose this amount of data in all cases + data on 
clients which cannot write and must restart their NFS sessions (again 
this apply to HAST / iSCSI scenario)

If you will ZFS send often, you can lose about 2 or 4 times more. It 
depends on you if it is too much or not.

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57765F42.4090904>