<div dir="ltr"><br><div>Thank you very much for this </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 29, 2014 at 7:52 PM, Vijay Bellur <span dir="ltr">&lt;<a href="mailto:vbellur@redhat.com" target="_blank">vbellur@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 11/29/2014 01:24 AM, Maged Mokhtar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i am trying to use snapshot feature using gluster 3.6.1, i am not sure<br>
how i can make the client see the snapshot.<br>
<br>
i created a replica volume on 2 servers, the bricks were mounted from<br>
thin lvm volumes:<br>
gluster vol create gvol1 replica 2<br>
storage1:/gluster-server/<u></u>mount1/brick1<br>
storage2:/gluster-server/<u></u>mount1/brick1<br>
<br>
i also created a snapshot:<br>
gluster snapshot create gvol1-snap1  gvol1<br>
<br>
it returns success, i can see the snapshot using:<br>
gluster snapshot list<br>
gluster snapshot info gvol1-snap1  ( shows Status started )<br>
gluster snapshot status gvol1-snap1  ( Shows brick path<br>
/var/run/gluster/snaps/XX on both storage servers )<br>
<br>
i can also see the snapshot with preserved data mounted in<br>
/var/run/gluster/snaps/XX<br>
<br>
1) Now how do i access this snapshot from a client ? if i try to run<br>
mount -t glusterfs storage1:gvol1-snap1 /gluster-client/gvol1-snap1<br>
this does not work, it does not give an error but the mount is empty<br>
<br>
2) i also tried using uss ( user servicable snapshots )<br>
gluster volume set gvol1 features.uss enable<br>
returned success but i do not see the .snap dirs in my main mount.<br>
</blockquote>
<br>
The section on accessing snapshots in admin guide [1] might be useful to get this going.<br>
<br>
-Vijay<br>
<br>
[1] <a href="https://github.com/gluster/glusterfs/blob/master/doc/admin-guide/en-US/markdown/admin_managing_snapshots.md" target="_blank">https://github.com/gluster/<u></u>glusterfs/blob/master/doc/<u></u>admin-guide/en-US/markdown/<u></u>admin_managing_snapshots.md</a><br>
<br>
</blockquote></div><br></div>