Re: Snapshot with 4.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No one uses gluster 4.1.1 with snapshots?


Am 10.07.18 um 14:11 schrieb Stefan Kania:
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






_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

-- 
Stefan Kania
Landweg 13
25693 St. Michaelisdonn


Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre E-Mail. Weiter Informationen unter http://www.gnupg.org

Mein Schlüssel liegt auf

hkp://subkeys.pgp.net

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux