linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What does scrub tell me?
@ 2015-02-04 17:31 Sandy McArthur Jr
  2015-02-05  3:43 ` Duncan
  0 siblings, 1 reply; 3+ messages in thread
From: Sandy McArthur Jr @ 2015-02-04 17:31 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

Does a btrfs scrub verify the integrity of the whole filesystem or
just the data in that filesystem?

I recently removed some unreliable drives from my multi-volume RAID1
btrfs filesystem and ran a scrub that completed with two corrected
errors (see below).  I've struggled with this filesystem due to poor
choices in hardware on my part and had to recover it several times. As
of now I've eliminated all older drives or drives labeled as "desktop"
drives. (Knowing what I know now, I'm impressed with how well btrfs
has preserved my data despite myself.)

I'm at a point where I can grow my existing btrfs filesystem as RAID1
or I can afford to migrate data to a new btrfs single filesystem and
then add drives back in to get back to RAID1 mirroring again. Is there
value to starting a fresh btrfs filesystem given my history?


# btrfs scrub status /mcmedia/ ; echo ; btrfs --version
scrub status for 94b3345e-2589-423c-a228-d569bf94ab58
scrub resumed at Mon Feb  2 22:03:14 2015 and finished after 204126 seconds
total bytes scrubbed: 23.38TiB with 2 errors
error details: csum=2
corrected errors: 2, uncorrectable errors: 0, unverified errors: 0

Btrfs v3.18.2

Both errors were from: [/dev/sdm1].corruption_errs 2

-- 
Sandy McArthur

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

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

end of thread, other threads:[~2015-02-05  5:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 17:31 What does scrub tell me? Sandy McArthur Jr
2015-02-05  3:43 ` Duncan
2015-02-05  5:16   ` Qu Wenruo

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).