-
Notifications
You must be signed in to change notification settings - Fork 143
Reports unsupported subvolume layout, even though the official script says it is fine #317
Description
Issue
When i try to create a backup, i get the following error:
❯ sudo timeshift --check
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/dm-0 (nvme0n1p4)' at '/run/timeshift/2676/backup'
E: The system partition has an unsupported subvolume layout. Only ubuntu-type layouts with @ and @home subvolumes are currently supported.
Application will exit.
Full log
❯ sudo timeshift --check
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/dm-0 (nvme0n1p4)' at '/run/timeshift/2676/backup'
E: The system partition has an unsupported subvolume layout. Only ubuntu-type layouts with @ and @home subvolumes are currently supported.
Application will exit.
❯ grep -E '^[^#].+/\s+btrfs' /etc/fstab |
grep -oE 'subvol=[^,]+' |
cut -d= -f2 |
grep -qE '^/?@$' &&
echo 'OK' ||
echo 'Not OK'
OK
My fstab
LABEL=arch / btrfs rw,relatime,compress=zstd:3,ssd,space_cache=v2,subvol=/@,subvolid=256 0 0
LABEL=arch /.snapshots btrfs rw,relatime,compress=zstd:3,ssd,space_cache=v2,subvol=/@.snapshots,subvolid=260 0 0
LABEL=arch /home btrfs rw,relatime,compress=zstd:3,ssd,space_cache=v2,subvol=/@home,subvolid=257 0 0
LABEL=arch /var/cache btrfs rw,relatime,compress=zstd:3,ssd,space_cache=v2,subvol=/@cache,subvolid=258 0 0
LABEL=arch /var/log btrfs rw,relatime,compress=zstd:3,ssd,space_cache=v2,subvol=/@log,subvolid=259 0 0
LABEL=boot /boot ext4 rw,relatime 0 2
LABEL=efi /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
/dev/mapper/swap none swap defaults 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
My system
- Arch Linux x86_64
- GNOME
- Timeshift 24.06.2
Conclusion
Any help regarding changes I'd have to make (for example to my fstab), as well as improving this issue (as i am inexperienced in creating them) are greatly appreciated.