Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

zfs & gmirror == DIRTY mirror on reboot

17 views
Skip to first unread message

Slawa Olhovchenkov

unread,
Apr 11, 2012, 10:12:43 AM4/11/12
to
Can some one fixing kern/113957#replay4?
Creating ZFS over gmirror causing gmirror DIRTY on correct reboot.
_______________________________________________
freeb...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-...@freebsd.org"

krad

unread,
Apr 12, 2012, 4:34:47 AM4/12/12
to
this seams like a bizarre configuration. Why not let zfs do the
mirroring as its more efficient in many ways?

Slawa Olhovchenkov

unread,
Apr 12, 2012, 4:40:06 AM4/12/12
to
On Thu, Apr 12, 2012 at 09:34:47AM +0100, krad wrote:

> On 11 April 2012 15:12, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote:
> > Can some one fixing kern/113957#replay4?
> > Creating ZFS over gmirror causing gmirror DIRTY on correct reboot.
> > _______________________________________________
> > freeb...@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> > To unsubscribe, send any mail to "freebsd-fs-...@freebsd.org"
>
>
> 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.

Peter Maloney

unread,
Apr 12, 2012, 4:58:01 AM4/12/12
to
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<s...@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?)
0 new messages