From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 09:03:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B46D1065675 for ; Mon, 5 Jul 2010 09:03:39 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2973D8FC19 for ; Mon, 5 Jul 2010 09:03:38 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.53,538,1272837600"; d="scan'208";a="7677474" Received: from unknown (HELO [172.26.15.11]) ([172.26.15.11]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 05 Jul 2010 10:33:38 +0200 Message-ID: <4C3198D6.1030502@embl.fr> Date: Mon, 05 Jul 2010 10:33:26 +0200 From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Iceowl/1.0b1 Icedove/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 05 Jul 2010 11:53:25 +0000 Subject: Fully redundant NAS with HAST + ucarp + ZFS + NFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 09:03:39 -0000 Hi, I just installed 2 servers with FreeBSD 8.1rc2 and configured block level replication with HAST and fail-over with ucarp. It works like a charm, replication is pretty fast (35MB/s on my one disk system) and fail-over works great. Now I would like to export some ZFS volumes over NFS (for the moment, but CIFS and iSCSI probably later). When I mount a client over the VIP, fail-over works well for directory listing, but as soon as I try to do copy a file and switch node, the copy freeze. I suppose it's because I have to share some kind of temporary directory also over my two server. On Linux, I would probably share /var/lib/nfs also, but on FreeBSD I'm a little bit lost. Is it possible to solve my problem by sharing information over my two NFS servers ? Will I have the same problem (or another one) with CIFS and/or iSCSI export ? Thank you in advance for your answers, and a big bravo for all the developers that bring that kind of stuffs to us. Mickaël