You are not logged in.

#1 2021-11-03 17:40:10

Archytino
Member
Registered: 2021-10-23
Posts: 25

Problem with Timeshift BTRFS

Hi, I want to use timeshift in my laptop with archlinux on a btrfs drive, but the application return an error that said "the selected snapshot device is not a system disk"

I place a part of some code that can help for to find the problem:

sudo btrfs sub li /
ID 259 gen 12 top level 5 path var/lib/portables
ID 260 gen 13 top level 5 path var/lib/machines
cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>

tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
# /dev/nvme0n1p2
UUID=9e7a2473-1544-458b-ba4e-d95a3aec1a40       /               btrfs           rw,relatime,ssd,space_cache,subvolid=5,subvol=/     0 0

# /dev/nvme0n1p1
UUID=A1A9-9322          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro       0 2

/swapfile none swap defaults 0 0

HYAV6KX.png

b6HGbeo.png

Offline

#2 2021-11-03 19:06:03

Mr Victory
Member
Registered: 2021-06-10
Posts: 40

Re: Problem with Timeshift BTRFS

Timeshift will not function without specific subvolume layout.
Boot from LiveCD
Back up your data, just in case wink
Create /@ subvolume and move the root to that subvolume
Create /@home subvolume and move your home folder there
Add @home subvolume to /etc/fstab
Mark @ subvolume as default
EDIT: Also comment the entry for root (/) on /etc/fstab

Last edited by Mr Victory (2021-11-03 19:19:12)

Offline

#3 2021-11-03 20:06:27

Archytino
Member
Registered: 2021-10-23
Posts: 25

Re: Problem with Timeshift BTRFS

Mr Victory wrote:

Timeshift will not function without specific subvolume layout.
Boot from LiveCD
Back up your data, just in case wink
Create /@ subvolume and move the root to that subvolume
Create /@home subvolume and move your home folder there
Add @home subvolume to /etc/fstab
Mark @ subvolume as default
EDIT: Also comment the entry for root (/) on /etc/fstab

it is absurd that to make a backup you have to break up an entire os... until they fix the program, I can live without.

Thank you!

Offline

Board footer

Powered by FluxBB