Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2007 12:41:55 +0200
From:      =?iso-8859-1?Q?St=E5le?= Kristoffersen <staalebk@ifi.uio.no>
To:        fs@freebsd.org
Subject:   ZFS + replacing failing hard-drive.
Message-ID:  <20070418104155.GA31727@eschew.pusen.org>

next in thread | raw e-mail | index | archive | help
Hi!
I have been testing ZFS on my fileserver. The data I had in the zpool is
not that important so I do not have redundancy. Unfortunately I got a bad
hard-drive:
Apr 13 22:02:44 fs root: ZFS: vdev I/O failure, zpool=stash path=/dev/ad14s1d offset=336216064000 size=131072 error=5
Apr 13 22:02:56 fs kernel: ad14: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=3013311

I therefor bought a new drive and used dd_rescue to copy the salvageable
blocks to the new disk.
Booting up and things are looking good, no more DMA-errors and things seems
to work. The only problem is that the blocks (24) that could not be copied
produce CKSUM errors.
This is perfect, but I now wants to delete the files that are touched by
the problem, but 'zpool status -v' do not give me a path like in the
zfs-handbook:
errors: Permanent errors have been detected in the following files:

        stash/TV:<0x62b>

How can I figure out what files are affected?
Is there any way to fix this without rebuilding the pool? 

-- 
Ståle Kristoffersen
staalebk@ifi.uio.no



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