Re: Bluestore OSD support in ceph-disk

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

 



> On Sep 15, 2016, at 11:34 AM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> 
> On Thu, 15 Sep 2016, Kamble, Nitin A wrote:
>> Can I use ceph-disk to prepare a bluestore OSD now?
>> 
>> I would like to know proper command line parameters for ceph-disk .
>> 
>> The following related issue tracker has closed, does it mean it is ready 
>> to use for creation of bluestore OSDs?
>> 
>> From: http://tracker.ceph.com/issues/13942
>> 
>>> 
>>> Updated by Sage Weil 9 months ago
>>> 	• Status changed from In Progress to Verified
>>> 	• Assignee deleted (Loic Dachary)
>>> For the 'ceph-disk prepare' part, I think we should keep it simple initially:
>>> 
>>> ceph-disk --osd-objectstore bluestore maindev[:dbdev[:waldev]]
>>> and teach ceph-disk how to do the partitioning for bluestore (no generic way to ask ceph-osd that). We can leave off the db/wal devices initially, and then make activate work, so that there is something functional. Then add dbdev and waldev support last.
> 
> You just need to pass --bluestore to ceph-disk for a single-disk setup. 
> The multi-device PR is still pending, but close:
> 
> 	https://github.com/ceph/ceph/pull/10135
> 
> sage
>
> sudo ceph-disk prepare --bluestore /dev/sdb --block.db /dev/sdc --block.wal /dev/sdc
> 
> This will create 2 partitions on sdb and 2 partitions on sdc, then 'block.db' will symlink to partition 1 of sdc, 'block.wal' will symlink to partition 2 of sdc, 'block' will symlink to partition 2 of sdb.
>

Nice!  I am eager to see it go into the master branch, and try it out. Any approximate ETA for merging this PR?

Looks like the WAL size is of fixed 128MB irrespective of the block store size. How to determine the metadata db size? It needs to proportional to the block store size. Is there any recommended ratio?



Thanks,
Nitin

��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[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