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]

 



On Fri, Jan 18, 2019 at 10:07 AM Jan Kasprzak <kas@xxxxxxxxxx> wrote:
>
>         Alfredo,
>
> Alfredo Deza wrote:
> : On Fri, Jan 18, 2019 at 7:21 AM Jan Kasprzak <kas@xxxxxxxxxx> wrote:
> : > Eugen Block wrote:
> : > :
> : > : 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
> : > 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
>
>         Interesting. Thanks!
>
>         Can the batch command accept also partitions instead of a whole
> device for block.db? I already have two partitions on my SSDs for
> root and swap.

Ah in that case, no. The idea is that it abstracts the handling in
such a way that it is as hands-off as possible. It is hard to
accomplish that
if there are partitions in the SSDs. However, it is still possible if
the SSDs have LVs in them. The sub-command will just figure out what
extra space is available and just use that.


>
> -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



[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