<div dir="ltr">Thank you Rjesh for your help. I have a thinly provisioned LVM now running and can create snapshots on a real device, surviving boot.<div><br></div><div>There are 2 other questions rising up now.</div><div><br></div><div>1. I have a LV with 20G, data is 7G. How is it possible, that I could make 3 snapshots, each 7G?</div><div><br></div><div>







<p class=""><span class="">/dev/mapper/gluster-thinv1                               20G  7.0G   12G  38% /bricks/brick1</span></p>
<p class=""><span class="">/dev/mapper/gluster-7cb4b2c8f8a64ceaba62bc4ca6cd76b2_0   20G  7.0G   12G  38% /run/gluster/snaps/7cb4b2c8f8a64ceaba62bc4ca6cd76b2/brick1</span></p>
<p class=""><span class="">/dev/mapper/gluster-506cb09085b2428e9daca8ac0857c2c9_0   20G  7.0G   12G  38% /run/gluster/snaps/506cb09085b2428e9daca8ac0857c2c9/brick1</span></p>
<p class=""><span class="">/dev/mapper/gluster-fbee900c1cc7407f9527f98206e6566d_0   20G  7.0G   12G  38% /run/gluster/snaps/fbee900c1cc7407f9527f98206e6566d/brick1</span></p>
<p class=""><span class="">/dev/mapper/gluster-d0c254908dca451d8f566be77437c538_0   20G  7.0G   12G  38% /run/gluster/snaps/d0c254908dca451d8f566be77437c538/brick1</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">2. The name of the snapshot folder is the UUID, My plan is to do a &quot;tar cf&quot; on the snapshot and even incremental tars. Therefore I would need the name of the folder. How could I pass that name to my bash script in order to make a backup of the last snap?</span></p><p class=""><br></p><p class="">3. A tar process will take hours on the million files I have. I understand this is a snapshot, is there a way to backup a &quot;single&quot; snapshot file instead?</p><p class="">Thank you in advance for sheding some light on this topic</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-02 7:59 GMT+02:00 Rajesh Joseph <span dir="ltr">&lt;<a href="mailto:rjoseph@redhat.com" target="_blank">rjoseph@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Merlin Morgenstern&quot; &lt;<a href="mailto:merlin.morgenstern@gmail.com">merlin.morgenstern@gmail.com</a>&gt;<br>
&gt; To: &quot;gluster-users&quot; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;<br>
&gt; Sent: Tuesday, September 1, 2015 3:15:43 PM<br>
&gt; Subject: [Gluster-users] gluster volume snap shot - basic questions<br>
&gt;<br>
&gt; Hi everybody,<br>
&gt;<br>
&gt; I am looking into the snap shot tool, following this tutorial:<br>
&gt; <a href="http://blog.gluster.org/2014/10/gluster-volume-snapshot-howto/" rel="noreferrer" target="_blank">http://blog.gluster.org/2014/10/gluster-volume-snapshot-howto/</a><br>
&gt;<br>
&gt; While having successfully created the LVM, gluster volume and one snapshot,<br>
&gt; there are some questions arrising where I was hoping to find some guidence<br>
&gt; here:<br>
&gt;<br>
&gt; 1. From a working setup as in the example I rebooted and everything was gone.<br>
&gt; How can I make this setup persistent, so the gluster share is up and running<br>
&gt; after boot.<br>
&gt;<br>
<br>
</span>What do you mean by &quot;everything was gone&quot;? Are you using loop back device as disks?<br>
If yes then this is expected. Loop back device mapping is gone after machine restart.<br>
You should test with real disk or lvm partition.<br>
<span class=""><br>
&gt; 2. I understand that the snaps are under /var/run/gluster/snaps/ and I found<br>
&gt; them there. Is it save to simply copy them to another server for backup? My<br>
&gt; goal is to create a backup each day and transfer the snaps to an FTP-Server<br>
&gt; in order to be able to recover from a broken machine.<br>
&gt;<br>
<br>
</span>Yes, snap of individual bricks are mounted at /var/run/gluster/snaps/. I am assuming<br>
that you mean copy of data hosted on the snap brick when you say copy the snap.<br>
Are you planning to use some backup software or to run rsync on each brick?<br>
<span class=""><br>
&gt; 3. Do I really need LVM to use this feature? Currently my setup works on the<br>
&gt; native system. As I understand the tuturial I would need to move that to a<br>
&gt; LV, right?<br>
&gt;<br>
<br>
</span>Yes, you need LVM and to be precise thinly provisioned LVM for snapshot to work.<br>
<span class=""><br>
&gt; Thank you in advance on any help!<br>
&gt;<br>
</span>&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br></div>