Re: Weight of new OSD

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

 



I'm not sure on RedHat, but on Ubuntu, /etc/init/ceph-osd.conf calls ceph osd crush create-or-move.  Try adding some logging to that script, something like

echo "Create or move OSD $id weight ${weight:-${defaultweight:-1}} to location $location" >> /tmp/ceph-osd.log

You probably want more detail though, like maybe the value of weight and defaultweight, to see where the error is occurring.


On Wed, Oct 22, 2014 at 5:57 AM, Paweł Sadowski <ceph@xxxxxxxxx> wrote:
Hi,

>From time to time when I replace broken OSD the new one gets weight of
zero. Crush map from epoch before adding OSD seems to be fine. Is there
any way to debug this issue?

Regards,
--
PS
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux