I hope I’m posting this in the right section and that I am providing enough information. Please ask if you require any more.
I’m running Tumbleweed, x86_64 fully up dated as of the last snapshot on 08/05/21
I have a few drives in the desktop PC. All are BTRFS. The one used in this example is mounted as /storage/backup20
Within there is a BTRFS subvolume called Films
I have a snapper config for that subvolume, created via snapper. The contents of the config file is here https://paste.opensuse.org/17ef7d13
One main difference between root and /storage/backup20 is that I have used the snapper command setup-quota. Having said that, I have used setup-quota on another drive and snapper is failing to work with that too.
As root when trying to use snapper I get the following output
Naga:/storage/backup20/Films # snapper -c backup20_films list IO Error (query default id failed, open failed path:/storage/backup20/Films errno:1 (Operation not permitted)).
I have this problem for any snapper config that is not the / root profile.
This problem has occurred just since the last update to snapper.
The .snapshots folder permissions are as follows:
ls -lah drwxr-x--- 1 root root 56 May 8 02:00 .snapshots
Within the .snapshots folder are the following:
Naga:/storage/backup20/Films/.snapshots # ls -lah total 0 drwxr-x--- 1 root root 56 May 8 02:00 . drwxrwxr-x 1 ian ian 132 Apr 6 17:28 .. drwxr-xr-x 1 root root 32 May 6 21:00 1 drwxr-xr-x 1 root root 32 May 7 06:00 10 drwxr-xr-x 1 root root 32 May 7 14:00 11 drwxr-xr-x 1 root root 32 May 7 16:00 12 drwxr-xr-x 1 root root 32 May 7 17:00 13 drwxr-xr-x 1 root root 32 May 7 18:00 14 drwxr-xr-x 1 root root 32 May 7 19:00 15 drwxr-xr-x 1 root root 32 May 7 20:00 16 drwxr-xr-x 1 root root 32 May 7 21:00 17 drwxr-xr-x 1 root root 32 May 7 22:00 18 drwxr-xr-x 1 root root 32 May 7 23:00 19 drwxr-xr-x 1 root root 32 May 8 00:00 20 drwxr-xr-x 1 root root 32 May 8 01:00 21 drwxr-xr-x 1 root root 32 May 8 02:00 22 drwxr-xr-x 1 root root 32 May 7 00:00 4
And here is the output from the snapper log when the list command is run https://paste.opensuse.org/2a897ffd
This is a list of all the BTRFS subvolumes on that drive https://paste.opensuse.org/3331d536
Here is the output of the systemd journal when I try to use a snapper config for anything other than root https://paste.opensuse.org/0546e95d
After the error occurs, two snapper services enter the failed state:
ian@Naga:/storage/backup20/Films/ > sudo systemctl list-units --state=failed UNIT LOAD ACTIVE SUB DESCRIPTION ● snapper-cleanup.service loaded failed failed Daily Cleanup of Snapper Snapshots ● snapper-timeline.service loaded failed failed Timeline of Snapper Snapshots LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed.
I’m not certain what other information may be needed, so please do say and I’ll get back to you with it.
If anyone has any suggestions I would be most grateful.
Thanks for you time.