<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>No one uses gluster 4.1.1 with snapshots?<br>
</p>
<br>
<div class="moz-cite-prefix">Am 10.07.18 um 14:11 schrieb Stefan
Kania:<br>
</div>
<blockquote type="cite"
cite="mid:5dac0064-0339-10c8-ce4d-6bae89493b6e@kania-online.de">
<pre wrap="">Hello,
I just installed Gluster Version 4.1.1 from, the gluster.org repository.
I tested the snapshot function and now I'm having the following problem:
When I do a "gluster volume info" BEFOR the snapshot I got:
----------
root@sambabuch-c2:~# gluster snapshot create snap1 gv1
root@sambabuch-c2:~# gluster v info
Volume Name: gv1
Type: Replicate
Volume ID: 43dcb41c-4893-4bbe-98fd-01f47810ee89
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: knoten-1:/gluster/brick
Brick2: knoten-2:/gluster/brick
Options Reconfigured:
performance.client-io-threads: off
nfs.disable: on
transport.address-family: inet
----------
The path in "Brick1:" and "Brick2" ist ok.
Then I revert to the snapshot with:
---------
root@sambabuch-c1:~# gluster volume stop gv1
root@sambabuch-c1:~# gluster snapshot restore snap1_GMT-2018.07.10-11.36.32
root@sambabuch-c1:~# gluster v info
Volume Name: gv1
Type: Replicate
Volume ID: 43dcb41c-4893-4bbe-98fd-01f47810ee89
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1:
knoten-1:/run/gluster/snaps/ff8f9838466a4566a18fb74be82ed56d/brick1/brick
Brick2:
knoten-2:/run/gluster/snaps/ff8f9838466a4566a18fb74be82ed56d/brick2/brick
Options Reconfigured:
performance.client-io-threads: off
nfs.disable: on
transport.address-family: inet
features.quota: off
features.inode-quota: off
features.quota-deem-statfs: off
---------
As you can see, the path for "Brick1: " and "Brick2: " has changed to
the path where the snapshot is located. How do I get the original path
back?
I have never seen this wit a Gluster-Version 3.x before.
I use Debian 9. I created an LVM2 to take snapshots. The snapshots are
working, as long as I only mount the snapshot and copy some files out of
the snapshot to the volume, everything is fine. Only if I revert a
snapshot I have the problem. Is there anything new I did not do? Or how
can I got my original path back?
Thank's
Stefan
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Stefan Kania
Landweg 13
25693 St. Michaelisdonn
Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre E-Mail. Weiter Informationen unter <a class="moz-txt-link-freetext" href="http://www.gnupg.org">http://www.gnupg.org</a>
Mein Schlüssel liegt auf
hkp://subkeys.pgp.net
</pre>
</body>
</html>