snapper mount - where is the snapshot mounted ?

Hi,

i’m using btrfs and snapper heavily. Great stuff.
I mounted a snapshot via “snapper mount”. Where can i find the mountpoint ?

Bernd

I’ve tried some tinkering on a box of mine and I do not see this doing
much. Using strace I get an odd error-ish looking thing near the end, but
it always returns zero, so maybe this is not fully implemented yet. Next
step is to check the code, but I’m probably too lazy for that.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

On 23/11/16 16:16, ab wrote:
[color=blue]

I’ve tried some tinkering on a box of mine and I do not see this doing
much. Using strace I get an odd error-ish looking thing near the end, but
it always returns zero, so maybe this is not fully implemented yet. Next
step is to check the code, but I’m probably too lazy for that.[/color]

Ah so not just me then!

From some searching I think this functionality has either been
superseded or doesn’t apply to SUSE Linux (SLE and openSUSE).

The “snapper mount” command only takes one parameter - the ID of the
snapshot you want to mount. You can’t add a mount point to the command
as it’s evaluated as an invalid snapshot ID.

Old information suggests it is mounted as /.snapshot//snapshot
except this is where all snapshots are available anyway, at least with
SUSE Linux, so no need for “snapper mount”.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Yup; it seems like if you want to do this you can just mount a subvolume
somewhere, but otherwise you can (as the filesystem owner) access all
snapshots all of the time under /.snapshots (or the base of whichever
filesystem if not the root filesystem) which is really, really awesome.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…