Please reply directly to me. Seeing the message below. Is it possible to determine exactly which file is corrupted? I was thinking the OBJECT/RANGE info may be pointing to it but I don''t know how to equate that to a file. # zpool status -v pool: u01 state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: none requested config: NAME STATE READ WRITE CKSUM u01 ONLINE 0 0 6 c1t102d0 ONLINE 0 0 6 errors: The following persistent errors have been detected: DATASET OBJECT RANGE u01 4741362 600178688-600309760 Thanks, Bill -- _/_/_/ _/ _/ _/ _/ Bill Casale - TSE _/ _/ _/ _/_/ _/ OS Team _/_/_/ _/ _/ _/ _/ _/ 1 Network Drive _/ _/ _/ _/ _/_/ Burlington, MA. 01802 _/_/_/ _/_/_/ _/ _/ M I C R O S Y S T E M S
Hello Bill, Tuesday, December 12, 2006, 2:34:01 PM, you wrote: BC> Please reply directly to me. Seeing the message below. BC> Is it possible to determine exactly which file is corrupted? BC> I was thinking the OBJECT/RANGE info may be pointing to it BC> but I don''t know how to equate that to a file. BC> # zpool status -v BC> pool: u01 BC> state: ONLINE BC> status: One or more devices has experienced an error resulting in data BC> corruption. Applications may be affected. BC> action: Restore the file in question if possible. Otherwise restore the BC> entire pool from backup. BC> see: http://www.sun.com/msg/ZFS-8000-8A BC> scrub: none requested BC> config: BC> NAME STATE READ WRITE CKSUM BC> u01 ONLINE 0 0 6 BC> c1t102d0 ONLINE 0 0 6 BC> errors: The following persistent errors have been detected: BC> DATASET OBJECT RANGE BC> u01 4741362 600178688-600309760 ^^^^^^^ This is inode number so just use find to find a file. There''s an RFE for this so zpool status will give you actual file names. -- Best regards, Robert mailto:rmilkowski at task.gda.pl http://milek.blogspot.com
Bill, If you want to find the file associated with the corruption you could do a "find /u01 -inum 4741362" or use the output of "zdb -ddddd u01" to find the object associated with that id. Thanks, George Bill Casale wrote:> Please reply directly to me. Seeing the message below. > > Is it possible to determine exactly which file is corrupted? > I was thinking the OBJECT/RANGE info may be pointing to it > but I don''t know how to equate that to a file. > > > # zpool status -v > pool: u01 > state: ONLINE > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > u01 ONLINE 0 0 6 > c1t102d0 ONLINE 0 0 6 > > errors: The following persistent errors have been detected: > > DATASET OBJECT RANGE > u01 4741362 600178688-600309760 > > > > Thanks, > Bill > >
Bill Casale wrote:> Please reply directly to me. Seeing the message below. > > Is it possible to determine exactly which file is corrupted? > I was thinking the OBJECT/RANGE info may be pointing to it > but I don''t know how to equate that to a file.This is bug: 6410433 ''zpool status -v'' would be more useful with filenames and i''m actually working on it right now! eric> > > # zpool status -v > pool: u01 > state: ONLINE > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > u01 ONLINE 0 0 6 > c1t102d0 ONLINE 0 0 6 > > errors: The following persistent errors have been detected: > > DATASET OBJECT RANGE > u01 4741362 600178688-600309760 > > > > Thanks, > Bill > >