atom feed4 messages in org.freebsd.freebsd-fsRe: zfs & gmirror == DIRTY mirror on ...
FromSent OnAttachments
Slawa OlhovchenkovApr 11, 2012 7:12 am 
kradApr 12, 2012 1:34 am 
Slawa OlhovchenkovApr 12, 2012 1:39 am 
Peter MaloneyApr 12, 2012 1:57 am 
Subject:Re: zfs & gmirror == DIRTY mirror on reboot
From:Peter Maloney (pete@brockmann-consult.de)
Date:Apr 12, 2012 1:57:38 am
List:org.freebsd.freebsd-fs

On 04/12/2012 10:40 AM, Slawa Olhovchenkov wrote:

On Thu, Apr 12, 2012 at 09:34:47AM +0100, krad wrote:

On 11 April 2012 15:12, Slawa Olhovchenkov<sl@zxy.spb.ru> wrote:

Can some one fixing kern/113957#replay4? Creating ZFS over gmirror causing gmirror DIRTY on correct reboot.

this seams like a bizarre configuration. Why not let zfs do the mirroring as its more efficient in many ways?

I am need to reliable boot (toleranted to bad blocks in boot area, boot1/boot2). reliable boot => mirror in bios. PREC S100 don't have on-disk information about mirror => gmirror on OS level.

What's wrong with mirroring your / and /boot with zfs, and then if the bootcode blocks get broken, just do the bootcode commands again: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da1

gmirroring your bootcode won't do anything more than this would, since it is static content. (Or are you not talking about bootcode?)