Re: block.db on a LV? (Re: Mixed SSD+HDD OSD setup recommendation)

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

 



Hello @all,

Am 18. Januar 2019 14:29:42 MEZ schrieb Alfredo Deza <adeza@xxxxxxxxxx>:
>On Fri, Jan 18, 2019 at 7:21 AM Jan Kasprzak <kas@xxxxxxxxxx> wrote:
>>
>> Eugen Block wrote:
>> : Hi Jan,
>> :
>> : I think you're running into an issue reported a couple of times.
>> : For the use of LVM you have to specify the name of the Volume Group
>> : and the respective Logical Volume instead of the path, e.g.
>> :
>> : ceph-volume lvm prepare --bluestore --block.db ssd_vg/ssd00 --data
>/dev/sda
>>
>>         Eugen,
>>
>> thanks, I will try it. In the meantime, I have discovered another way
>> how to get around it: convert my SSDs from MBR to GPT partition
>table,
>> and then create 15 additional GPT partitions for the respective
>block.dbs
>> instead of 2x15 LVs.
>
>This is because ceph-volume can accept both LVs or GPT partitions for
>block.db
>
>Another way around this, that doesn't require you to create the LVs is
>to use the `batch` sub-command, that will automatically
>detect your HDD and put data on it, and detect the SSD and create the
>block.db LVs. The command could look something like:
>
>
>ceph-volume lvm batch --bluestore /dev/sda /dev/sdb /dev/sdc /dev/sdd
>/dev/nvme0n1
>
>Would create 4 OSDs, place data on: sda, sdb, sdc, and sdd. And create
>4 block.db LVs on nvme0n1
>

How would you replace ,lets say sdc (osd.2), in this Case?

Could you please give a short step-by-step howto?

Thanks in advice for  your Great Job on ceph-volume @alfredo

- Mehmet 

>
>
>>
>> -Yenya
>>
>> --
>> | Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net -
>private}> |
>> | http://www.fi.muni.cz/~kas/                         GPG:
>4096R/A45477D5 |
>>  This is the world we live in: the way to deal with computers is to
>google
>>  the symptoms, and hope that you don't have to watch a video. --P.
>Zaitcev
>> _______________________________________________
>> 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
_______________________________________________
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