Re: /etc/init.d/ceph script will restart stop start the daemon twice

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

 



On Wed, 7 Aug 2013, huangjun wrote:
> hi,
> we use the ceph 0.613, write all the and when
> operate(restart|start|stop) the cluster daemon(osd|mds|mon), it will
> excecute the operation twice.
> from the code init-ceph.in:
> get_localname_list
> get_name_list "$@"
> for name in $what; do
> .....
> done
> so the result $what will include twice the local daemons, shall we only
> use the get_name_list? what's get_localname_list do here?

It sounds like you have the osds listed in ceph.conf (with a host = ... 
line) *and* have touched /var/lib/ceph/osd/*/sysvinit ?  You should only 
do one or the other.. preferably touching the sysvinit file so that 
ceph.conf is simple (this is what ceph-deploy does).

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux