Re: ZFS: i/o error all block copies unavailable Invalid format

From: Peter Maloney <peter.maloney_at_brockmann-consult.de>
Date: Tue, 06 Dec 2011 13:41:47 +0100
On 12/06/2011 12:06 PM, KOT MATPOCKuH wrote:
> Hello!
>
> 2011/12/6 Peter Maloney <peter.maloney_at_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    PROPERTY  VALUE    SOURCE
> sunway  version   28       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 message.

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 often see people
posting about some mirrors updating later than others [I forget if this
applies to current or stable or both], so I wouldn't trust them to have
the same download each time, or a consistent download given a date
unless it is a distant date.

And just out of curiosity, how did you find the old bootloader? I
probably wouldn't think to back it up if the new one compiled without error.

Did you also try copying the bootloader (with dd maybe) from one of the
working updated systems? Or comparing checksums of the bootloaders?

-- 

--------------------------------------------
Peter Maloney
Brockmann Consult
Max-Planck-Str. 2
21502 Geesthacht
Germany
Tel: +49 4152 889 300
Fax: +49 4152 889 333
E-mail: peter.maloney_at_brockmann-consult.de
Internet: http://www.brockmann-consult.de
--------------------------------------------
Received on Tue Dec 06 2011 - 11:41:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC