reversing the removal of an osd (re-adding osd)

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

 



Hello everybody,

I'm doing some experiments and I am trying to re-add an removed osd. I
removed it with the bellow five commands.

http://ceph.com/docs/master/rados/operations/add-or-rm-osds/

ceph osd out 5
/etc/init.d/ceph stop osd.5
ceph osd crush remove osd.5
ceph auth del osd.5
ceph osd rm 5

I think I added the auth back correctly, but I cant figure out the right
crush add commands?

ceph auth add osd.5 osd 'allow *' mon 'allow rwx' -i
/var/lib/ceph/osd/ceph-5/keyring

root@ceph03:~# /etc/init.d/ceph start osd.5
=== osd.5 ===
Error ENOENT: osd.5 does not exist.  create it before updating the crush map
failed: 'timeout 30 /usr/bin/ceph -c /etc/ceph/ceph.conf --name=osd.5
--keyring=/var/lib/ceph/osd/ceph-5/keyring osd crush create-or-move -- 5
0.91 host=ceph03 root=default'

Can somebody show me some examples of the right commands to re-add?

Kind regards,

Jelle de Jong
_______________________________________________
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