ZFS raidz device replacement problem

Ståle Kristoffersen staalebk at ifi.uio.no
Thu May 3 20:28:47 UTC 2007


On 2007-05-03 at 21:11, Pawel Jakub Dawidek wrote:
> On Mon, Apr 23, 2007 at 12:56:19PM +0200, St?le Kristoffersen wrote:
> > On 2007-04-22 at 23:20, Pawel Jakub Dawidek wrote:
> > > I just committed a fix for 'zpool status -v'. It should now show
> > > actually file names if corruption is related to file's data.
> > 
> > I tried the fix and it did work. However, when I deleted the file and
> > restored it from backup it still showed that the pool had one error.
> > (Showing only 0x62b as filename again). Shouldn't ZFS automatically clear
> > the error when deleting the file?
> > 
> > I tried exporting and importing the pool, didn't change anything, I then
> > ran a scrub and it fixed it:
> > scrub: scrub completed with 0 errors on Mon Apr 23 09:45:36 2007
> > errors: No known data errors
> > 
> > I would have preferred if I didn't have to scrub the pool, would it be hard
> > to fix it on delete?
> 
> 'zpool clear <pool>' should do the trick.

I forgot to mention that I did try that, and that seems like it only clears
the numbers.

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


More information about the freebsd-fs mailing list