Resolving Gluster Brick Offline Issues
Contents
Resolving Gluster Brick Offline Issues
Offline Issue
I had just finished installing gluster and stored the rootfs of a linux container on it, so that the linux container could achieve high availability within a two-node pve cluster.
When I had some spare time, I checked with the command: sudo gluster vol status VMS, and found that one brick was in offline state.
I looked it up online and installed gstatus:
|
|
After the installation was complete, I ran: sudo gstatus -a -b and found that: gluster1 was in offline state. I searched around and found a solution: force start, and followed it:
|
|
Shortly after running it, everything was back to normal.
Heal Issue
While inspecting gluster, I found that a heal was needed,
- Check:
sudo gluster heal VMS infoto see whether anything needs to behealed heal:sudo gluster heal VMS,- View summary:
sudo gluster vol heal VMS summary - View statistics:
sudo gluster vol heal VMS statistics heal-count