From owner-freebsd-current@FreeBSD.ORG Mon Jun 25 09:35:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C63816A421; Mon, 25 Jun 2007 09:35:55 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id F27C013C447; Mon, 25 Jun 2007 09:35:54 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l5P9ZYoI029039; Mon, 25 Jun 2007 13:35:34 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 25 Jun 2007 13:35:34 +0400 (MSD) From: Dmitry Morozovsky To: "Axel S. Gruner" In-Reply-To: <467F861A.3070004@encephalon.de> Message-ID: <20070625133238.M68481@woozle.rinet.ru> References: <467F861A.3070004@encephalon.de> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Mon, 25 Jun 2007 13:35:34 +0400 (MSD) Cc: freebsd-current@freebsd.org, pjd@freebsd.org Subject: Re: ZFS and gmirror X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2007 09:35:55 -0000 On Mon, 25 Jun 2007, Axel S. Gruner wrote: ASG> #zpool create zusr raidz da0 da1 da2 [snip] ASG> Now i have on da0 a free da0s1d. Ok, i can use this with zfs: Hmm, I see collision here - you said you use all da0 for zpool? ASG> But, is there a way to mirror my /dev/da0s1a? Can i use gmirror to ASG> mirror /dev/da0s1a with /dev/da0s4a? ASG> Also, mirroring swap /dev/da0s1b with /dev/da0s4b would be nice. Yes ASG> data is in a raidz mirror, but / is a single point of failure right now. ASG> ASG> And also, i could create a zfs mirror with da0s1d and da4s1d. ASG> ASG> Another question: ASG> If i got only 2 disks, how about using ZFS here? Using just /boot on UFS ASG> should work as i read, but can i mirror that one with gmirrror and use ASG> the rest of the the two disks with ZFS as an ZFS mirror? ASG> I stuck at that problem right now. Booting from gmirror should not be a problem - most of my servers (RELENG_6) use gmirrored SATA partitions including swap: marck@gwp:~> mount /dev/mirror/m0a on / (ufs, local) devfs on /dev (devfs, local) /dev/mirror/m0e on /usr (ufs, local, soft-updates) /dev/mirror/m0f on /var (ufs, local, soft-updates) /dev/mirror/m0g on /lh (ufs, local, soft-updates) /var/obj on /usr/obj (nullfs, local, noclusterw) /dev/md0 on /tmp (ufs, asynchronous, local) marck@gwp:~> swapinfo Device 1K-blocks Used Avail Capacity /dev/mirror/m0b 1048572 0 1048572 0% marck@gwp:~> gmirror status Name Status Components mirror/m0a COMPLETE ad4a ad6a mirror/m0b COMPLETE ad4b ad6b mirror/m0e COMPLETE ad4e ad6e mirror/m0f COMPLETE ad4f ad6f mirror/m0g COMPLETE ad4g ad6g Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------