From owner-freebsd-fs@FreeBSD.ORG Fri Apr 20 23:12:59 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0015E16A409 for ; Fri, 20 Apr 2007 23:12:58 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.freebsd.org (Postfix) with ESMTP id BE84513C4AD for ; Fri, 20 Apr 2007 23:12:58 +0000 (UTC) (envelope-from mike@nux.co.uk) Received: from office.nux.co.uk (unknown [82.133.40.67]) by smtp.nildram.co.uk (Postfix) with ESMTP id 9757A2B5F1F for ; Sat, 21 Apr 2007 00:12:57 +0100 (BST) Received: (qmail 9320 invoked by uid 2223); 20 Apr 2007 23:12:57 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Apr 2007 23:12:57 -0000 Date: Sat, 21 Apr 2007 00:12:57 +0100 (BST) From: Mike Wolman X-X-Sender: mike@nux.eros.office To: roberto@keltia.freenix.fr, freebsd-fs@freebsd.org In-Reply-To: <20070420232209.G4559@nux.eros.office> Message-ID: <20070421000029.N4559@nux.eros.office> References: <20070420232209.G4559@nux.eros.office> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: lazy mirror / live backup 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: Fri, 20 Apr 2007 23:12:59 -0000 According to Mike Wolman: >> The problem with zfs is you cannot layer it as u can with the geom >> classes. > >Yes and no. It is not as versatile as all geom classes I believe but on >FreeBSD it is a geom provider. I havent played with zfs that much and was unaware that zfs created a device like the geom classes. >> For example if you want to create a failover zfs storage pool, if you make >> the zfs pool out of gmirror devices with one being a local device and the >> other being a ggatec device. You would then have your zfs raidz pool >> replicated on a remote host. I do not think you can do this with zfs by >> itself as you are not able to layer raidz pool ontop of a load of zfs >> mirrors. > >On plain zfs yes, you can have that. > >zpool create tank raidz mirror da0 da1 mirror da2 da3 mirror da4 da5. So could you do: zpool create rank raidz mirror ad0 ggatec0 mirror ad1 ggatec1 mirror ad2 ggatec2 Then should the primary fileserver fail would the backup machine be able to import this zfs pool? Would you also be able to tune zfs to prefer the local disks to the remote ones? Mike.