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

Gavin Atkinson gavin at FreeBSD.org
Fri Jun 3 16:06:22 UTC 2011


On Tue, 2011-05-31 at 19:38 +0200, Michael Reifenberger wrote:
> Hi,
> 
> On Tue, 31 May 2011, Michael Reifenberger wrote:
> ...
> > (fs)(root) gpart show ada0
> > =>        34  5860533101  ada0  GPT  (2.7T)
> >          34         990     1  freebsd-boot  (495k)
> >        1024     2098176     2  freebsd-swap  (1.0G)
> >     2099200  5858433928     3  freebsd-zfs  (2.7T)
> >  5860533128           7        - free -  (3.5k)
> >
> ...
> 
> maybe I found something:
> After setting vfs.zfs.debug=1 I got two new verbose bootlogs:
>  	http://people.freebsd.org/~mr/boot_fail2.txt
>  	http://people.freebsd.org/~mr/boot_success2.txt
> 
> 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 ?

Thanks,

Gavin
-- 
Gavin Atkinson
FreeBSD committer and bugmeister
GPG: A093262B (313A A79F 697D 3A5C 216A  EDF5 935D EF44 A093 262B)


More information about the freebsd-current mailing list