Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 18:47:31 +0200
From:      Solon Lutz <solon@pyro.de>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>, freebsd-fs@FreeBSD.ORG
Subject:   Re: Help needed! ZFS I/O error recovery?
Message-ID:  <473227349.20091014184731@pyro.de>
In-Reply-To: <673550066.20091013133544@pyro.de>
References:  <20091004185738.GI1660@garage.freebsd.pl> <165582258.20091012155536@pyro.de> <20091012193636.GC1762@garage.freebsd.pl> <756365088.20091013005202@pyro.de> <20091013055754.GA3197@garage.freebsd.pl> <90685589.20091013092418@pyro.de> <20091013072712.GA1597@garage.freebsd.pl> <12910471099.20091013095322@pyro.de> <20091013075511.GC1597@garage.freebsd.pl> <1433853337.20091013100348@pyro.de> <20091013082116.GE1597@garage.freebsd.pl> <673550066.20091013133544@pyro.de>

index | next in thread | previous in thread | raw e-mail

>>> >> > As I understand the values 13462283 and 13462284 were showing errors?

>>> >> > Yes, just try to import the pool and set vfs.zfs.maxtxg back to zero
>>> >> > afterwards.

>>> >> 13462283 and 13462284 were showing errors.
>>> >> vfs.zfs.maxtxg was at -1 before I changed it.

>>> > So does it work now?

>>> radium# zpool import -f temp
>>> cannot iterate filesystems: I/O error
>>> radium# ll /temp/
>>> ls: backup: Input/output error
>>> total 9
>>> drwxr-xr-x  2 root   wheel   2 May 16  2007 audio
>>> drwxr-xr-x  2 root   wheel   2 May 16  2007 misc
>>> drwxr-xr-x  2 root   wheel   2 May 16  2007 video
>>> drwxr-xr-x  8 dhcpd  dhcpd  11 Jul  8 10:36 www
>>> radium# ll /temp/audio/
>>> total 0
>>> radium# ll /temp/misc/
>>> total 0
>>> radium# zfs unmount temp
>>> cannot iterate filesystems: I/O error

>> Can you show 'zpool status'?

>> It might be worth trying to go even more in the past with maxtxg.

> sysctl vfs.zfs.maxtxg=13462260

>   pool: temp
>  state: ONLINE
> status: One or more devices has experienced an error resulting in data
>         corruption.  Applications may be affected.
> action: Restore the file in question if possible.  Otherwise restore the
>         entire pool from backup.
>    see: http://www.sun.com/msg/ZFS-8000-8A
>  scrub: none requested
> config:

>         NAME        STATE     READ WRITE CKSUM
>         temp        ONLINE       0     0     9
>           da0       ONLINE       0     0    36

> errors: Permanent errors have been detected in the following files:

>         temp:<0x0>
>         temp:<0x49681>
>         temp:<0x499a4>
>         temp:<0x495fd>
>         temp/space1:<0x0>
>         temp/space2:<0x0>
>         temp/space3:<0x0>
>         temp/space4:<0x0>
>         temp/space5:<0x0>

I just tried it with more TXGs, even with a jump of -300, but it always gives
an "cannot iterate filesystems: I/O error" error if I try to import the pool.

Also because of mounting the pool, the TXg has gone up to 13445935 from
initially 13462284.

solon




home | help

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