> -----Original Message----- > From: linux-btrfs-owner@xxxxxxxxxxxxxxx [mailto:linux-btrfs- > owner@xxxxxxxxxxxxxxx] On Behalf Of Niccolò Belli > Sent: Monday, 2 October 2017 9:29 PM > To: Hans van Kranenburg <hans.van.kranenburg@xxxxxxxxxx> > Cc: linux-btrfs@xxxxxxxxxxxxxxx > Subject: Re: Why do full balance and deduplication reduce available free > space? > > Il 2017-10-02 12:16 Hans van Kranenburg ha scritto: > > On 10/02/2017 12:02 PM, Niccolò Belli wrote: > >> [...] > >> > >> Since I use lots of snapshots [...] I had to create a systemd timer > >> to perform a full balance and deduplication each night. > > > > Can you explain what's your reasoning behind this 'because X it needs > > Y'? I don't follow. > > Available free space is important to me, so I want snapshots to be > deduplicated as well. Since I cannot deduplicate snapshots because they are > read-only, then the data must be already deduplicated before the snapshots > are taken. I do not consider the hourly snapshots because in a day they will > be gone anyway, but daily snapshots will stay there for much longer so I want > them to be deduplicated. I use bees for deduplication and it will quite happily dedupe read-only snapshots. You could always change them to RW while dedupe is running then change back to RO. Paul. ��.n��������+%������w��{.n�����{����n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�
