Web lists-archives.com

Re: BTRFS snapshot space consumption (was: New laptop: need advice on choice...)




Felix Miata wrote:

> Anders Andersson composed on 2019-04-13 17:31 (UTC+0200):
> 
>> Felix Miata wrote:
> 
>>> Because of its snapshotting, BTRFS requires considerably more space than
>>> older filesystems, as much as double.
> 
>> A btrfs snapshot takes approximately zero space. Where did you get
>> this idea from?
> 
> (not an exhaustive list)
> 
> 1: "Disk Space Full Because of Snapper" on
> https://en.opensuse.org/SDB:BTRFS
> 
> 2: Since 2015, BTRFS has been the default / filesystem on openSUSE, which
> recommends minimum / filesystem size of 20GB for EXT4, compared to 40GB
> for BTRFS.
> 
> 3: Much more common / filesystem freespace exhausted threads on mailing
> lists and web forums from BTRFS users compared to EXT4 users, with the
> usual recommendation to delete one or more snapshots to free space.
> 
> 4:
>
https://btrfs.wiki.kernel.org/index.php/FAQ#Help.21_I_ran_out_of_disk_space.21
> 
> 5:
>
https://btrfs.wiki.kernel.org/index.php/FAQ#Why_is_free_space_so_complicated.3F
> 
> 6:
>
https://www.linuxquestions.org/questions/linux-containers-122/docker-on-btrfs-using-much-space-in-var-lib-docker-btrfs-4175622037/#post5811463

This time I like you :) and agree with you fully.

ext4 or xfs - these are most convenient, although also zfs might be an
option if one can manage it

regards