From owner-freebsd-fs@FreeBSD.ORG Tue Apr 20 14:39:45 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7303D106564A for ; Tue, 20 Apr 2010 14:39:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-pz0-f201.google.com (mail-pz0-f201.google.com [209.85.222.201]) by mx1.freebsd.org (Postfix) with ESMTP id 4864A8FC0C for ; Tue, 20 Apr 2010 14:39:44 +0000 (UTC) Received: by pzk39 with SMTP id 39so4188058pzk.7 for ; Tue, 20 Apr 2010 07:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=8bNgdM5jrYQPY58eZnv75Ta73jZFeNqXC6E58h8iHTo=; b=OhUeAKgc9IFUblLyNC8UIhyL7AGUOCRfd3UCYMtUCkVS1IiJhAgXPZAaHauYPrWEAp tz3lHt5Wbgsyn1edkfHSPhNvKvg4cWIGETYbDugYwJuvsuFSnGBUmS6IhoOPNjPxUNjc uuovnxWyJIF9vUEnpt1BitjqHMswRusiqrBXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=I/+RE11NtsEAn+gEFNVoHbARFLtCjj94QWM6eRcJwILQHM80GpcSW3yY2tkIVQhaqK PI9IZId2amOntsXULdtZ5ROEgXb9ylsYDgqU09srrvBMfflvBN74rfA49cyiQABE8V7C erR7B75dMVmcjx6sxtxBq10/D3lCBfxkLpVss= MIME-Version: 1.0 Received: by 10.231.18.74 with HTTP; Tue, 20 Apr 2010 07:39:43 -0700 (PDT) In-Reply-To: References: Date: Tue, 20 Apr 2010 07:39:43 -0700 Received: by 10.140.57.8 with SMTP id f8mr5769686rva.102.1271774384395; Tue, 20 Apr 2010 07:39:44 -0700 (PDT) Message-ID: From: Freddie Cash To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: HAST and ZFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2010 14:39:45 -0000 On Tue, Apr 20, 2010 at 7:24 AM, Davide D'Amico wrote: > I'm trying to setup an active/passive cluster. > Some questions: > - why the use of net/ucarp rather than carp? Is it for its up/down scripts? > - I would like to use ZFS on top on HAST, so I think that in > wiki.freebsd.org/HAST > I should change UFS (in sh scripts) but how to replace newfs command? > With zpool create disk da0? > See the mailing list archives. I posted a devd.conf and script for using CARP instead of uCARP, for using HAST devices to create a ZFS pool. Works quite nicely, although there are no checks/fixes to prevent split-brain if CARP flip-flops between the two hosts. -- Freddie Cash fjwcash@gmail.com