[Gluster-devel] not able to restart the brick for distributed volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I tried disabling selinux and then executing the command but stuck at the 
same step again. 
Please find attached the logs, along with the timings when I executed the 
command

/root> cat /etc/selinux/config
SELINUXTYPE=wr-strict
SELINUX=disabled

/root> gluster volume info _home

Volume Name: _home
Type: Distribute
Volume ID: cdd81285-181c-4712-adfe-4e3b97b3f0df
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: 192.168.24.80:/.krfs/_home
Options Reconfigured:
nfs.register-with-portmap: on

/root> gluster volume stop _home
Stopping volume will make its data inaccessible. Do you want to continue? 
(y/n) y
volume stop: _home: success
root at ksc-base-unit0:/root> date
Fri Aug  9 06:55:06 GMT 2013


/root> gluster volume start _home
volume start: _home: failed: Commit failed on localhost. Please check the 
log file for more details.
/root> date
Fri Aug  9 06:55:39 GMT 2013





Regards
Rahul Shrivastava



From:
Lalatendu Mohanty <lmohanty at redhat.com>
To:
Krishnan Parthasarathi <kparthas at redhat.com>
Cc:
Rahul51 S <rahul51.s at tcs.com>, gluster-users at gluster.org
Date:
08/09/2013 02:10 AM
Subject:
Re: [Gluster-devel] not able to restart the brick for 
distributed volume



On 08/08/2013 09:21 PM, Krishnan Parthasarathi wrote:
> Rahul,
>
> [Removing gluster-devel from CC list since its not a devel list issue.]
>
> Could you provide all the log files under /var/log/glusterfs?
> Seeing the brick log files alongside glusterd log file might
> provide more context.
>
> thanks,
> krish
>
> ----- Original Message -----
>> Hi All,
>>
>> I am facing issues restarting the gluster volume. When I start the 
volume
>> after stopping it, the gluster fails to start the volume
>>
>> Below is the message that I get on CLI
>>
>> /root> gluster volume start _home
>> volume start: _home: failed: Commit failed on localhost. Please check 
the log
>> file for more details.

  Check that selinux is disabled (check command "getenforce/setenforce, 
change /etc/selinux/config") .  Also make sure firewall is not causing 
the issue, "iptables -F" will help. To save iptable change persistent 
across reboot run "service iptables save" as root.

-Lala
>> Logs says that it was unable to start the brick
>>
>> [2013-08-08 14:19:42.280852] I 
[glusterd-pmap.c:271:pmap_registry_remove]
>> 0-pmap: removing brick (null) on port 49160
>> [2013-08-08 14:19:42.283583] E 
[glusterd-utils.c:4023:glusterd_brick_start]
>> 0-management: Unable to start brick 192.168.24.80:/.krfs/_home
>> [2013-08-08 14:19:42.283637] E 
[glusterd-syncop.c:830:gd_sync_task_begin]
>> 0-management: Commit of operation 'Volume Start' failed on localhost
>>
>> and the gluster volume remains as stopped
>>
>> root at ksc-base-unit0:/.krfs> gluster volume info _home
>>
>> Volume Name: _home
>> Type: Distribute
>> Volume ID: e6ab94d8-30ec-469e-830f-4c124e360ca1
>> Status: Stopped
>> Number of Bricks: 1
>> Transport-type: tcp
>> Bricks:
>> Brick1: 192.168.24.80:/.krfs/_home
>> Options Reconfigured:
>> nfs.register-with-portmap: on
>>
>>
>> Could you please shed some light on this
>>
>>
>> Regards
>> Rahul Shrivastava
>>
>>
>> =====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>
>>
>>
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel at nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130809/7fdae1db/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: home.log
Type: application/octet-stream
Size: 18370 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130809/7fdae1db/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usr-etc-glusterfs-glusterd.vol.log
Type: application/octet-stream
Size: 330518 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130809/7fdae1db/attachment-0003.obj>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux