ZFS raidz device replacement problem

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu May 3 20:09:37 UTC 2007


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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070503/9212cdac/attachment.pgp


More information about the freebsd-fs mailing list