<font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I tried disabling selinux and then executing
the command but stuck at the same step again. </font>
<br><font size=2 face="sans-serif">Please find attached the logs, along
with the timings when I executed the command</font>
<br>
<br><font size=2 color=blue face="Courier New">/root&gt; cat /etc/selinux/config</font>
<br><font size=2 color=blue face="Courier New">SELINUXTYPE=wr-strict</font>
<br><font size=2 color=blue face="Courier New">SELINUX=disabled</font>
<br>
<br><font size=2 color=blue face="Courier New">/root&gt; gluster volume
info _home</font>
<br>
<br><font size=2 color=blue face="Courier New">Volume Name: _home</font>
<br><font size=2 color=blue face="Courier New">Type: Distribute</font>
<br><font size=2 color=blue face="Courier New">Volume ID: cdd81285-181c-4712-adfe-4e3b97b3f0df</font>
<br><font size=2 color=blue face="Courier New">Status: Started</font>
<br><font size=2 color=blue face="Courier New">Number of Bricks: 1</font>
<br><font size=2 color=blue face="Courier New">Transport-type: tcp</font>
<br><font size=2 color=blue face="Courier New">Bricks:</font>
<br><font size=2 color=blue face="Courier New">Brick1: 192.168.24.80:/.krfs/_home</font>
<br><font size=2 color=blue face="Courier New">Options Reconfigured:</font>
<br><font size=2 color=blue face="Courier New">nfs.register-with-portmap:
on</font>
<br>
<br><font size=2 color=blue face="Courier New">/root&gt; gluster volume
stop _home</font>
<br><font size=2 color=blue face="Courier New">Stopping volume will make
its data inaccessible. Do you want to continue? (y/n) y</font>
<br><font size=2 color=blue face="Courier New">volume stop: _home: success</font>
<br><font size=2 color=blue face="Courier New">root@ksc-base-unit0:/root&gt;
date</font>
<br><font size=2 color=blue face="Courier New">Fri Aug &nbsp;9 06:55:06
GMT 2013</font>
<br>
<br>
<br><font size=2 color=blue face="Courier New">/root&gt; gluster volume
start _home</font>
<br><font size=2 color=blue face="Courier New">volume start: _home: failed:
Commit failed on localhost. Please check the log file for more details.</font>
<br><font size=2 color=blue face="Courier New">/root&gt; date</font>
<br><font size=2 color=blue face="Courier New">Fri Aug &nbsp;9 06:55:39
GMT 2013</font>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
<br>
</font>
<br><font size=2 face="sans-serif">Regards<br>
Rahul Shrivastava<br>
</font>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Lalatendu Mohanty &lt;lmohanty@redhat.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Krishnan Parthasarathi &lt;kparthas@redhat.com&gt;</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">Rahul51 S &lt;rahul51.s@tcs.com&gt;,
gluster-users@gluster.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">08/09/2013 02:10 AM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [Gluster-users] [Gluster-devel]
not able to restart the brick for distributed volume</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>On 08/08/2013 09:21 PM, Krishnan Parthasarathi wrote:<br>
&gt; Rahul,<br>
&gt;<br>
&gt; [Removing gluster-devel from CC list since its not a devel list issue.]<br>
&gt;<br>
&gt; Could you provide all the log files under /var/log/glusterfs?<br>
&gt; Seeing the brick log files alongside glusterd log file might<br>
&gt; provide more context.<br>
&gt;<br>
&gt; thanks,<br>
&gt; krish<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt;&gt; Hi All,<br>
&gt;&gt;<br>
&gt;&gt; I am facing issues restarting the gluster volume. When I start
the volume<br>
&gt;&gt; after stopping it, the gluster fails to start the volume<br>
&gt;&gt;<br>
&gt;&gt; Below is the message that I get on CLI<br>
&gt;&gt;<br>
&gt;&gt; /root&gt; gluster volume start _home<br>
&gt;&gt; volume start: _home: failed: Commit failed on localhost. Please
check the log<br>
&gt;&gt; file for more details.<br>
<br>
 &nbsp;Check that selinux is disabled (check command &quot;getenforce/setenforce,
<br>
change /etc/selinux/config&quot;) . &nbsp;Also make sure firewall is not
causing <br>
the issue, &quot;iptables -F&quot; will help. To save iptable change persistent
<br>
across reboot run &quot;service iptables save&quot; as root.<br>
<br>
-Lala<br>
&gt;&gt; Logs says that it was unable to start the brick<br>
&gt;&gt;<br>
&gt;&gt; [2013-08-08 14:19:42.280852] I [glusterd-pmap.c:271:pmap_registry_remove]<br>
&gt;&gt; 0-pmap: removing brick (null) on port 49160<br>
&gt;&gt; [2013-08-08 14:19:42.283583] E [glusterd-utils.c:4023:glusterd_brick_start]<br>
&gt;&gt; 0-management: Unable to start brick 192.168.24.80:/.krfs/_home<br>
&gt;&gt; [2013-08-08 14:19:42.283637] E [glusterd-syncop.c:830:gd_sync_task_begin]<br>
&gt;&gt; 0-management: Commit of operation 'Volume Start' failed on localhost<br>
&gt;&gt;<br>
&gt;&gt; and the gluster volume remains as stopped<br>
&gt;&gt;<br>
&gt;&gt; root@ksc-base-unit0:/.krfs&gt; gluster volume info _home<br>
&gt;&gt;<br>
&gt;&gt; Volume Name: _home<br>
&gt;&gt; Type: Distribute<br>
&gt;&gt; Volume ID: e6ab94d8-30ec-469e-830f-4c124e360ca1<br>
&gt;&gt; Status: Stopped<br>
&gt;&gt; Number of Bricks: 1<br>
&gt;&gt; Transport-type: tcp<br>
&gt;&gt; Bricks:<br>
&gt;&gt; Brick1: 192.168.24.80:/.krfs/_home<br>
&gt;&gt; Options Reconfigured:<br>
&gt;&gt; nfs.register-with-portmap: on<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Could you please shed some light on this<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt; Rahul Shrivastava<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; =====-----=====-----=====<br>
&gt;&gt; Notice: The information contained in this e-mail<br>
&gt;&gt; message and/or attachments to it may contain<br>
&gt;&gt; confidential or privileged information. If you are<br>
&gt;&gt; not the intended recipient, any dissemination, use,<br>
&gt;&gt; review, distribution, printing or copying of the<br>
&gt;&gt; information contained in this e-mail message<br>
&gt;&gt; and/or attachments to it are strictly prohibited. If<br>
&gt;&gt; you have received this communication in error,<br>
&gt;&gt; please notify us by reply e-mail or telephone and<br>
&gt;&gt; immediately and permanently delete the message<br>
&gt;&gt; and any attachments. Thank you<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-devel mailing list<br>
&gt;&gt; Gluster-devel@nongnu.org<br>
&gt;&gt; </font></tt><a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel"><tt><font size=2>https://lists.nongnu.org/mailman/listinfo/gluster-devel</font></tt></a><tt><font size=2><br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; Gluster-users@gluster.org<br>
&gt; </font></tt><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"><tt><font size=2>http://supercolony.gluster.org/mailman/listinfo/gluster-users</font></tt></a><tt><font size=2><br>
<br>
</font></tt>
<br>
<br>