On 12/08/2016 03:09 PM, Khramchikhin Nikolay wrote: > No luck, i dont even have logs associate with ceph-disk at startup:
In that case your udev rules probably didn't trigger. Have a look in the logs and see if udev invokes (/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name) you could also have a look if your lockbox partition matches the parttypeuuid defined in /lib/udev/rules.d/95-ceph-osd.rules with: udevadm info /dev/vdb<$ID> > > $journalctl -u ceph- > > it shows me only standart ceph services, such ceph-osd@ > > but after ceph-disk activate-lockbox, i can get logs: > > journalctl -u > ceph-disk@dev-disk-by\\x2dpartuuid-2c6532f7\\x2d4c5c\\x2d4fc7\\x2dab6c\\x2da7d41e2f509a.service > > -- Logs begin at Thu 2016-12-08 18:50:53 +06, end at Thu 2016-12-08 > 19:54:48 +06. -- > Dec 08 18:58:15 labpve1 systemd[1]: Starting Ceph disk activation: > /dev/disk/by-partuuid/2c6a99f7-4c5c-4fc7-egjc-a7d41e2f509a... > > > > > On 12/08/2016 03:34 PM, Joshua Schmid wrote: >> Hey Khramchikhin, >> >> On 12/08/2016 12:22 PM, Khramchikhin Nikolay wrote: >>> Hello, folks, >>> >>> I have problem with osd up after server reboot, all disk deployed with >>> ceph-deploy osd prepare --dmcrypt, i `ve tried ceph-deploy osd create >>> with no luck, same issue. >>> >>> After server reboot osd dont come up, i need to run >>> >>> *ceph-disk activate-lockbox /dev/sdb3 ** >> Could you have a look at: >> >> $ journalctl -u ceph-disk@dev-vdb3.service -l >> >> and verify that it gets mounted correctly. >> >> $ journalctl -u ceph-disk@dev-vdb1.service -l (if thats your data >> partition) >> >> should show you an attempt of ceph-disk to retrieve the decryption key >> from the monitor ( get_dmcrypt_key: stderr obtained 'dm-crypt/osd $(UUID) >> >>> * >>> for example, then everything works fine. >>> >>> Any suggestions? >>> >>> >>> >>> _______________________________________________ >>> ceph-users mailing list >>> ceph-users@lists.ceph.com >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> > -- Freundliche Grüße - Kind regards, Joshua Schmid SUSE Enterprise Storage SUSE Linux GmbH - Maxfeldstr. 5 - 90409 Nürnberg -------------------------------------------------------------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -------------------------------------------------------------------------------------------------------------------- _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com