From owner-freebsd-stable@FreeBSD.ORG Wed Mar 24 16:15:24 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5719106564A for ; Wed, 24 Mar 2010 16:15:24 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 846158FC1A for ; Wed, 24 Mar 2010 16:15:24 +0000 (UTC) Received: (qmail 12979 invoked from network); 24 Mar 2010 16:15:23 -0000 Received: from unknown (HELO ?10.0.0.170?) (spawk@128.238.64.31) by acm.poly.edu with AES256-SHA encrypted SMTP; 24 Mar 2010 16:15:23 -0000 Message-ID: <4BAA3A7C.1030907@acm.poly.edu> Date: Wed, 24 Mar 2010 12:14:52 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.23 (X11/20100311) MIME-Version: 1.0 To: Vincent Hoffman , FreeBSD-STABLE Mailing List References: <4BAA3409.6080406@ionic.co.uk> <4BAA39BA.4070702@unsane.co.uk> In-Reply-To: <4BAA39BA.4070702@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Multi node storage, ZFS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 16:15:25 -0000 Vincent Hoffman wrote: > On 24/03/2010 15:47, Michal wrote: > >> I wrote a really long e-mail but realised I could ask this question far >> far easier, if it doesn't make sense, the original e-mail is bellow >> >> Can I use ZFS to create a multinode storage area. Multiple HDD's in >> Multiple servers to create one target of, for example, //officestorage >> Allowing me to expand the storage space when needed and clients being >> able to retrieve data (like RAID0 but over devices not HDD) >> >> > At least in theory you could use geom_gate and zfs I suppose, never > tried it though. > ggatec(8), ggated(8) are your friends for that. > > > Vince Indeed, you can. I've done it. As for failover, you could run the recently-committed HAST code on primary and backup central machines. Upon failure of the primary central machine, the backup one would take its IP address, mount the ZFS filesystem over the network, do whatever other userspace things may be necessary, and resume servicing I/O. -Boris