On one of the pools, I started a scrub. It never finishes. At one time, I saw it go up to like 70% and then a little bit later I ran the pool status, it went back to 5% and started again. What is going on? Here is the pool layout: pool: data2 state: ONLINE scrub: scrub in progress, 35.25% done, 0h54m to go config: NAME STATE READ WRITE CKSUM data2 ONLINE 0 0 0 mirror ONLINE 0 0 0 c0t12d0 ONLINE 0 0 0 c0t13d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c0t15d0 ONLINE 0 0 0 c0t16d0 ONLINE 0 0 0 errors: No known data errors Thanks
On Sun, 13 Jul 2008, Anil Jangity wrote:> On one of the pools, I started a scrub. It never finishes. At one time, > I saw it go up to like 70% and then a little bit later I ran the pool > status, it went back to 5% and started again. > > What is going on? Here is the pool layout:Initiating a snapshot stops the scrub. I don''t know if the scrub is restarted at 0%, or simply aborted. Are you taking snapshots during the scrub? Bob
Oh, my hunch was right. Yup, I do have an hourly snapshot going. I''ll take it out and see. Thanks! Bob Friesenhahn wrote:> On Sun, 13 Jul 2008, Anil Jangity wrote: > > >> On one of the pools, I started a scrub. It never finishes. At one time, >> I saw it go up to like 70% and then a little bit later I ran the pool >> status, it went back to 5% and started again. >> >> What is going on? Here is the pool layout: >> > > Initiating a snapshot stops the scrub. I don''t know if the scrub is > restarted at 0%, or simply aborted. Are you taking snapshots during > the scrub? > > Bob > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
ZFS co-inventor Matt Ahrens recently fixed this: 6343667 scrub/resilver has to start over when a snapshot is taken Trust me when I tell you that solving this correctly was much harder than you might expect. Thanks again, Matt. Jeff On Sun, Jul 13, 2008 at 07:08:48PM -0700, Anil Jangity wrote:> Oh, my hunch was right. Yup, I do have an hourly snapshot going. I''ll > take it out and see. > > Thanks! > > > Bob Friesenhahn wrote: > > On Sun, 13 Jul 2008, Anil Jangity wrote: > > > > > >> On one of the pools, I started a scrub. It never finishes. At one time, > >> I saw it go up to like 70% and then a little bit later I ran the pool > >> status, it went back to 5% and started again. > >> > >> What is going on? Here is the pool layout: > >> > > > > Initiating a snapshot stops the scrub. I don''t know if the scrub is > > restarted at 0%, or simply aborted. Are you taking snapshots during > > the scrub? > > > > Bob > > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
zfs-discuss-bounces at opensolaris.org wrote on 07/13/2008 11:29:07 PM:> ZFS co-inventor Matt Ahrens recently fixed this: > > 6343667 scrub/resilver has to start over when a snapshot is taken > > Trust me when I tell you that solving this correctly was much harder > than you might expect. Thanks again, Matt. > > JeffIs there an available patch for mainline solaris 10?> > On Sun, Jul 13, 2008 at 07:08:48PM -0700, Anil Jangity wrote: > > Oh, my hunch was right. Yup, I do have an hourly snapshot going. I''ll > > take it out and see. > > > > Thanks! > > > > > > Bob Friesenhahn wrote: > > > On Sun, 13 Jul 2008, Anil Jangity wrote: > > > > > > > > >> On one of the pools, I started a scrub. It never finishes. At onetime,> > >> I saw it go up to like 70% and then a little bit later I ran thepool> > >> status, it went back to 5% and started again. > > >> > > >> What is going on? Here is the pool layout: > > >> > > > > > > Initiating a snapshot stops the scrub. I don''t know if the scrub is > > > restarted at 0%, or simply aborted. Are you taking snapshots during > > > the scrub? > > > > > > Bob > > > > > > _______________________________________________ > > > zfs-discuss mailing list > > > zfs-discuss at opensolaris.org > > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss