From owner-freebsd-stable@FreeBSD.ORG Tue Sep 1 17:10:28 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 EBF721065692 for ; Tue, 1 Sep 2009 17:10:27 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id A3EAC8FC15 for ; Tue, 1 Sep 2009 17:10:27 +0000 (UTC) Received: by vws27 with SMTP id 27so194152vws.3 for ; Tue, 01 Sep 2009 10:10:27 -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:message-id:subject:from:to:content-type; bh=rnBAWUb6dEwzXRDEvJRpavl7U1Baz8+vwFW0gkZczj0=; b=d7cSzKpyxWBB2gyfCgEQoP1kzb+WY220qIWRlKe0PpIGF1QAHdnKUkDekRBzL6Sbng 3lQjIVMOrD1lyC2e96i4zIWMvBmKAzYdklLEKG1tIqg8uRuNr3rribkmOS8v8Q8e6/yI 00mQBFlA/iQkK7xcogKyQszbt3Wf7ME2JloPs= 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=CyCZXVOStR2CFlw0a7HaEThUS2f+hqvxqTJ0c3NrUaKJEQar9clpUobV5lGgtqajkS IW6R0ZMtqHV2bPM6+1E1bqx9CMPJANkimVFt+dZzoRMSjs+5WIHc1UQlx+efb7XCsn3V sGQPEI+iE23D/zfhckuPVy6V267s2P1gpOCHM= MIME-Version: 1.0 Received: by 10.150.237.1 with SMTP id k1mr12060342ybh.69.1251825026647; Tue, 01 Sep 2009 10:10:26 -0700 (PDT) In-Reply-To: References: <061541E3-F301-46C4-8ECB-5B05854F0EAA@exscape.org> Date: Tue, 1 Sep 2009 10:10:26 -0700 Message-ID: From: Freddie Cash To: FreeBSD Stable Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 17:10:28 -0000 On Tue, Sep 1, 2009 at 9:04 AM, 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? > > Yes, this is definitely doable. You can use entire drives (ad4), single slices (ad4s1), or individual partitions (ad4s1d) with ZFS. Create two slices; install to and use s1 on both drives for the gmirror RAID1; and use s2 on both drives for a ZFS RAID1. -- Freddie Cash fjwcash@gmail.com