[Gluster-users] accessing snapshot from client

Maged Mokhtar magedsmokhtar at gmail.com
Fri Nov 28 19:54:07 UTC 2014


Hi,

i am trying to use snapshot feature using gluster 3.6.1, i am not sure how
i can make the client see the snapshot.

i created a replica volume on 2 servers, the bricks were mounted from thin
lvm volumes:
gluster vol create gvol1 replica 2 storage1:/gluster-server/mount1/brick1
storage2:/gluster-server/mount1/brick1

i also created a snapshot:
gluster snapshot create gvol1-snap1  gvol1

it returns success, i can see the snapshot using:
gluster snapshot list
gluster snapshot info gvol1-snap1  ( shows Status started )
gluster snapshot status gvol1-snap1  ( Shows brick path
/var/run/gluster/snaps/XX on both storage servers )

i can also see the snapshot with preserved data mounted in
/var/run/gluster/snaps/XX

1) Now how do i access this snapshot from a client ? if i try to run
mount -t glusterfs storage1:gvol1-snap1 /gluster-client/gvol1-snap1
this does not work, it does not give an error but the mount is empty

2) i also tried using uss ( user servicable snapshots )
gluster volume set gvol1 features.uss enable
returned success but i do not see the .snap dirs in my main mount.


Any help very much appreciated
/Maged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141128/fda1c627/attachment.html>


More information about the Gluster-users mailing list