Thanks Rafi for workaround. >> To find the root cause we need to get logs for the first failure of volume start or volume stop . Below, exact steps to re-produce the issue and attached log file contents from /varlog/gluster folder(parsed) STEPS to re-produce the issue root@hostname:~# gluster volume create home-folder transport tcp,rdma storageN1:/gluster/disk1/home-folder storageN2:/gluster/disk1/home-folder volume create: home-folder: success: please start the volume to access data root@hostname:~# root@hostname:~# gluster volume info home-folder Volume Name: home-folder Type: Distribute Volume ID: 09abd02a-b760-459f-afde-95b374eafc53 Status: Created Snapshot Count: 0 Number of Bricks: 2 Transport-type: tcp,rdma Bricks: Brick1: storageN1:/gluster/disk1/home-folder Brick2: storageN2:/gluster/disk1/home-folder Options Reconfigured: performance.readdir-ahead: on nfs.disable: on root@hostname:~# gluster volume status home-folder Volume home-folder is not started root@hostname:~# gluster volume start home-folder volume start: home-folder: failed: Commit failed on localhost. Please check log file for details. root@hostname:~# gluster volume status home-folder Volume home-folder is not started root@hostname:~# gluster volume start home-folder force volume start: home-folder: success root@hostname:~# gluster volume status home-folder Status of volume: home-folder Gluster process TCP Port RDMA Port Online Pid ------------------------------------------------------------------------------ Brick storageN1:/gluster/disk1/home-folder N/A N/A Y 17737 Brick storageN2:/gluster/disk1/home-folder N/A N/A N N/A
Task Status of Volume home-folder ------------------------------------------------------------------------------ There are no active volume tasks root@hostname:~# gluster volume info home-folder Volume Name: home-folder Type: Distribute Volume ID: 09abd02a-b760-459f-afde-95b374eafc53 Status: Started Snapshot Count: 0 Number of Bricks: 2 Transport-type: tcp,rdma Bricks: Brick1: storageN1:/gluster/disk1/home-folder Brick2: storageN2:/gluster/disk1/home-folder Options Reconfigured: performance.readdir-ahead: on nfs.disable: on root@hostname:~# -- Deepak From: Mohammed Rafi K C [mailto:rkavunga@xxxxxxxxxx]
It looks like it is ended up in split brain kind of situation. To find the root cause we need to get logs for the first failure of volume start or volume stop . Or to work around it, you can do a volume start force. Regards Rafi KC On 02/24/2017 01:36 PM, Deepak Naidu wrote:
|
Attachment:
Commit-failed.log
Description: Commit-failed.log
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users