[Gluster-users] Problem manipulating files when a replica is down
g.lloyd at keele.ac.uk
Mon Jul 17 09:10:33 UTC 2017
We currently have a small pilot gluster setup as Replica 2 + 1 (arbiter)
As a DR test we decided to see that to see what would happen when taking
one of the replicas offline. For the first couple of hours everything
seemed fine and then one of my colleagues tried to a directory with files
via samba from a windows client by using robocopy.
At this point it starting to go wrong. The brick went offline, I could
force it online but when trying to manipulate files on the volume the brick
kept going offline.
Some Examples of trying to manipulate the files from the mounted gluster
rm -rf a Directory: "Directory not empty"
on an empty directory ls -la : "total 0" ( didn't show "." or ".." )
After bringing the partner replica up the brick on the system that was
never shutdown kept going offline. In the end I ended up restoring the
volume from a gluster snapshot from the night before and then everything
seemed fine again.
This morning I was made aware that creating a new directory via samba
resulted in 5 New folders being created. Restarting glusterd has made the
issue go away for now.
This is on Centos 7.3 with gluster 3.10.3-1 and samba 4.4.4-14
Can anyone help ?
I.T. Systems:Keele University
Finance & IT Directorate
Keele:Staffs:IC1 Building:ST5 5NB:UK
+44 1782 733063 <%2B44%201782%20733073>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users