sda is hdd and sdb is ssd, when use pveceph createosd, but -db_size doesn't work,here is the report
Am I wrong? the pveceph docs says as follows:
my version is pve 6.0 with ceph nautilus, and sda and sdb infos:
root@pve-03:~# pveceph createosd /dev/sda -db_dev /dev/sdb -db_size 10
create OSD on /dev/sda (bluestore)
creating block.db on '/dev/sdb'
'/dev/sdb' is smaller than requested size '1000083134873' bytes
Am I wrong? the pveceph docs says as follows:
You can directly choose the size for those with the -db_size and -wal_size paremeters respectively. If they are not given the following values (in order) will be used:
- bluestore_block_{db,wal}_size from ceph configuration…
- … database, section osd
- … database, section global
- … file, section osd
- … file, section global
- 10% (DB)/1% (WAL) of OSD size
my version is pve 6.0 with ceph nautilus, and sda and sdb infos:
root@pve-03:~# parted /dev/sda print free
Error: /dev/sda: unrecognised disk label
Model: ATA ST10000VN0004-1Z (scsi)
Disk /dev/sda: 10.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
root@pve-03:~# parted /dev/sdb print free
Error: /dev/sdb: unrecognised disk label
Model: ATA INTEL SSDSC2KB48 (scsi)
Disk /dev/sdb: 480GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
Last edited: