Bash:
pveceph osd create /dev/sda1 \
--crush-device-class hdd \
--db_dev /dev/nvme0n1p4 \
--db_dev_size 75
I got error
Bash:
create OSD on /dev/sda1 (bluestore)
creating block.db on '/dev/nvme0n1p4'
no ceph vg found on '/dev/nvme0n1p4'
I didn't realize db_dev_size was in GiB.
At first I thought it was a percentage, so I put 4 on "db_dev_size" and created osd.
but I saw that it created only 4GiB.
Afterward, I removed the OSD and trying to recreated it, failed with the error.
I also tried ceph-volume.
But this command did not create the block.db in lvm.
ceph-volume lvm create --block.db '/dev/nvme1n1p4' --data /dev/sdb1 --block.db-size 79993765888
How can I create a VG?
Last edited: