Hello Cephers , need your advice and tips here. *Problem statement : Ceph RBD getting unmapped each time i reboot my server . After reboot every time i need to manually map it and mount it.*
*Setup : * Ceph Firefly 0.80.1 CentOS 6.5 , Kernel : 3.15.0-1 I have tried doing as mentioned in the blog , but looks like this does not works with CentOS http://ceph.com/planet/mapunmap-rbd-device-on-bootshutdown/ # /etc/init.d/rbdmap start /etc/init.d/rbdmap: line 26: log_daemon_msg: command not found /etc/init.d/rbdmap: line 42: log_progress_msg: command not found /etc/init.d/rbdmap: line 47: echo: write error: Invalid argument /etc/init.d/rbdmap: line 52: log_end_msg: command not found /etc/init.d/rbdmap: line 56: log_action_begin_msg: command not found unable to read secretfile: No such file or directory error reading secret file failed to parse ceph_options Thread::try_create(): pthread_create failed with error 13common/Thread.cc: In function 'void Thread::create(size_t)' thread 7fb8ec4ed760 time 2014-10-26 00:01:10.180440 common/Thread.cc: 110: FAILED assert(ret == 0) ceph version 0.80.1 (a38fe1169b6d2ac98b427334c12d7cf81f809b74) 1: (Thread::create(unsigned long)+0x8a) [0x6ba82a] 2: (CephContext::CephContext(unsigned int)+0xba) [0x60ef7a] 3: (common_preinit(CephInitParameters const&, code_environment_t, int)+0x45) [0x6e8305] 4: (global_pre_init(std::vector<char const*, std::allocator<char const*> >*, std::vector<char const*, std::allocator<char const*> >&, unsigned int, code_environment_t, int)+0xaf) [0x5ee21f] 5: (global_init(std::vector<char const*, std::allocator<char const*> >*, std::vector<char const*, std::allocator<char const*> >&, unsigned int, code_environment_t, int)+0x2f) [0x5eed6f] 6: (main()+0x7f) [0x5289af] 7: (__libc_start_main()+0xfd) [0x3efa41ed1d] 8: ceph-fuse() [0x5287c9] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. terminate called after throwing an instance of 'ceph::FailedAssertion' /etc/init.d/rbdmap: line 58: log_action_end_msg: command not found # # cat /etc/ceph/rbdmap rbd/rbd-disk1 id=admin,secret=AQAinItT8Ip9AhAAS93FrXLrrnVp8/sQhjvTIg== # Many Thanks in Advance Vicky
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com