Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2011 12:35:27 +0200
From:      Henri Hennebert <hlh@restart.be>
To:        freebsd-current@freebsd.org, freebsd-fs@freebsd.org, avg@freebsd.org
Subject:   Re: zfsloader 9.0 BETA3 r225759 - i/o error - all block copies unavailable
Message-ID:  <4E9D566F.1040104@restart.be>
In-Reply-To: <4E8DAEE5.4020004@FreeBSD.org>
References:  <4E8D7406.4090302@restart.be> <4E8D86A2.1040508@FreeBSD.org> <4E8D9F57.70506@restart.be> <4E8DAEE5.4020004@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@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@avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2
segmentation fault...

Strange isn't it.


Henri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9D566F.1040104>