Chao-Ping Chien
2016-Nov-14 16:48 UTC
[Gluster-users] Unable to stop volume because geo-replication
Hi, Hope someone can point me how to do this. I want to delete a volume but not able to do so because glusterfs is keep reporting there is geo-replication setup which seems to be not exist at the moment when I issue stop command. On a Redhat 7.2 kernel: 3.10.0-327.36.3.el7.x86_64 [root at eqappsrvp01 mule1]# rpm -qa |grep gluster glusterfs-3.7.14-1.el7.x86_64 glusterfs-fuse-3.7.14-1.el7.x86_64 glusterfs-server-3.7.14-1.el7.x86_64 glusterfs-libs-3.7.14-1.el7.x86_64 glusterfs-api-3.7.14-1.el7.x86_64 glusterfs-geo-replication-3.7.14-1.el7.x86_64 glusterfs-cli-3.7.14-1.el7.x86_64 glusterfs-client-xlators-3.7.14-1.el7.x86_64 =========================================================== [root at eqappsrvp01 mule1]# gluster volume stop mule1 Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y volume stop: mule1: failed: geo-replication sessions are active for the volume mule1. Stop geo-replication sessions involved in this volume. Use 'volume geo-replication status' command for more info. [root at eqappsrvp01 mule1]# gluster volume geo-replication status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED ------------------------------------------------------------------------------------------------------------------------------------------------------ eqappsrvp01 gitlab_data /data/gitlab_data root ssh://eqappsrvd02::gitlab_data N/A Stopped N/A N/A eqappsrvp02 gitlab_data /data/gitlab_data root ssh://eqappsrvd02::gitlab_data N/A Stopped N/A N/A [root at eqappsrvp01 mule1]# uname -a Linux eqappsrvp01 3.10.0-327.36.3.el7.x86_64 #1 SMP Thu Oct 20 04:56:07 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux [root at eqappsrvp01 mule1]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) ============================================================ I search the internet found in Redhat Bugzilla bug 1342431 seems to address this problem but according to its status should be fixed in 3.7.12 but in my version 3.7.14 it still exist. Thanks Ping. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161114/0ec1ab45/attachment.html>
Kotresh Hiremath Ravishankar
2016-Nov-15 05:50 UTC
[Gluster-users] Unable to stop volume because geo-replication
Hi, Could you please restart glusterd in DEBUG mode and share the glusterd logs? *Starting glusterd in DEBUG mode as follows. #glusterd -LDEBUG *Stop the volume #gluster vol stop <volume-name> Share the glusterd logs. Thanks and Regards, Kotresh H R ----- Original Message -----> From: "Chao-Ping Chien" <cchien at eqbank.ca> > To: gluster-users at gluster.org > Sent: Monday, November 14, 2016 10:18:16 PM > Subject: [Gluster-users] Unable to stop volume because geo-replication > > > > Hi, > > > > Hope someone can point me how to do this. > > > > I want to delete a volume but not able to do so because glusterfs is keep > reporting there is geo-replication setup which seems to be not exist at the > moment when I issue stop command. > > > > On a Redhat 7.2 kernel: 3.10.0-327.36.3.el7.x86_64 > > [root at eqappsrvp01 mule1]# rpm -qa |grep gluster > > glusterfs-3.7.14-1.el7.x86_64 > > glusterfs-fuse-3.7.14-1.el7.x86_64 > > glusterfs-server-3.7.14-1.el7.x86_64 > > glusterfs-libs-3.7.14-1.el7.x86_64 > > glusterfs-api-3.7.14-1.el7.x86_64 > > glusterfs-geo-replication-3.7.14-1.el7.x86_64 > > glusterfs-cli-3.7.14-1.el7.x86_64 > > glusterfs-client-xlators-3.7.14-1.el7.x86_64 > > > > ===========================================================> > [root at eqappsrvp01 mule1]# gluster volume stop mule1 Stopping volume will make > its data inaccessible. Do you want to continue? (y/n) y volume stop: mule1: > failed: geo-replication sessions are active for the volume mule1. > > Stop geo-replication sessions involved in this volume. Use 'volume > geo-replication status' command for more info. > > [root at eqappsrvp01 mule1]# gluster volume geo-replication status > > > > MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL > STATUS LAST_SYNCED > > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > eqappsrvp01 gitlab_data /data/gitlab_data root ssh://eqappsrvd02::gitlab_data > N/A Stopped N/A N/A > > eqappsrvp02 gitlab_data /data/gitlab_data root ssh://eqappsrvd02::gitlab_data > N/A Stopped N/A N/A > > [root at eqappsrvp01 mule1]# uname -a > > Linux eqappsrvp01 3.10.0-327.36.3.el7.x86_64 #1 SMP Thu Oct 20 04:56:07 EDT > 2016 x86_64 x86_64 x86_64 GNU/Linux > > [root at eqappsrvp01 mule1]# cat /etc/redhat-release Red Hat Enterprise Linux > Server release 7.2 (Maipo) > ============================================================> > > > I search the internet found in Redhat Bugzilla bug 1342431 seems to address > this problem but according to its status should be fixed in 3.7.12 but in my > version 3.7.14 it still exist. > > > > Thanks > > > > Ping. > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users