mount root from zfs fails under current with "error 6"

Michael Reifenberger mike at
Sat Jun 4 13:40:58 UTC 2011

On Fri, 3 Jun 2011, Gavin Atkinson wrote:
>> maybe I found something:
>> After setting vfs.zfs.debug=1 I got two new verbose bootlogs:
>> As you can see, in the failing case ZFS tries to attach to ada[0123]
>> whereas in the succeeding case ZFS attaches to ada[0123]p3 (which are the
>> correct devices)
> Can you try setting kern.geom.part.check_integrity=0 ?

Preparing a new r222654 kernel and booting with kern.geom.part.check_integrity=0
didn't cure anything.
See for a "boot -v" using
 	set kern.geom.label.debug=1

But reverting /sys/geom to r221381 allows to boot.
See for a "boot -s" using
 	set vfs.zfs.debug=1
 	set kern.geom.debugflags=4
 	set kern.geom.label.debug=1

So the problem seems to be related to the recent geom changes...

Michael Reifenberger
Michael at

More information about the freebsd-current mailing list