Re: ceph OSD journal (with dmcrypt) replacement

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

 



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 <swamireddy@xxxxxxxxx> wrote:
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
<swamireddy@xxxxxxxxx> wrote:
> Thank you. Iam able to replace the dmcrypt journal successfully.
>
> On Sep 5, 2017 18:14, "David Turner" <drakonstein@xxxxxxxxx> 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. 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 the osds, you follow the standard
>> process of closing the journal, create the new partition, set up all of the
>> partition metadata so that the ceph udev rules will know what the journal
>> is, and just create a new dmcrypt volume on it. I would recommend using the
>> same uuid as the old journal so that you don't need to update the symlinks
>> and such on the osd. After everything is done, run the journal create
>> command for the osd and start the osd.
>>
>>
>> On Tue, Sep 5, 2017, 2:47 AM M Ranga Swami Reddy <swamireddy@xxxxxxxxx>
>> wrote:
>>>
>>> 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@xxxxxxxxxxxxxx
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux