Date: Fri, 30 Oct 2009 18:00:19 -0400 From: Zaphod Beeblebrox <zbeeble@gmail.com> To: freebsd-fs@freebsd.org Subject: Reading allegedly bad ZFS blocks Message-ID: <5f67a8c40910301500t4b3d3434ha70cc32b66842795@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I have a system I suspect of not being entirely sane. It has accused some files in my ZFS RAIDZ1 array of being corrupt --- ie: not enough information to recover them. However, I suspect strongly that the data may be OK and simply the system itself (reading those blocks) was bad. Now... I attach the ZFS array to a new system ... and the new system refuses to check those files again --- they are "known" bad when I first import the filesystem. I would like the ability to read the underlying data again --- possibly re-check the checksum ... or just get the whole file. Current ZFS behaviour is to return EIO for any of the blocks it doesn't wish to read. Someone in the archives mentioned patching ZFS to ignore it's checksums. Strikes me this should be sysctl. Could someone post that patch?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f67a8c40910301500t4b3d3434ha70cc32b66842795>