From owner-freebsd-stable@FreeBSD.ORG Tue Sep 1 18:26:05 2009 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 639A6106566C for ; Tue, 1 Sep 2009 18:26:05 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 1DFAD8FC08 for ; Tue, 1 Sep 2009 18:26:05 +0000 (UTC) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:38369 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1MiW1P-00074g-5R; Tue, 01 Sep 2009 18:15:53 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id E78231A25FD; Tue, 1 Sep 2009 18:15:22 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1075.2) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Thomas Backman In-Reply-To: Date: Tue, 1 Sep 2009 18:15:20 +0200 Content-Transfer-Encoding: 7bit Message-Id: <05E40037-FDB2-4F6A-B570-8E72ECE1B938@exscape.org> References: <061541E3-F301-46C4-8ECB-5B05854F0EAA@exscape.org> To: Maciej Jan Broniarz X-Mailer: Apple Mail (2.1075.2) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MiW1P-00074g-5R. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MiW1P-00074g-5R 5ded1ab58b78c0dff3e6f578b626a1a1 Cc: freebsd-stable@freebsd.org Subject: Re: zfs on gmirror slice 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: Tue, 01 Sep 2009 18:26:05 -0000 On Sep 1, 2009, at 6:04 PM, Maciej Jan Broniarz wrote: > 2009/9/1 Thomas Backman : >> On Sep 1, 2009, at 4:04 PM, Maciej Jan Broniarz wrote: >> >> >> I'm not familiar with gmirror, but it'd be a way better idea to >> mirror it >> using ZFS if possible - that way you get self-healing and stuff >> like that, >> which you won't if ZFS doesn't have a mirror/RAIDZ setup, but only >> sees a >> single slice. >> > > I would like to do so. I have to disks (ad4 and ad5). Is it possible > to create two slices on both disks (eg ad4s1 and ad4s2 for ad4). > Then to create gmirror on ad4s1, install freebsd on it so it would > boot from it. Then, after having my system running to create zfs > mirror from ad4s2 and ad5s2? Why not go ZFS all the way? ZFS on root is well supported these days (well, not by sysinstall, but it works great if you do it manually) - you don't even need UFS /boot anymore. Again, not familiar with gmirror, but my guess (that will be corrected or confirmed by someone ;) is that your way would work too. Regards, Thomas