Btrfs Assistant 1.0 is coming, testers needed

Coming from Garuda Linux I directly installed Btrfs Assistant on my fresh EOS installation :wink:

I now have the version 1.6.3 installed. It works as expected incl. the rollback, automated snapshots etc. The only question I have is, why the “Created” timestamp differs from the real date / timestamp when the rollback snapshots were created:

Screenshot_20221121_123545

According to the name of the snapshot, you can see that I have rollbacked today the root (/) and the /home Subvolumes at 12:31 / 12:32 but the “Created” column shows a totally different date from 19th / 20th?! Is this something were I have to change the configuration or just a “bug” in the tool?

Kind regards,

André

Perhaps neither? The “created” column is localized and displayed for your timezone. The backup name probably isn’t.

My timezone is GMT+1 and I did the rollback for / and home directly after each other - so it is strange why there should be a difference of more than one day between the two “created” timestamps.

Not that I misinterpreted it: the Created column shows the timestamp of the date / hour when the rollback snapshot is taken - right?

Oh
you are probably right.

The backups aren’t snapshots. So the created timestamp isn’t when the backup was taken.

Is brfsmaintenance necessary for the Assistant to upgrade the old snapshots by itself?

Edit: I just see that an additional subvolume @ was created here by itself. Is that correct?

Screenshot_20221121_162757

I am not sure what you mean by “upgrade all snapshots”

That is your root subvolume. Btrfs Assistant didn’t create that, the EOS installer did.

sorry, is a translation error of deepL, I mean that according to the settings

it removes the old snapshots itself, clean up.

There is also Snapper cleanaup enabled, but why do you need btrfsmaintenance?

Because it was created only a few days later 


btrfsmaintenance enables more functionality. You don’t need it to clean-up snapshots. That is handled by Snapper.

It adds things like configurable scheduled scrubs, balance and defrag. It is entirely optional.

When you install it, a new tab is added to Btrfs Assistant with that functionality.

Probably because you restored a snapshot. I guess, technically, Btrfs Assistant created that from a snapshot. However, the original @ subvolume was created by the installer.

1 Like

OK, thanks @dalto :ok_hand:t2:

1 Like

I have the same problem and i dont know what to do about it

Modify the path unit is my recommendation.

Use this instead:

[Unit]
Description=Monitors for new snapshots

[Path]
PathModified=/.snapshots

[Install]
WantedBy=multi-user.target

Is it somehow possible to reset the numbering of the already existing snapshots, or to start with 1? I have the feeling that soon the width of my screen may no longer be sufficient to display the length of the numbering, if that continues to count as before.

That is snapper itself numbering the snapshots.

I am not sure if there is a way to reset it or not without deleting the config or hacking at the xml.

1 Like

I noticed there is the new version of grub-btrfs for GRUB.

It does not use the grub-btrfs.path anymore and calls the grub-btrfs.service obsolete,
but it created the new grub-btrfsd.service.

How to convert them to the grub-btrfsd.service.

  1. disable grub-btrfs.path and grub-btrfs.service
$ sudo systemctl disable --now grub-btrfs.path grub-btrfs.service
  1. Enable grub-btrfsd.service
$ sudo systemctl enable --now grub-btrfsd.service

If you use Timeshift 22.6+ instead of snapper.

  1. Edit grub-btrfsd.service to change the line ExecStart=...
$ sudo systemctl edit --full grub-btrfsd.service

Change

ExecStart=/usr/bin/grub-btrfsd --syslog /.snapshots

to

ExecStart=/usr/bin/grub-btrfsd --syslog --timeshift-auto
  1. Restart grub-btrfsd.service
$ sudo systemctl restart grub-btrfsd.service

Hi @dalto
It has been a long time.
I am glad with the developments that came with Cassini, I just converted to dracut

I remember sytemd-boot was wonderful and I loved it. But there was an issue to restore from a snapshot (quoted post).

Was it a bug in BTRFS-Assistant?
Is it OK now.
If BTRFS Assistant will enable me now to systemd-boot and recover/restore a previous snapshot I would convert again to systemd-boot

I highly appreciate all what you and everybody are doing. Simply amazing.
I will appreciate feed back.

1 Like

Now I remember what I wanted to ask: What are Btrfs Quotas and what is the point of enabling this setting?

The primary purpose is to limit disk usage based on criteria.

However, many people enable them because it makes it much faster to calculate disk space metrics.

That being said, enabling them can cause performance issues in certain use cases so I usually leave them disabled on my own installs.

1 Like

Thanks @dalto , that’s good to know.

1 Like

I’m getting closer to doing a fresh install after testing EndeavourOS for awhile now and I’ve noticed this systemd-boot as the default over grub and I couldn’t think of a great reason to now continue to user grub since it isn’t the default anymore and the advantages and reasoning why is no longer is.

I did notice something about bootable snapshot issues and some things needing to be worked or something. I am referencing this thread.

My question is comparing it to grub (previous way of all this snapshot stuff), what are the current pros and cons? I’m trying to figure out if I should still be using grub, and if so, there seem to be some differences anyways posted about a few weeks ago in this thread.

1 Like