[zfs-discuss] Checksum error: which of my files have failed scrubbing?

2008-08-05 Thread soren
ZFS has detected that my root filesystem has a small number of errors.  Is 
there a way to tell which specific files have been corrupted?


sbox:~$ zpool status -x
  pool: rpool
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: scrub completed after 0h10m with 2 errors on Sun Aug  3 00:16:33 2008
config:

NAMESTATE READ WRITE CKSUM
rpool   ONLINE   0 0 4
  c4t0d0s0  ONLINE   0 0 4
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?

2008-08-05 Thread Bob Netherton
soren wrote:
 ZFS has detected that my root filesystem has a small number of errors.  Is 
 there a way to tell which specific files have been corrupted?
   
After a scrub a zpool status -v should give you a list of files with 
unrecoverable errors.


Bob
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?

2008-08-05 Thread soren
 soren wrote:
  ZFS has detected that my root filesystem has a
 small number of errors.  Is there a way to tell which
 specific files have been corrupted?

 After a scrub a zpool status -v should give you a
 list of files with 
 unrecoverable errors.

Hmm, I just tried that.  Perhaps No known data errors means that my files are 
OK.  In that case I wonder what the checksum failure was from.


sbox:~$ zpool status -xv
  pool: rpool
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: scrub completed after 0h10m with 2 errors on Sun Aug  3 00:16:33 2008
config:

NAMESTATE READ WRITE CKSUM
rpool   ONLINE   0 0 4
  c4t0d0s0  ONLINE   0 0 4

errors: No known data errors
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?

2008-08-05 Thread Mario Goebbels (iPhone)
Possibly metadata. Since that's however redundant due to ditto blocks  
(2 or 3 copies depending on importance), it was repaired during the  
scrub.

--
Via iPhone 3G

On 05-août-08, at 21:11, soren [EMAIL PROTECTED] wrote:

 soren wrote:
 ZFS has detected that my root filesystem has a
 small number of errors.  Is there a way to tell which
 specific files have been corrupted?

 After a scrub a zpool status -v should give you a
 list of files with
 unrecoverable errors.

 Hmm, I just tried that.  Perhaps No known data errors means that  
 my files are OK.  In that case I wonder what the checksum failure  
 was from.


 sbox:~$ zpool status -xv
  pool: rpool
 state: ONLINE
 status: One or more devices has experienced an unrecoverable error.   
 An
attempt was made to correct the error.  Applications are  
 unaffected.
 action: Determine if the device needs to be replaced, and clear the  
 errors
using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: scrub completed after 0h10m with 2 errors on Sun Aug  3  
 00:16:33 2008
 config:

NAMESTATE READ WRITE CKSUM
rpool   ONLINE   0 0 4
  c4t0d0s0  ONLINE   0 0 4

 errors: No known data errors


 This message posted from opensolaris.org
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?

2008-08-05 Thread Cindy . Swearingen
Soren,

At this point, I'd like to know what fmdump -eV says about your disk so
you can determine whether it should be replaced or not.

Cindy

soren wrote:
soren wrote:

ZFS has detected that my root filesystem has a

small number of errors.  Is there a way to tell which
specific files have been corrupted?

After a scrub a zpool status -v should give you a
list of files with 
unrecoverable errors.
 
 
 Hmm, I just tried that.  Perhaps No known data errors means that my files 
 are OK.  In that case I wonder what the checksum failure was from.
 
 
 sbox:~$ zpool status -xv
   pool: rpool
  state: ONLINE
 status: One or more devices has experienced an unrecoverable error.  An
 attempt was made to correct the error.  Applications are unaffected.
 action: Determine if the device needs to be replaced, and clear the errors
 using 'zpool clear' or replace the device with 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-9P
  scrub: scrub completed after 0h10m with 2 errors on Sun Aug  3 00:16:33 2008
 config:
 
 NAMESTATE READ WRITE CKSUM
 rpool   ONLINE   0 0 4
   c4t0d0s0  ONLINE   0 0 4
 
 errors: No known data errors
  
  
 This message posted from opensolaris.org
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?

2008-08-05 Thread Bill Sommerfeld
On Tue, 2008-08-05 at 12:11 -0700, soren wrote:
  soren wrote:
   ZFS has detected that my root filesystem has a
  small number of errors.  Is there a way to tell which
  specific files have been corrupted?
 
  After a scrub a zpool status -v should give you a
  list of files with 
  unrecoverable errors.
 
 Hmm, I just tried that.  Perhaps No known data errors means that my files 
 are OK.  In that case I wonder what the checksum failure was from.

If this is build 94 and you have one or more unmounted filesystems, 
(such as alternate boot environments), these errors are false positives.
There is no actual error; the scrubber misinterpreted the end of an
intent log block chain as a checksum error.

the bug id is:

6727872 zpool scrub: reports checksum errors for pool with zfs and
unplayed ZIL

This bug is fixed in build 95.  One workaround is to mount the
filesystems and then unmount them to apply the intent log changes.

- Bill




___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?

2008-08-05 Thread soren
Aha, that's the problem.  I just upgraded to build 94, and I have alternate 
boot environments.

===

 Hmm, I just tried that.  Perhaps No known data errors means that my files 
 are OK.  In  that case I wonder what the checksum failure was from.

If this is build 94 and you have one or more unmounted filesystems, 
(such as alternate boot environments), these errors are false positives.
There is no actual error; the scrubber misinterpreted the end of an
intent log block chain as a checksum error.

the bug id is:

6727872 zpool scrub: reports checksum errors for pool with zfs and
unplayed ZIL

This bug is fixed in build 95.  One workaround is to mount the
filesystems and then unmount them to apply the intent log changes.

- Bill
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss