Hi everyone,
Recently I was facing error:
mirror0: checksum error 20
disk1 checksum error 40
disk2 checksum error 40
mirror1
disk3
disk4
mirror2
disk5
disk6
errors: Permanent errors have been detected in the following files:
/foo/bar
/foo/baz
What I did was replaced disk2 with a new one and resilvered. And got:
mirror0: checksum error 2
disk1 checksum error 4
disk2_new checksum error 4
mirror1
disk3
disk4
mirror2
disk5
disk6
errors: Permanent errors have been detected in the following files:
/foo/bar
/foo/baz
I ignored the checksum error (reduced from 20 to 2, 40 to 4) and did a scrub.
After the scrub finished, still got:
mirror0: checksum error 2
disk1 checksum error 4
disk2_new checksum error 4
mirror1
disk3
disk4
mirror2
disk5
disk6
errors: Permanent errors have been detected in the following files:
/foo/bar
/foo/baz
When I read these two files, I got io error.
I was wondering:
1. is what I did with resilver correct? Could I do things better?
2. is there anyway to read these files with error anyway (ignoring the error)? I tried to disable checksum, but still got io error when read it.
3. how to clear the error message "errors: Permanent errors have been detected in the following files:" after I recovered the two files?
Thanks!