[Gluster-users] snapshot directory not available on glusterfs 3.7.2
Rajesh Joseph
rjoseph at redhat.com
Wed Sep 2 12:22:48 UTC 2015
----- Original Message -----
> From: "Merlin Morgenstern" <merlin.morgenstern at gmail.com>
> To: "gluster-users" <gluster-users at gluster.org>
> Sent: Wednesday, September 2, 2015 1:07:30 PM
> Subject: [Gluster-users] snapshot directory not available on glusterfs 3.7.2
>
> According to the docs, snapshots should be present at "gs:/snaps" just as
> volumes are under "gs:/volume". This is not the case. I can see mounted
> snaps under /var/rund/snaps/UUID/...
>
I am not quite sure what you are referring here. Can you please elaborate or give
link to the docs which you are referring?
> Furthermore the name of the snapshot is not as declared in the command. E.g.
> "snap1", but it is "snap1_timestamp"
>
In the latest release you should use no-timestamp option if you don't want timestamp added to
your snap. It is added to facilitate automation.
e.g.
gluster snapshot create snap1 volname no-timestamp
> Automounted snaps right after creation are located in:
> /dev/mapper/gluster-7cb4b2c8f8a64ceaba62bc4ca6cd76b2_0 20G 7.0G 12G 38%
> /run/gluster/snaps/7cb4b2c8f8a64ceaba62bc4ca6cd76b2/brick2
>
>
> My questions are now:
>
> 1) Where are the snapshots, and how to mount them from a remote machine?
> mount -t glusterfs gs2:/snaps/snapname/volname /mountpoint does not work
here snapname should be snapname_timestamp :)
>
> 2) how can I have know the name of the snapshot in order to automate mounting
> with a bash script. I do want to mount the latest snapshot.
As I mentioned use "no-timestamp" option
>
> This is the info I get from my snapshots:
>
> $ sudo gluster snapshot info volume vol1
>
> Volume Name : vol1
>
> Snaps Taken : 4
>
> Snaps Available : 252
>
> Snapshot : snap1_GMT-2015.09.02-05.48.52
>
> Snap UUID : 149ac7b3-9037-4f29-9ab9-076ec42c2d4f
>
> Created : 2015-09-02 05:48:52
>
> Status : Stopped
>
> Thank you in advance for any help.
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list