Date: Tue, 1 Sep 2009 10:10:26 -0700 From: Freddie Cash <fjwcash@gmail.com> To: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: zfs on gmirror slice Message-ID: <b269bc570909011010q2dde51enccfbee3688860aef@mail.gmail.com> In-Reply-To: <a7454e2f0909010904s224be2ectdd18eb887f4c1311@mail.gmail.com> References: <a7454e2f0909010704g2fb27216hacb3ffd2cae5594c@mail.gmail.com> <061541E3-F301-46C4-8ECB-5B05854F0EAA@exscape.org> <a7454e2f0909010904s224be2ectdd18eb887f4c1311@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 1, 2009 at 9:04 AM, Maciej Jan Broniarz <gausus@gausus.net>wrote: > 2009/9/1 Thomas Backman <serenity@exscape.org>: > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b269bc570909011010q2dde51enccfbee3688860aef>