Re: migrating dmcrypt keys ?

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

 




On 02/20/2017 09:17 PM, Wyllys Ingersoll wrote:
> Can you elaborate - specifically what would I look for in ceph-disk?
> I would be interested in writing the migration tool if I knew where to
> start digging.

The keyword to look for is lockbox, starting from here https://github.com/ceph/ceph/blob/master/src/ceph-disk/ceph_disk/main.py#L1193 looking at the pull requests that merged this, you should have some valuable context.

Cheers


> 
> thanks!
> 
> On Mon, Feb 20, 2017 at 2:56 PM, Loic Dachary <loic@xxxxxxxxxxx> wrote:
>> Hi,
>>
>> On 02/20/2017 08:49 PM, Wyllys Ingersoll wrote:
>>> Is it possible to migrate a legacy (i..e pre-Jewel) osd device that
>>> was originally setup with dmcrypt keys in /etc/ceph/dmcrypt-keys to
>>> use the newer osd-lockbox scheme without having to destroy the osd and
>>> re-prepare it?
>>
>> You can do it manually by mimicing what ceph-disk does. It would be nice to have a tool to do that.
>>
>> Cheers
>>
>>>
>>> Thanks
>>>
>>
>> --
>> Loïc Dachary, Artisan Logiciel Libre
> 

-- 
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux