Frizz
2017-Sep-28 12:49 UTC
[Gluster-users] Clients can't connect after a server reboot (need to use volume force start)
After I rebooted my GlusterFS servers I can?t connect from clients any more. The volume is running, but I have to do a volume start FORCE on all server hosts to make it work again. I am running glusterfs 3.12.1 on Ubuntu 16.04. Is this a bug? Here are more details: "gluster volume status" returns: Status of volume: gv0 Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Brick glusterfs-vm-01:/mnt/data/brick N/A N/A N N/A Brick glusterfs-vm-02:/mnt/data/brick N/A N/A N N/A Brick glusterfs-vm-03:/mnt/data/brick N/A N/A N N/A Self-heal Daemon on localhost N/A N/A Y 1864 Self-heal Daemon on glusterfs-vm-03 N/A N/A Y 2343 Self-heal Daemon on glusterfs-vm-02 N/A N/A Y 1900 Task Status of Volume gv0 ------------------------------------------------------------------------------ There are no active volume tasks "gluster volume start gv0" returns: volume start: gv0: failed: Volume gv0 already started After I use the force flag ("gluster volume start gv0 force") a "gluster volume status" returns this: gluster volume status Status of volume: gv0 Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Brick glusterfs-vm-01:/mnt/data/brick 49153 0 Y 2629 Brick glusterfs-vm-02:/mnt/data/brick 49153 0 Y 2619 Brick glusterfs-vm-03:/mnt/data/brick 49153 0 Y 2570 Self-heal Daemon on localhost N/A N/A Y 2650 Self-heal Daemon on glusterfs-vm-03 N/A N/A Y 2591 Self-heal Daemon on glusterfs-vm-02 N/A N/A Y 2640 Task Status of Volume gv0 ------------------------------------------------------------------------------ There are no active volume tasks After that clients can connect again! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170928/1402c3ac/attachment.html>
Vijay Bellur
2017-Oct-02 00:35 UTC
[Gluster-users] Clients can't connect after a server reboot (need to use volume force start)
On Thu, Sep 28, 2017 at 8:49 AM, Frizz <frizzthecat at googlemail.com> wrote:> After I rebooted my GlusterFS servers I can?t connect from clients any > more. > > The volume is running, but I have to do a volume start FORCE on all server > hosts to make it work again. > > I am running glusterfs 3.12.1 on Ubuntu 16.04. > > Is this a bug? >Have you been able to check the logs of server processes/bricks to see why they did not start after reboot? The reason for bricks not starting could help in determing if this is to be treated as a bug. Normally, once glusterd is started all necessary daemons for started volumes would be spawned by it. Regards, Vijay>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171001/eeff136f/attachment.html>