Re: [ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-11 Thread Дробышевский , Владимир
Have you tried to list your ceph keys with "/usr/bin/ceph config-key ls" ? 2017-09-11 15:56 GMT+05:00 M Ranga Swami Reddy : > ceph-disk --prepare -dmcrypt --> cmd, where this command store the > keys for bmcrypt? > > default as per the docs - /etc/ceph/dmcrypt-keys -> but this directory is > empt

Re: [ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-11 Thread M Ranga Swami Reddy
ceph-disk --prepare -dmcrypt --> cmd, where this command store the keys for bmcrypt? default as per the docs - /etc/ceph/dmcrypt-keys -> but this directory is empty. Thanks Swami On Sat, Sep 9, 2017 at 4:34 PM, Дробышевский, Владимир wrote: > AFAIK in case of dm-crypt luks (as default) ceph-dis

Re: [ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-09 Thread Дробышевский , Владимир
AFAIK in case of dm-crypt luks (as default) ceph-disk keeps particular OSD partition\partitions key in ceph mon attributes and uses OSD partition uuid as an ID for this key. So you can get all your keys running: /usr/bin/ceph config-key ls You'll get something like: [ ... "dm-crypt/osd/5025

Re: [ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-08 Thread David Turner
You used to need a keyfile in Hammer. I think Jewel changed that to a partition, but I don't have experience with that. On Fri, Sep 8, 2017, 9:18 AM M Ranga Swami Reddy wrote: > when I create dmcrypted jounral using cryptsetup command, its asking > for passphase? Can I use passphase as empty? >

Re: [ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-08 Thread M Ranga Swami Reddy
when I create dmcrypted jounral using cryptsetup command, its asking for passphase? Can I use passphase as empty? On Wed, Sep 6, 2017 at 11:23 PM, M Ranga Swami Reddy wrote: > Thank you. Iam able to replace the dmcrypt journal successfully. > > On Sep 5, 2017 18:14, "David Turner" wrote: >> >>

Re: [ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-06 Thread M Ranga Swami Reddy
Thank you. Iam able to replace the dmcrypt journal successfully. On Sep 5, 2017 18:14, "David Turner" wrote: > Did the journal drive fail during operation? Or was it taken out during > pre-failure. If it fully failed, then most likely you can't guarantee the > consistency of the underlying osds.

Re: [ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-05 Thread David Turner
Did the journal drive fail during operation? Or was it taken out during pre-failure. If it fully failed, then most likely you can't guarantee the consistency of the underlying osds. In this case, you just put the affected osds and add them back in as new osds. In the case of having good data on th

[ceph-users] ceph OSD journal (with dmcrypt) replacement

2017-09-04 Thread M Ranga Swami Reddy
Hello, How to replace an OSD's journal created with dmcrypt, from one drive to another drive, in case of current journal drive failed. Thanks Swami ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.c