Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2011 16:41:03 +0300
From:      KOT MATPOCKuH <matpockuh@gmail.com>
To:        Peter Maloney <peter.maloney@brockmann-consult.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS: i/o error all block copies unavailable Invalid format
Message-ID:  <CALmdT0Uqt-Rqho5zi3p-=g1AmioEbiQ0GthzK_-GHWHN1ywZ1Q@mail.gmail.com>
In-Reply-To: <4EDE0D8B.6020201@brockmann-consult.de>
References:  <CALmdT0XQ20rixDBLg9yg85dw1ebKCO3KB15YJVcv=AEhiyZG8A@mail.gmail.com> <4EDDC60E.9060106@brockmann-consult.de> <CALmdT0X1ceqG_zbCA5f6Mr9zRLatCgXdgVHg=WgZVkw35jnuvg@mail.gmail.com> <4EDE0D8B.6020201@brockmann-consult.de>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/12/6 Peter Maloney <peter.maloney@brockmann-consult.de>:
>>> "Invalid format" sounds like the software doesn't understand the disks.
>>> Check your pool (software) version with:
>>> # zpool upgrade -v
>> zpool upgrade -v does not show pools, available for upgrade :)
>>
>> # zpool upgrade
>> This system is currently running ZFS pool version 28.
>>
>> All pools are formatted using this version.
>>
>>> Check your pool (on disk) version with (I forget the exact command):
>>> # zpool get version sunway
>> NAME =A0 =A0PROPERTY =A0VALUE =A0 =A0SOURCE
>> sunway =A0version =A0 28 =A0 =A0 =A0 default
>>
>> It's latest pool's version for RELENG_9.
>>
>>> My guess is that you installed the latest zfs on the pool, but left the
>>> old version of the bootloader.
>> You mean gptzfsboot ?
> Yes.
>> Old gptzfsboot must fail with message like this:
>> ZFS: unsupported ZFS version %u (should be %u)
>>
>> And why problem solved by copying previous zfsloader?
>> Without any another changes...
>>
> previous zfsloader? Oh how interesting. I missed that in your last messag=
e.
>
> When you updated the other 4 systems "with same sources" did you mean
> the same cvsup file, or the exact copy of the source?
I used same cvsup file from same cvsup mirror at same time...
sys/boot/zfs/zfsimpl.c have same version.
Only one difference for this system - it uses SAS drives, another
systems have IDE and SATA.


> And just out of curiosity, how did you find the old bootloader?
I copied zfsloader from system, which has not been updated.
Also I get zfsloader from weekly ZFS's snapshot.

> Did you also try copying the bootloader (with dd maybe) from one of the
> working updated systems? Or comparing checksums of the bootloaders?
All checksums are different...
If possible, I will try to boot the system with all available zfsloaders:
- old from this system
- again new from this system
- old from another system
- new from another system

--=20
MATPOCKuH



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALmdT0Uqt-Rqho5zi3p-=g1AmioEbiQ0GthzK_-GHWHN1ywZ1Q>