On 2017-04-13 07:06, Marat Khalili wrote:
After reading this maillist for a while I became a bit more cautious
about using various BTRFS features, so decided to ask just in case: is
it safe to use out-of-band deduplication tools
<https://btrfs.wiki.kernel.org/index.php/Deduplication>, and which of
them are considered more stable/mainstream? Also, won't running these
tools exacerbate often mentioned stability/performance problems with
too-many-snapshots? Any first-hand experience is very welcome.
As a general rule, as long as you're careful, you generally shouldn't
have many issues. duperemove is the tool I would suggest for just
generic deduplication on BTRFS, as I know the developer is still active
and generally does a good job of getting bugs fixed. It may well make
performance problems with large numbers of snapshots worse, but probably
not by as much as you think (unless you have huge amounts of duplicate
data). Keep in mind also that batch deduplication can take a very long
time to do.
As a general rule though, if you're storing data that's consistently
structured and organized, you may want to consider doing a custom tool
to make the process more efficient. Any generic deduplication tool is
generally going to be pretty slow on large amounts of data, but
depending on what the data is and how it's organized, it may be possible
to determine duplicate data more efficiently than the block hashing
method used by most deduplication tools.
--
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