Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/btrfs/system/@root is not a btrfs mountpoint #24

Open
kaotika opened this issue Aug 15, 2018 · 0 comments
Open

/btrfs/system/@root is not a btrfs mountpoint #24

kaotika opened this issue Aug 15, 2018 · 0 comments

Comments

@kaotika
Copy link

kaotika commented Aug 15, 2018

I use a folder /btrfs/system to mount my btrfs root. Inside /btrfs/system I place snapshots inside /btrfs/system/snapshots.

tree -d -L 1 /btrfs/system/
/btrfs/system/
├── @home
├── @root
├── snapshots

I'am using this structure for a few years now and never had problems with btrfs-snap until today.

Calling:

btrfs-snap -r -c -B /btrfs/system/snapshots /btrfs/system/@root root_daily 7

throws ERROR: /btrfs/system/@root is not a btrfs mountpoint (or old version of btrfs-tools, try > 0.19).

Changing btrfs subvolume show $mp | grep "${mp}$" > /dev/null to btrfs subvolume show $mp | grep $(basename $mp) > /dev/null fixes the issue.

kaotika added a commit to kaotika/btrfs-snap that referenced this issue Aug 15, 2018
* fixed jf647#23
* Calling btrfs-snap `btrfs-snap -r -c -B /btrfs/system/snapshots
/btrfs/system/@root root_daily 7` throws `ERROR: /btrfs/system/@root is
not a btrfs mountpoint (or old version of btrfs-tools, try > 0.19)`.
Fixed jf647#24.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant