[Gluster-users] Fixing split brain
Emmanuel Dreyfus
manu at netbsd.org
Sun Aug 21 11:53:22 UTC 2011
Hi
Consider the typical spit brain situation: reading from file gets EIO,
logs say:
[2011-08-21 13:38:54.607590] W [afr-open.c:168:afr_open]
0-gfs-replicate-0: failed to open as split brain seen, returning EIO
[2011-08-21 13:38:54.607895] W [fuse-bridge.c:585:fuse_fd_cbk]
0-glusterfs-fuse: 1371456: OPEN()
/manu/netbsd/usr/src/gnu/dist/groff/doc/Makefile.sub => -1
(Input/output error)
On the backend I have two versions, one with size 0, the other with a
decent size. I removed the one with size zero, ran ls -l on the client
to trigger self heal: the log does not say it started, and I still get
EIO accessing the file. Obviously that answer is cached somewhere.
Is it possible to handle that situation without unmounting and
remounting the volume, that is, without restarting glusterfs client?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org
More information about the Gluster-users
mailing list