[Gluster-users] Strange issu concerning glusterfs 3.5.1 on centos 6.5

Daniel Müller mueller at tropenklinik.de
Tue Jul 29 14:01:58 UTC 2014


Dear all,

there is a strange issue centos6.5 and glusterfs 3.5.1:

 glusterd -V
glusterfs 3.5.1 built on Jun 24 2014 15:09:41
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation

I try to set up a replicated 2 brick vol on two centos 6.5 server.
I can probe well and my nodes are reporting no errors:
 
[root at centclust1 mnt]# gluster peer status
Number of Peers: 1

Hostname: centclust2
Uuid: 4f15e9bd-9b5a-435b-83d2-4ed202c66b11
State: Peer in Cluster (Connected)

[root at centclust2 sicherung]# gluster peer status
Number of Peers: 1

Hostname: 172.17.2.30
Uuid: 99fe6a2c-df7e-4475-a7bc-a35abba620fb
State: Peer in Cluster (Connected)

Now I set up a replicating VOl on an XFS-Disk: /dev/sdb1 on /sicherung type
xfs (rw)

gluster volume create smbbackup replica 2 transport tcp
centclust1.tplk.loc:/sicherung/bu  centclust2.tplk.loc:/sicherung/bu

gluster volume smbbackup status reports ok:

[root at centclust1 mnt]# gluster volume status smbbackup
Status of volume: smbbackup
Gluster process                                         Port    Online  Pid
----------------------------------------------------------------------------
--
Brick centclust1.tplk.loc:/sicherung/bu                 49152   Y
31969
Brick centclust2.tplk.loc:/sicherung/bu                 49152   Y       2124
NFS Server on localhost                                 2049    Y
31983
Self-heal Daemon on localhost                           N/A     Y
31987
NFS Server on centclust2                                2049    Y       2138
Self-heal Daemon on centclust2                          N/A     Y       2142

Task Status of Volume smbbackup
----------------------------------------------------------------------------
--
There are no active volume tasks

[root at centclust2 sicherung]# gluster volume status smbbackup
Status of volume: smbbackup
Gluster process                                         Port    Online  Pid
----------------------------------------------------------------------------
--
Brick centclust1.tplk.loc:/sicherung/bu                 49152   Y
31969
Brick centclust2.tplk.loc:/sicherung/bu                 49152   Y       2124
NFS Server on localhost                                 2049    Y       2138
Self-heal Daemon on localhost                           N/A     Y       2142
NFS Server on 172.17.2.30                               2049    Y
31983
Self-heal Daemon on 172.17.2.30                         N/A     Y
31987

Task Status of Volume smbbackup
----------------------------------------------------------------------------
--
There are no active volume tasks

I mounted the vol on both servers with:

mount -t glusterfs centclust1.tplk.loc:/smbbackup  /mnt/sicherung -o acl
mount -t glusterfs centclust2.tplk.loc:/smbbackup  /mnt/sicherung -o acl

But when I write in /mnt/sicherung the files are not replicated to the other
node in anyway!??

They rest on the local server in /mnt/sicherung and /sicherung/bu
On each node separate:#
[root at centclust1 sicherung]# pwd
/mnt/sicherung

[root at centclust1 sicherung]# touch test.txt
[root at centclust1 sicherung]# ls
test.txt
[root at centclust2 sicherung]# pwd
/mnt/sicherung
[root at centclust2 sicherung]# ls
more.txt
[root at centclust1 sicherung]# ls -la /sicherung/bu
insgesamt 0
drwxr-xr-x.  3 root root  38 29. Jul 15:56 .
drwxr-xr-x.  3 root root  15 29. Jul 14:31 ..
drw-------. 15 root root 142 29. Jul 15:56 .glusterfs
-rw-r--r--.  2 root root   0 29. Jul 15:56 test.txt
[root at centclust2 sicherung]# ls -la /sicherung/bu
insgesamt 0
drwxr-xr-x. 3 root root 38 29. Jul 15:32 .
drwxr-xr-x. 3 root root 15 29. Jul 14:31 ..
drw-------. 7 root root 70 29. Jul 15:32 .glusterfs
-rw-r--r--. 2 root root  0 29. Jul 15:32 more.txt



Greetings
Daniel



EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen 
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de







More information about the Gluster-users mailing list