Re: Why do full balance and deduplication reduce available free space?

2017-10-09 Thread Kai Krakow
Am Mon, 02 Oct 2017 22:19:32 +0200 schrieb Niccolò Belli : > Il 2017-10-02 21:35 Kai Krakow ha scritto: > > Besides defragging removing the reflinks, duperemove will unshare > > your snapshots when used in this way: If it sees duplicate blocks > > within the subvolumes

Re: Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Goffredo Baroncelli
On 10/02/2017 12:02 PM, Niccolò Belli wrote: > Hi, > I have several subvolumes mounted with compress-force=lzo and autodefrag. >> Since I use lots of snapshots (snapper keeps around 24 hourly snapshots, 7 >> daily > snapshots and 4 weekly snapshots) I had to create a systemd timer to perform >

Re: Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Niccolò Belli
Il 2017-10-02 21:35 Kai Krakow ha scritto: Besides defragging removing the reflinks, duperemove will unshare your snapshots when used in this way: If it sees duplicate blocks within the subvolumes you give it, it will potentially unshare blocks from the snapshots while rewriting extents. BTW,

Re: Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Kai Krakow
Am Mon, 02 Oct 2017 12:02:16 +0200 schrieb Niccolò Belli : > This is how I performe balance: btrfs balance start --full-balance > rootfs This is how I perform deduplication (duperemove is from git > master): duperemove -drh --dedupe-options=noblock >

Re: Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Niccolò Belli
Maybe this is because of the autodefrag mount option? I thought it wasn't supposed to unshare lots of extents... Niccolò -- 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

RE: Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Paul Jones
rg > 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

Re: Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Niccolò Belli
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

Re: Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Hans van Kranenburg
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. -- Hans van

Why do full balance and deduplication reduce available free space?

2017-10-02 Thread Niccolò Belli
Hi, I have several subvolumes mounted with compress-force=lzo and autodefrag. Since I use lots of snapshots (snapper keeps around 24 hourly snapshots, 7 daily snapshots and 4 weekly snapshots) I had to create a systemd timer to perform a full balance and deduplication each night. In fact data