# cat /etc/release Solaris Express Community Edition snv_105 X86 Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 15 December 2008 # zpool status tww pool: tww 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: resilver completed after 6h15m with 27885 errors on Wed Aug 26 07:18:03 2009 config: NAME STATE READ WRITE CKSUM tww ONLINE 0 0 54.5K raidz2 ONLINE 0 0 0 c6t600A0B8000299966000005964668CB39d0 ONLINE 0 0 0 c6t600A0B8000299CCC000006C84744C892d0 ONLINE 0 0 0 c6t600A0B8000299CCC000005B44668CC6Ad0 ONLINE 0 0 0 c6t600A0B8000299966000005A44668CC3Fd0 ONLINE 0 0 0 c6t600A0B8000299CCC000005BA4668CD2Ed0 ONLINE 0 0 0 c6t600A0B8000299966000005AA4668CDB1d0 ONLINE 0 0 0 c6t600A0B80002999660000073547C5CED9d0 ONLINE 0 0 0 raidz2 ONLINE 0 0 0 c6t600A0B8000299966000005B04668F17Dd0 ONLINE 0 0 0 c6t600A0B8000299CCC0000099E4A400B94d0 ONLINE 0 0 0 c6t600A0B8000299966000005B64668F26Fd0 ONLINE 0 0 0 c6t600A0B8000299CCC000005CC4668F30Ed0 ONLINE 0 0 0 c6t600A0B8000299966000005BC4668F305d0 ONLINE 0 0 0 c6t600A0B8000299CCC0000099B4A400A9Cd0 ONLINE 0 0 0 c6t600A0B8000299966000005C24668F39Bd0 ONLINE 0 0 0 raidz2 ONLINE 0 0 109K c6t600A0B8000299CCC00000A154A89E426d0 ONLINE 0 0 0 c6t600A0B8000299966000009F74A89E1A5d0 ONLINE 0 0 18 2.50K resilvered c6t600A0B8000299CCC00000A174A89E520d0 ONLINE 0 0 39 4.50K resilvered c6t600A0B8000299966000009F94A89E24Bd0 ONLINE 0 0 486 75K resilvered c6t600A0B800029996600000A454A93CEDBd0 ONLINE 0 0 0 2.55G resilvered c6t600A0B8000299CCC00000A0C4A89DDE8d0 ONLINE 0 0 34 2K resilvered c6t600A0B8000299966000009F04A89DB1Bd0 ONLINE 0 0 173 18K resilvered spares c6t600A0B8000299CCC000005D84668F448d0 AVAIL c6t600A0B8000299966000005C84668F461d0 AVAIL errors: 27885 data errors, use ''-v'' for a list # zpool scrub tww # zpool status tww pool: tww 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: resilver in progress for 0h11m, 2.82% done, 6h21m to go config: ... So, why is a resilver in progress when I asked for a scrub? -- albert chin (china at thewrittenword.com)
On Wed, Aug 26, 2009 at 02:33:39AM -0500, Albert Chin wrote:> # cat /etc/release > Solaris Express Community Edition snv_105 X86 > Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 15 December 2008> So, why is a resilver in progress when I asked for a scrub?Still seeing the same problem with snv_114. # cat /etc/release Solaris Express Community Edition snv_114 X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 04 May 2009 How do I scrub this pool? -- albert chin (china at thewrittenword.com)
Albert Chin
2009-Sep-02 22:53 UTC
[zfs-discuss] zpool scrub started resilver, not scrub (DTL non-empty?)
On Mon, Aug 31, 2009 at 02:40:54PM -0500, Albert Chin wrote:> On Wed, Aug 26, 2009 at 02:33:39AM -0500, Albert Chin wrote: > > # cat /etc/release > > Solaris Express Community Edition snv_105 X86 > > Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. > > Use is subject to license terms. > > Assembled 15 December 2008 > > > So, why is a resilver in progress when I asked for a scrub? > > Still seeing the same problem with snv_114. > # cat /etc/release > Solaris Express Community Edition snv_114 X86 > Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 04 May 2009 > > How do I scrub this pool?>From http://black-chair.livejournal.com/21419.htmlzpool scrub *should* work just fine. The only time a scrub will turn into a resilver is when there are disks whose DTL (dirty time log -- the thing that keeps track of which transactions groups need to be resilvered on which disks) is non-empty. The idea is that if a resilver is necessary, than it''s higher priority than a scrub. Can you tell me a little more about your setup? Just drop me a personal e-mail -- Jeff Bonwick, first.last at sun.com. So, how do I find out if the DTL is non-empty? Looks like it is nevery non-empty. And, if it is non-empty, how do I make it empty? -- albert chin (china at thewrittenword.com)