Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2011 22:28:54 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Michael Reifenberger <mike@reifenberger.com>
Cc:        Garrett Cooper <yanegomi@gmail.com>, pjd@FreeBSD.org, FreeBSD-Current <current@FreeBSD.org>
Subject:   Re: mount root from zfs fails under current with "error 6"
Message-ID:  <4DE54176.3080702@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1105311925330.3376@gw.reifenberger.com>
References:  <alpine.BSF.2.00.1105301833270.3134@gw.reifenberger.com>	<BANLkTinM5YvZ-91SJN6EFi5WwF5hQDtojg@mail.gmail.com>	<alpine.BSF.2.00.1105310959440.3206@gw.reifenberger.com> <alpine.BSF.2.00.1105311925330.3376@gw.reifenberger.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 31/05/2011 20:38 Michael Reifenberger said the following:
> 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)

Maybe try to enable GEOM debug to see if/when tasting of the GPT partitions occurs.
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DE54176.3080702>