Restoring a crushmap in an offline monitor

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

 



Hi Joao,

This question looks like it should have an easy answer, but I've never tried to do that. Does anyone has previous experience dealing with this ?

Cheers

Quoting : http://tracker.ceph.com/issues/9485#note-19

After trying to edit the crushmap in order to separate groups of OSDs according to their disk technology, my mons failed to restart after a needed restart.

Using the ceph-monstore-tool I managed to extract the crushmap from the store.db and I can see that a ruleset refers to a non-existing root object. I cannot say for sure that I set up my crushmap, through the edit, properly, and it seems that the problem of the "lost" reference is related to that. But I cannot find a way to reset the offline store.db with a fixed crushmap.

I am even checking the source code and I see that the MonitorDBStore has only get methods. The put methors are part of the Transaction struct of the class and I too little experience with the source code to understand whether this structure can be used to initiate a transaction to update an offline store.db.

Having a way of fixing an offline store.db that is plagued due to a bad crushmap would be nice :D


-- 
Loïc Dachary, Artisan Logiciel Libre

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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