<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> 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> 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> 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>
date</font>
<br><font size=2 color=blue face="Courier New">Fri Aug 9 06:55:06
GMT 2013</font>
<br>
<br>
<br><font size=2 color=blue face="Courier New">/root> 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> date</font>
<br><font size=2 color=blue face="Courier New">Fri Aug 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 <lmohanty@redhat.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Krishnan Parthasarathi <kparthas@redhat.com></font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">Rahul51 S <rahul51.s@tcs.com>,
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>
> Rahul,<br>
><br>
> [Removing gluster-devel from CC list since its not a devel list issue.]<br>
><br>
> Could you provide all the log files under /var/log/glusterfs?<br>
> Seeing the brick log files alongside glusterd log file might<br>
> provide more context.<br>
><br>
> thanks,<br>
> krish<br>
><br>
> ----- Original Message -----<br>
>> Hi All,<br>
>><br>
>> I am facing issues restarting the gluster volume. When I start
the volume<br>
>> after stopping it, the gluster fails to start the volume<br>
>><br>
>> Below is the message that I get on CLI<br>
>><br>
>> /root> gluster volume start _home<br>
>> volume start: _home: failed: Commit failed on localhost. Please
check the log<br>
>> file for more details.<br>
<br>
Check that selinux is disabled (check command "getenforce/setenforce,
<br>
change /etc/selinux/config") . Also make sure firewall is not
causing <br>
the issue, "iptables -F" will help. To save iptable change persistent
<br>
across reboot run "service iptables save" as root.<br>
<br>
-Lala<br>
>> Logs says that it was unable to start the brick<br>
>><br>
>> [2013-08-08 14:19:42.280852] I [glusterd-pmap.c:271:pmap_registry_remove]<br>
>> 0-pmap: removing brick (null) on port 49160<br>
>> [2013-08-08 14:19:42.283583] E [glusterd-utils.c:4023:glusterd_brick_start]<br>
>> 0-management: Unable to start brick 192.168.24.80:/.krfs/_home<br>
>> [2013-08-08 14:19:42.283637] E [glusterd-syncop.c:830:gd_sync_task_begin]<br>
>> 0-management: Commit of operation 'Volume Start' failed on localhost<br>
>><br>
>> and the gluster volume remains as stopped<br>
>><br>
>> root@ksc-base-unit0:/.krfs> gluster volume info _home<br>
>><br>
>> Volume Name: _home<br>
>> Type: Distribute<br>
>> Volume ID: e6ab94d8-30ec-469e-830f-4c124e360ca1<br>
>> Status: Stopped<br>
>> Number of Bricks: 1<br>
>> Transport-type: tcp<br>
>> Bricks:<br>
>> Brick1: 192.168.24.80:/.krfs/_home<br>
>> Options Reconfigured:<br>
>> nfs.register-with-portmap: on<br>
>><br>
>><br>
>> Could you please shed some light on this<br>
>><br>
>><br>
>> Regards<br>
>> Rahul Shrivastava<br>
>><br>
>><br>
>> =====-----=====-----=====<br>
>> Notice: The information contained in this e-mail<br>
>> message and/or attachments to it may contain<br>
>> confidential or privileged information. If you are<br>
>> not the intended recipient, any dissemination, use,<br>
>> review, distribution, printing or copying of the<br>
>> information contained in this e-mail message<br>
>> and/or attachments to it are strictly prohibited. If<br>
>> you have received this communication in error,<br>
>> please notify us by reply e-mail or telephone and<br>
>> immediately and permanently delete the message<br>
>> and any attachments. Thank you<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Gluster-devel mailing list<br>
>> Gluster-devel@nongnu.org<br>
>> </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>
>><br>
> _______________________________________________<br>
> Gluster-users mailing list<br>
> Gluster-users@gluster.org<br>
> </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>