Re: ceph-volume and multi-PV Volume groups

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

 



> I'm aware that one could work around this by creating the LVM setup that I want.
> I think this is a bad approach though since every deployment tool has to
> implement its own LVM handling code. Imho the right place for this is exactly
> ceph-volume.

I've been thinking about porting some of the `batch` lv creation functionality
to the `create` subcommand. I think it'd be nice to be able to pass a
raw device to any of the
available flags in `create` and if that device has already been used
as a pv and a vg exists then
that vg would be reused, otherwise a new pv and/or vg would be
created. This is beneficial because it
gives the control that users seem to wish `batch` had, like `create`
already does. Would that solve this problem for you?

I'd be hesitant to change `batch` here. Originally we went down the
path of having one vg per pv for
db/wal but it added tons of complexity to the code to manage that.
With fairly simple workarounds existing for
`batch` plus the availability of the `create` subcommand we felt it
wasn't worth the potential maintenance and
complexity burden to put this sort of functionality in `batch`.

Best,
Andrew



[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