Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Btrfs as the default filesystem? #301

Open
emanuc opened this issue Jun 19, 2022 · 0 comments
Open

Btrfs as the default filesystem? #301

emanuc opened this issue Jun 19, 2022 · 0 comments

Comments

@emanuc
Copy link

emanuc commented Jun 19, 2022

I decided to open an issue based on this comment: https://github.com/pop-os/distinst/pull/286#issuecomment-1154043654
I hope it will be useful.

It's nice that popOS is planning to change the filesystem to Btrfs by default. I have been using Btrfs for many years with great satisfaction, snapshots are very useful.
I would like to pay attention to some aspects:

If snapshots are enabled by default:

emanu@fedora ~> ls -l /var/lib/rpm
lrwxrwxrwx. 1 root root 26 10 mag 21.05 /var/lib/rpm -> ../../usr/lib/sysimage/rpm/

I understand that it is a non trivial change and it could also depend on your upstream (Ubuntu) so maybe initially creating some additional subvolumes could improve the situation in case of automated snapshots, this is my layout (It allows me to have minimal snapshots):

UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /                       btrfs   noatime,compress=zstd:1,subvol=@ 0 0
UUID=4323-EA93          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /home                   btrfs   noatime,compress=zstd:1,subvol=@home    0 0
UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /var/cache              btrfs   noatime,compress=zstd:1,subvol=var_cache 0 0
UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /var/lib/flatpak        btrfs   noatime,compress=zstd:1,subvol=var_lib_flatpak 0 0
UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /var/lib/libvirt        btrfs   noatime,compress=zstd:1,subvol=var_lib_libvirt 0 0
UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /var/lib/machines       btrfs   noatime,compress=zstd:1,subvol=var_lib_machines 0 0
UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /var/log                btrfs   noatime,compress=zstd:1,subvol=var_log 0 0
UUID=1dfbd78c-313d-44a6-9612-2c7b45bed032 /var/tmp                btrfs   noatime,compress=zstd:1,subvol=var_tmp 0 0

Thanks and good job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant