Hi, Is is a bad ida to create a zfs pool from a gmirrored slice? zpool create tank /dev/mirror/gm0s1g works fine, but after the reboot the filesystem failes consistency check. Regards, mjb -- [ -----< Maciej Jan Broniarz || gausus@gausus.net >------ ] | Siamo qui \ sotto la stessa luce \ sotto la sua croce \ | | cantando ad una voce \ E l'Emmanuel Emmanuel, Emmanuel, | [ ---------------< E l'Emmanuel, Emmanuel >-------------- ]
On Tue, Sep 1, 2009 at 7:04 AM, Maciej Jan Broniarz <gausus@gausus.net>wrote:> Is is a bad ida to create a zfs pool from a gmirrored slice? > zpool create tank /dev/mirror/gm0s1g works fine, but after the reboot > the filesystem failes consistency check. > > You could, but the question is ... why would you?ZFS includes support for RAID0 (stripe), RAID1 (mirroring), RAID5 and RAID6 (raidz1/raidz2), and (soon in OpenSolaris) RAID7 (raidz3). Why would you want to build a pool out of devices that are already RAID'd together? Just use the bare disks, or slices on disks, or partitions even. -- Freddie Cash fjwcash@gmail.com
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? mjb -- [ -----< Maciej Jan Broniarz || gausus@gausus.net >------ ] | Siamo qui \ sotto la stessa luce \ sotto la sua croce \ | | cantando ad una voce \ E l'Emmanuel Emmanuel, Emmanuel, | [ ---------------< E l'Emmanuel, Emmanuel >-------------- ]
On Sep 1, 2009, at 4:04 PM, Maciej Jan Broniarz wrote:> Hi, > > Is is a bad ida to create a zfs pool from a gmirrored slice? > zpool create tank /dev/mirror/gm0s1g works fine, but after the reboot > the filesystem failes consistency check. > > Regards, > mjbI'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. Regards, Thomas
Maciej Jan Broniarz wrote:> Hi, > > Is is a bad ida to create a zfs pool from a gmirrored slice? > zpool create tank /dev/mirror/gm0s1g works fine, but after the reboot > the filesystem failes consistency check.It *should* work. What error(s) do you get? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090901/57163c93/signature.pgp