Problem with zfsloader on 9.2-BETA2
Andrey V. Elsukov
ae at FreeBSD.org
Wed Aug 7 10:52:57 UTC 2013
On 07.08.2013 01:26, J David wrote:
> On Tue, Aug 6, 2013 at 5:53 AM, Andrey V. Elsukov <bu7cher at yandex.ru> wrote:
>> looking to your `zfs status` output and this, we can see, that GPT
>> wasn't detected on most of disks. Can you try to boot with this loader:
>> http://people.freebsd.org/~ae/zfsloader
>> It's from 10-CURRENT and was build with -DPART_DEBUG, so you will see
>> some additional debug messages while booting.
>
> OK, some of the output scrolls too fast… since it can't load the
> filesystem it doesn't know to copy to serial console.
>
> But looking at the tail end, it's a lot of this:
>
> gpt_checkhdr: invalid entry size or number of entries
> gpt_checkhdr: invalid entry size or number of entries
> ptable_open: PMBR detected
>
> At least five sets of those, so I assume they are for at least disk2 -
> disk 7. Unfortunately I can't catch the output for disks 1 and 2,
> which are the only two bootable disks. :(
>
> Here's the bootparttest output:
>
> $ sudo ./bootparttest da0
> GEOM provider "da0" opened
> Mediasize: 32296140800 Bytes (63078400 sectors)
> Sectorsize: 512 Bytes
> da0: read 1 blocks from the offset 0 [+0]
> da0: read 1 blocks from the offset 1 [+0]
> ptable_open: PMBR detected
> da0: read 1 blocks from the offset 1 [+0]
> da0: read 32 blocks from the offset 2 [+0]
> da0: read 1 blocks from the offset 63078399 [+0]
> ptable_gptread: new GPT partition added
> ptable_gptread: new GPT partition added
> ptable_gptread: new GPT partition added
> Partition table detected: GPT
> da0p1: FreeBSD boot 64k
> da0p2: FreeBSD swap 2048M
> da0p3: FreeBSD ZFS 28G
> GEOM provider "da1" opened
> Mediasize: 32000000000 Bytes (62500000 sectors)
> Sectorsize: 512 Bytes
> da1: read 1 blocks from the offset 0 [+0]
> da1: read 1 blocks from the offset 1 [+0]
> ptable_open: PMBR detected
> da1: read 1 blocks from the offset 1 [+0]
> da1: read 32 blocks from the offset 2 [+0]
> da1: read 1 blocks from the offset 62499999 [+0]
> ptable_gptread: new GPT partition added
> ptable_gptread: new GPT partition added
> ptable_gptread: new GPT partition added
> Partition table detected: GPT
> da1p1: FreeBSD boot 64k
> da1p2: FreeBSD swap 2048M
> da1p3: FreeBSD ZFS 27G
> $ sudo ./bootparttest da2
> GEOM provider "da2" opened
> Mediasize: 1000204886016 Bytes (1953525168 sectors)
> Sectorsize: 512 Bytes
> da2: read 1 blocks from the offset 0 [+0]
> da2: read 1 blocks from the offset 1 [+0]
> ptable_open: PMBR detected
> da2: read 1 blocks from the offset 1 [+0]
> gpt_checkhdr: invalid entry size or number of entries
> da2: read 1 blocks from the offset 1953525167 [+0]
> gpt_checkhdr: invalid entry size or number of entries
> Partition table detected: None
>
> (Output for da3 - da7 are identical to da2.)
>
> So I'm guessing something doesn't like the metadata on the data drives.
Hi,
can you please dump first 34 blocks from da2 and send to me?
i.e.,
# dd if=/dev/da2 of=./gpt count=34
Also, it is interesting, what tool did you use for partitioning?
--
WBR, Andrey V. Elsukov
More information about the freebsd-stable
mailing list