Date: Tue, 6 Aug 2013 17:26:55 -0400 From: J David <j.david.lists@gmail.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-stable@freebsd.org, Andriy Gapon <avg@freebsd.org> Subject: Re: Problem with zfsloader on 9.2-BETA2 Message-ID: <CABXB=RRU9f%2BFmSV=SCmKoaEjhpDptkD5i-v0YVm=gYBEH63Scw@mail.gmail.com> In-Reply-To: <5200C7A3.3070403@yandex.ru> References: <CABXB=RRhVDdKCidwnrji1qR41Rx7uvs2Lx1ZPF1FREOHcnm5bg@mail.gmail.com> <51FD5709.7050306@FreeBSD.org> <CABXB=RS4HSmtPHrw%2BcniTaL_63JS5fA3OcB91y-mCN1DmUKs5Q@mail.gmail.com> <5200C7A3.3070403@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 6, 2013 at 5:53 AM, Andrey V. Elsukov <bu7cher@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=85 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. This is a raidz2, so I can certainly offline the disks one by one to rebuild the partition tables, though that'll take ages; the I/O performance of this system is awful. But I do wonder why the zfsloader from 8.4 can handle whatever's going on in there and 9.2 can't. Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABXB=RRU9f%2BFmSV=SCmKoaEjhpDptkD5i-v0YVm=gYBEH63Scw>