I finally got my fast NVMe enterprise drives (Samsung PM983) at last, added a few journals to it for smaller spinners and would like to use the remaining disk space as an OSD/Monitor db/maybe swap. Are there any guides on how to achieve this ?
Tried to peak at promox tooling in the GUI to tap into the commands -> but to no avail:
Tried to peak at promox tooling in the GUI to tap into the commands -> but to no avail:
GUI -> Add OSD
create OSD on /dev/sdb (bluestore)
creating block.db on '/dev/nvme0n1'
Physical volume "/dev/nvme0n1" successfully created.
Volume group "ceph-a457b2c6-0545-44f6-bb23-9f0cf1dc53c2" successfully created
Logical volume "osd-db-329e91fd-b019-4027-b137-e0b3f76204d8" created.
# lsblk /dev/nvme0n1
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 894.3G 0 disk
├─ceph--a457b2c6--0545--44f6--bb23--9f0cf1dc53c2-osd--db--329e91fd--b019--4027--b137--e0b3f76204d8 253:8 0 4G 0 lvm
└─ceph--a457b2c6--0545--44f6--bb23--9f0cf1dc53c2-osd--db--eb696692--f66f--4678--88b5--905ec5c7c62e 253:18 0 4G 0 lvm
# parted /dev/nvme0n1 -a optimal mkpart primary 8GB 28GB
Error: /dev/nvme0n1: unrecognised disk label
# ceph-volume lvm batch --osds-per-device 4 /dev/nvme0n1
--> All devices are already used by ceph. No OSDs will be created.