Re: Questions about bluestore

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

 



There are 2 configs to set the size of your DB and Wal
Bluestore_block_db_size
Bluestore_block_wal_size

If you have an SSD you should give as much space as you can to the DB and don't care about the Wal (Wal would always be placed in the fastest device) 


I am not sure about hot moving the DB but as far as you have replicas you can always remake the osd.

If SSD breaks and it's not possible to recover the data all your OSDs will break but as far as you have a replicas in other node you can remake the OSDs and they will rebalance.
That's why you shouldn't use consumers SSD for rocksDB.


-------- Mensaje original --------
De: Mario Giammarco <mgiammarco@xxxxxxxxx>
Fecha: 14/10/17 10:54 AM (GMT+01:00)
Para: ceph-users <ceph-users@xxxxxxxxxxxxxx>
Asunto: Re: [ceph-users] Questions about bluestore

Nobody can help me?


Il ven 6 ott 2017, 07:31 Mario Giammarco <mgiammarco@xxxxxxxxx> ha scritto:
Hello,
I am trying Ceph luminous with Bluestore.

I create an osd:

ceph-disk prepare --bluestore /dev/sdg  --block.db /dev/sdf

and I see that on ssd it creates a partition of only 1g for block.db

So:

ceph-disk prepare --bluestore /dev/sdg --block.wal /dev/sdf --block.db /dev/sdf

and again it creates two partitions, 1g and 500mb

It seems to me that they are too small the ssd is underutilized (docs says you need a ssd greater than 1g to put a block.db on)

Other two questions:

- if I already have an osd bluestore can I move later the db on ssd?
- docs says that I can add several block.db of different osds on one ssd. But what happens if ssd breaks?

Thanks,
Mario
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux