Timeshift error

Hi,
Every time timeshift runs in the terminal i get this following error.

sudo timeshift-autosnap
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/nvme0n1p2' at '/run/timeshift/15984/backup'
E: ERROR: can't list qgroups: quotas not enabled

E: btrfs returned an error: 256
E: Failed to query subvolume quota
Creating new backup...(BTRFS)
Saving to device: /dev/nvme0n1p2, mounted at path: /run/timeshift/15984/backup
Created directory: /run/timeshift/15984/backup/timeshift-btrfs/snapshots/2023-01-02_13-10-28
Created subvolume snapshot: /run/timeshift/15984/backup/timeshift-btrfs/snapshots/2023-01-02_13-10-28/@
Created subvolume snapshot: /run/timeshift/15984/backup/timeshift-btrfs/snapshots/2023-01-02_13-10-28/@home
Created control file: /run/timeshift/15984/backup/timeshift-btrfs/snapshots/2023-01-02_13-10-28/info.json
BTRFS Snapshot saved successfully (0s)
Tagged snapshot '2023-01-02_13-10-28': ondemand
------------------------------------------------------------------------------
Mounted '/dev/nvme0n1p2' at '/run/timeshift/16127/backup'
E: ERROR: can't list qgroups: quotas not enabled

E: btrfs returned an error: 256
E: Failed to query subvolume quota
------------------------------------------------------------------------------
Removing snapshot: 2022-12-31_21-08-51
Deleting subvolume: @ (Id:267)
Deleted subvolume: @ (Id:267)

Deleted directory: /run/timeshift/16127/backup/timeshift-btrfs/snapshots/2022-12-31_21-08-51
Removed snapshot: 2022-12-31_21-08-51
------------------------------------------------------------------------------
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2023-01-02 13:10:28 | timeshift-btrfs/snapshots/2023-01-02_13-10-28/@ | ondemand       | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2023-01-02 12:58:51 | timeshift-btrfs/snapshots/2023-01-02_12-58-51/@ | ondemand daily | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2023-01-01 23:10:58 | timeshift-btrfs/snapshots/2023-01-01_23-10-58/@ | ondemand       | N/A                                           |
Found snapshot: 2023-01-01 16:22:51 | timeshift-btrfs/snapshots/2023-01-01_16-22-51/@ | ondemand       | N/A                                           |
Found snapshot: 2022-12-31 23:40:09 | timeshift-btrfs/snapshots/2022-12-31_23-40-09/@ | ondemand       | N/A                                           |
Found snapshot: 2022-12-31 23:38:09 | timeshift-btrfs/snapshots/2022-12-31_23-38-09/@ | ondemand       | N/A                                           |
Found snapshot: 2022-12-31 23:06:36 | timeshift-btrfs/snapshots/2022-12-31_23-06-36/@ | ondemand daily | N/A                                           |
Found snapshot: 2022-12-31 22:04:48 | timeshift-btrfs/snapshots/2022-12-31_22-04-48/@ | ondemand       | {timeshift-autosnap} {created before upgrade} |
Found 8 snapshot(s)
Unmount /tmp/grub-btrfs.R90kcR8QH2 .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done

Os probe fix was

sudo nano /etc/default/grub

You need to change or uncomment/add GRUB_DISABLE_OS_PROBER=false  or ""true ""see whats works best. Exit and save

sudo update-grub

Now it all comes down to how to fix the other error which is beyond my comprehension.

E: ERROR: can't list qgroups: quotas not enabled

E: btrfs returned an error: 256
E: Failed to query subvolume quota

I found this from search on the internet, but i really don’t want to mess up and brick my system if its the wrong solution for this issue!

Blockquote
The configuration is saved in /etc/timeshift/timeshift.json.
Move, remove or rename this file
sudo mv /etc/timeshift/timeshift.json /etc/timeshift/timeshift.json.old
Launch timeshift-gtk
In the setup, disable qgroups.
Verify that you didn’t change any other settings
diff /etc/timeshift/timeshift.json.old /etc/timeshift/timeshift.json

Do you know? You can edit your first Topic and put it all together…

Did your GUI from Timeshift work?

I don’t understand what you mean?
I can get the GUI Timeshift when i launch it!, but i don’t see any option there to enable or disable the quotas there!

Hi Sniper,
There is a thread on the manjaro forum

If you want to avoid the error possibly enable quota

sudo btrfs quota enable /
1 Like

Awsome that did help!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.