Den ons 10 nov. 2021 kl 11:27 skrev MERZOUKI, HAMID <hamid.merzouki@xxxxxxxx>: > > Hello everybody, > > I have a misunderstanding about LVM configuration for OSD devices: > > In the pacific documentation cephadm/install (and it was already written in octopus documentation in section DEPLOY OSDS), it is written : > “The device must not have any LVM state” > (https://docs.ceph.com/en/pacific/cephadm/services/osd/#listing-storage-devices) I think this mostly means "It should be empty, and not have a previous LVM configuration" > whereas there are lots of reference to LVM configuration in other sections, such as in release notes : Pacific — Ceph Documentation or in ceph-volume — Ceph Documentation : > "NEW DEPLOYMENTS" (https://docs.ceph.com/en/pacific/ceph-volume/index.html#new-deployments) > For new deployments, LVM is recommended, it can use any logical volume as input for data OSDs, or it can setup a minimal/naive logical volume from a device ..and the many mentions of LVM is because the tools will happily default to making a new LVM setup for you on the clean disks you supply. If there already is LVM on it, the installation needs to take many different situations into consideration, compared to "the disk need to be clean and without previous LVM on it", in which case it can just pvcreate and so on from a clean start. > So I’m not sure to understand and have two questions: > > 1/ Is it possible or not to deploy a Ceph Pacific configuration upon a LVM configuration for OSDs or is it not supported or is it just a problem linked to the use of ceph-adm instead of ceph-ansible ? I'm sure you can if you do it even more manually with ceph-volume, but there should seldom be a need to. As for if the scripts and tools will allow you to specify such a config I don't know. > 2/ Is it possible to migrate a Ceph Octopus configuration installed (thks to ceph-ansible) upon LVM configuration for OSDs towards a Ceph Pacific configuration without changing anything around LVM configuration ? Yes, upgrades do not contain LVM management, as far as I have ever seen. -- May the most significant bit of your life be positive. _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx