Skip to content

Snapper-Backup/snbk parent subvol not reachable from root subvol #1096

@trainzkid

Description

@trainzkid

Having trouble using snapper-backup.service on Arch to transfer to a secondary drive on the same machine:

$USER@$HOST ~> journalctl --unit snapper-backup --since "2026-01-25 13:30" --output cat --no-pager

Transferring snapshot 1.
Transferring snapshot 2.
Transferring snapshot 14638.
Sun 25 Jan 2026 01:50:53 PM CST <3> TheBigThing.cc(transfer):157 command '/bin/sh -c '/usr/bin/btrfs' 'send' '-p' '//.snapshots/2/snapshot' '--' '//.snapshots/14638/snapshot' | '/usr/bin/btrfs' 'receive' '--' '/mnt/arch/.snapshots.new/14638'' failed: 1
Sun 25 Jan 2026 01:50:53 PM CST <3> TheBigThing.cc(transfer):159 At snapshot snapshot
Sun 25 Jan 2026 01:50:53 PM CST <3> TheBigThing.cc(transfer):161 At subvol //.snapshots/14638/snapshot
Sun 25 Jan 2026 01:50:53 PM CST <3> TheBigThing.cc(transfer):161 ERROR: parent subvol is not reachable from inside the root subvol
Sun 25 Jan 2026 01:50:53 PM CST <3> TheBigThing.cc(transfer):161 ERROR: failed to read stream from kernel: Broken pipe
'btrfs send | btrfs receive' failed.
Running transfer and delete for backup config 'system2mnt-arch' failed.
Running transfer and delete failed for 1 of 1 backup config.
snapper-backup.service: Main process exited, code=exited, status=1/FAILURE
snapper-backup.service: Failed with result 'exit-code'.
snapper-backup.service: Consumed 10min 23.707s CPU time over 25min 37.223s wall clock time, 10G memory peak.
snapper-backup.service: Triggering OnFailure= dependencies.

The error states that the parent subvolume isn't reachable, but the subvolume that was transferred before this one (2) shows the same parent ID as this subvolume (14638):

$USER@$HOST ~> sudo btrfs subvolume show /.snapshots/14638/snapshot

@snapshots/14638/snapshot
        Name:                   snapshot
        UUID:                   cbf4174f-9756-f542-809f-2ec3a53b4165
        Parent UUID:            157b0e88-8230-2247-b63e-c31421bf9113
        Received UUID:          -
        Creation time:          2025-11-01 10:00:12 -0500
        Subvolume ID:           338
        Generation:             335131
        Gen at creation:        136614
        Parent ID:              262
        Top level ID:           262
        Flags:                  readonly
        Send transid:           0
        Send time:              2025-11-01 10:00:12 -0500
        Receive transid:        0
        Receive time:           -
        Snapshot(s):
        Quota group:            n/a

$USER@$HOST ~> sudo btrfs subvolume show /.snapshots/2/snapshot

@snapshots/2/snapshot
        Name:                   snapshot
        UUID:                   27035bf1-9aee-e341-8b8c-b1b5ce61ef32
        Parent UUID:            157b0e88-8230-2247-b63e-c31421bf9113
        Received UUID:          -
        Creation time:          2025-10-07 10:00:00 -0500
        Subvolume ID:           263
        Generation:             334636
        Gen at creation:        72569
        Parent ID:              262
        Top level ID:           262
        Flags:                  readonly
        Send transid:           0
        Send time:              2025-10-07 10:00:00 -0500
        Receive transid:        0
        Receive time:           -
        Snapshot(s):
        Quota group:            n/a

Both of these snapshots were created via snapper-timeline.service so I'm not really sure why one worked but the other didn't, and snbk doesn't continue after a failure, so I'm not sure if the ones after that one will work. I'm considering moving that snapshot to see if snbk will do the rest without complaint, but I've yet to try it. I'm on the latest version of snapper available on Arch Linux, though I thought I saw someone in another issue saying that this version is not the latest stable release from here on this GitHub, and I've seen evidence of this (MKNOD capability missing from snapper-backup.service on my system, yet present here on GitHub), but that confuses me even more because the version numbers of snapper on Arch matches the latest release here on GitHub. Anyway..

env:

$USER@$HOST ~> pacman --query linux-zen snapper btrfs-progs

linux-zen 6.18.5.zen1-1
snapper 0.13.0-2.1
btrfs-progs 6.17.1-2

Let me know if this is something dumb that I'm doing/missing or if more info is needed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions