Re: zfsloader 9.0 BETA3 r225759 - i/o error - all block copies unavailable

From: Henri Hennebert <hlh_at_restart.be>
Date: Tue, 18 Oct 2011 12:35:27 +0200
On 10/06/2011 15:36, Andriy Gapon wrote:
> on 06/10/2011 15:30 Henri Hennebert said the following:
>> The pool is a mirror:
>>
>> [root_at_morzine ~]# zpool status rpool
>>    pool: rpool
>>   state: ONLINE
>>   scan: scrub repaired 0 in 1h0m with 0 errors on Wed Aug 24 15:04:36 2011
>> config:
>>
>>      NAME                                            STATE     READ WRITE CKSUM
>>      rpool                                           ONLINE       0     0     0
>>        mirror-0                                      ONLINE       0     0     0
>>          gptid/e915c6a0-fc72-11de-aa21-00e081706b68  ONLINE       0     0     0
>>          gptid/eac8497d-fc72-11de-aa21-00e081706b68  ONLINE       0     0     0
>>
>> errors: No known data errors
>>
>> and rpool/root is not compressed:
>>
>> [root_at_morzine ~]# zfs get compression rpool/root
>> NAME        PROPERTY     VALUE     SOURCE
>> rpool/root  compression  off       inherited from rpool
>>
>> pool is v28 and filesystems are v5
>
> No particular recipes for this environment, just a general suggestion.
> If you run into a situation like this again, please try to use
> tools/tools/zfsboottest to diagnose where exactly an error originates.
>

I upgrade another system to 9.0-RC1 and encounter the same problem, this 
time zfsloader do not run.

After

mv /mnt/boot /mnt/Boot
mkdir /mnt/boot
cd /mnt/Boot
find . | cpio -pvdmu /mnt/boot

FreeBSD boot OK


[root_at_avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 
/dev/ada1p2
ZFS: SPA version 28
   pool: rpool
config:

         NAME STATE
         rpool ONLINE
           mirror ONLINE
             ada0p2 ONLINE
             ada1p2 ONLINE
ZFS: i/o error - all block copies unavailable
can't lookup

10 minutes later:

[root_at_avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 
/dev/ada1p2|less
ZFS: SPA version 28
   pool: rpool
config:

         NAME STATE
         rpool ONLINE
           mirror ONLINE
             ada0p2 ONLINE
             ada1p2 ONLINE
<blablabla>

it seems ok :-o

and a other time:
[root_at_avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2
segmentation fault...

Strange isn't it.


Henri
Received on Tue Oct 18 2011 - 08:46:25 UTC

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