linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs scrub status reports not running when it is
@ 2015-01-14 21:06 Sandy McArthur Jr
  2015-01-14 21:23 ` Marc Joliet
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sandy McArthur Jr @ 2015-01-14 21:06 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

Sometimes btrfs scrub status reports that is not running when it still is.

I think this a cosmetic bug. And I believe this is related to the
scrub completing on some drives before others in a multi-drive btrfs
filesystem that is not well balanced.

Based on `iostat 1` activity the last drive in the btrfs filesystem
was still being scrubbed at the time I copied the output below, you
can see the total bytes scrubbed is increasing despite showing as "not
running". The last drive being scrubbed was not the device identified
when you list mount points with `mount`:


# date ; echo ; btrfs scrub status /mcmedia/
Wed Jan 14 15:20:18 EST 2015

scrub status for 94b3345e-2589-423c-a228-d569bf94ab58
scrub started at Tue Jan 13 01:18:22 2015, interrupted after 136912
seconds, not running
total bytes scrubbed: 23.05TiB with 513 errors
error details: verify=19 csum=494
corrected errors: 512, uncorrectable errors: 1, unverified errors: 0


# date ; echo ; btrfs scrub status /mcmedia/
Wed Jan 14 15:21:25 EST 2015

scrub status for 94b3345e-2589-423c-a228-d569bf94ab58
scrub started at Tue Jan 13 01:18:22 2015, interrupted after 136982
seconds, not running
total bytes scrubbed: 23.06TiB with 513 errors
error details: verify=19 csum=494
corrected errors: 512, uncorrectable errors: 1, unverified errors: 0


# uname -a
Linux mcplex 3.18.2-gentoo #1 SMP Mon Jan 12 10:24:25 EST 2015 x86_64
Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz GenuineIntel GNU/Linux

# btrfs --version
Btrfs v3.18.1


-- 
Sandy McArthur Jr

"He who dares not offend cannot be honest."
- Thomas Paine

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-19 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 21:06 btrfs scrub status reports not running when it is Sandy McArthur Jr
2015-01-14 21:23 ` Marc Joliet
2015-01-14 21:26 ` Sandy McArthur Jr
2015-01-14 22:27 ` Zach Brown
2015-01-15 11:24   ` David Sterba
2015-01-15 18:02     ` Zach Brown
2015-01-19 17:45       ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).