Re: Encrypted software RAID1 with Debian Stretch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14 Sep 2017, Wols Lists spake thusly:

> On 14/09/17 14:08, Nix wrote:
>> Ah, so it's like bup only immediately accessible without Python and FUSE
>> installed, and probably less reliable (but hopefully this will change.)
>> Except it doesn't do full deduplication (if you change a file, it gets
>> backed up, even if you change it to the same contents as it had before:
>> yeah, perhaps this is a tad contrived).
>
> Actually, yes it does ... at least the way I suggested.
>
> The whole point of an in-place rsync is it does a comparison, and only
> writes the data IF IT CHANGES. So a "change it to itself" change will be
> detected and ignored by rsync (okay, it may well update the inode, but
> then that HAS changed :-)

That's not full deduplication. It can't even deduplicate the results of
a "cp -a", let alone changes of smoething from A to B and back to A
again, or a change of something to something else present elsewhere in
history, or a change of something to something in part containing
something seen elsewhere in history. The rsync rolling-hash algorithm is
the key to spotting all of these, but just because the algorithm can
chunk things properly doesn't mean you're going to spot duplicates
across time unless you try. And rsync (by design) doesn't do anything
like that.

... anyway, this has nothing to do with RAID anymore: I dragged things
so far off topic you need a telescope to see the topic now. Sorry about
that.

-- 
NULL && (void)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux