> From: linux-btrfs-ow...@vger.kernel.org [mailto:linux-btrfs- > ow...@vger.kernel.org] On Behalf Of Martin Schitter > > well -- i am doing a backup of all images every night. this process > should work like a simple "scrub" because all data (and its checksumes) > will be read.
Sorry, not correct. When you read all the data using something in user-land, the OS only needs to read one side of the data. It can accelerate by staggering the read requests across multiple disks. So some sectors remain unread on some disks. When you scrub, it reads all the data from all the redundant copies (mirrored or raid) on all the individual disks in the raid set. For this reason, you always want to use JBOD, and don't use hardware raid. Because if there's an undetected hardware error, the hardware raid will make it impossible for the OS to examine individual disks to identify the failing one. At least I know all the above is true for reading & scrubbing in another filesystem, I don't actually know any of this for fact in btrfs, but it seems so basic I would be flabbergasted if I learned that wasn't the btrfs behavior. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html