wesbarnett / snap-pac

Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST
GNU General Public License v2.0
180 stars 14 forks source link

snap-pac fails to create snapshots #30

Closed abusch closed 5 years ago

abusch commented 5 years ago

snap-pac started failing to create pre and post snapshots recently, with the following error:

:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
Creating snapshot failed.
==> error: Exited due to error on line 126
==> root: exit status: 1 command: $snapper_cmd "$(truncate_description $PRE_DESCRIPTION)" bash line: 0 function argv0:

The error for the post snapshot is the same.

abusch commented 5 years ago

Apologies, it looks like the breakage was my own fault. I created a swap file on my root subvolume as a test and it turns out it prevents btrfs snapshots, causing snapper to fail... Removing the swapfile fixed the problem.