Go to file
Aaron Lauterer ad1677d221 fix #4631: ceph: osd: create: add osds-per-device
Allows to automatically create multiple OSDs per physical device. The
main use case are fast NVME drives that would be bottlenecked by a
single OSD service.

By using the 'ceph-volume lvm batch' command instead of the 'ceph-volume
lvm create' for multiple OSDs / device, we don't have to deal with the
split of the drive ourselves.

But this means that the parameters to specify a DB or WAL device won't
work as the 'batch' command doesn't use them. Dedicated DB and WAL
devices don't make much sense anyway if we place the OSDs on fast NVME
drives.

Some other changes to how the command is built were needed as well, as
the 'batch' command needs the path to the disk as a positional argument,
not as '--data /dev/sdX'.
We drop the '--cluster-fsid' parameter because the 'batch' command
doesn't accept it. The 'create' will fall back to reading it from the
ceph.conf file.

Removal of OSDs works as expected without any code changes. As long as
there are other OSDs on a disk, the VG & PV won't be removed, even if
'cleanup' is enabled.

The '--no-auto' parameter is used to avoid the following deprecation
warning:
```
--> DEPRECATION NOTICE
--> You are using the legacy automatic disk sorting behavior
--> The Pacific release will change the default to --no-auto
--> passed data devices: 1 physical, 0 LVM
--> relative data size: 0.3333333333333333
```

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2023-11-06 18:23:28 +01:00
aplinfo update shipped aplliance info index 2023-10-30 13:39:43 +01:00
bin handle pve-kernel -> proxmox-kernel rename 2023-08-01 10:33:12 +02:00
configs fix #3069: vzdump: add property 'performance: pbs-entries-max=N' 2023-09-18 16:54:17 +02:00
debian bump version to 8.0.7 2023-10-29 19:52:45 +01:00
network-hooks makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
PVE fix #4631: ceph: osd: create: add osds-per-device 2023-11-06 18:23:28 +01:00
services makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
test fix mocking in notification tests 2023-08-16 11:58:22 +02:00
www ui: sdn: homogenize the casing of labels 2023-11-06 18:17:45 +01:00
.gitignore Extend the .gitignore(s) 2018-05-04 14:50:04 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile buildsys: ordering/style cleanups 2023-07-03 13:17:18 +02:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl close #3476: vzdump: add job-init hook 2022-01-18 12:20:26 +01:00