CEPH: как создать OSD (bluestore) на одном диске, а block.db разместить на разделе другого диска?
/dev/sdc — HDD
/dev/sdm — SSD с несколькими разделами, на первом стоит ОС (Ubuntu Server 16.04.3 LTS, ceph 12.2.0 luminous), остальные (5,6,7,8) — пустые разделы.
Делаю так:
ceph-disk prepare --bluestore /dev/sdc --block.db /dev/sdm6
Вот вывод:
Setting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
prepare_device: OSD will not be hot-swappable if block.db is not the same device as the osd data
prepare_device: Block.db /dev/sdm6 was not prepared with ceph-disk. Symlinking directly.
Setting name!
partNum is 1
REALLY setting name!
The operation has completed successfully.
The operation has completed successfully.
meta-data=/dev/sdc1 isize=2048 agcount=4, agsize=6400 blks
= sectsz=4096 attr=2, projid32bit=1
Читать дальше
/dev/sdm — SSD с несколькими разделами, на первом стоит ОС (Ubuntu Server 16.04.3 LTS, ceph 12.2.0 luminous), остальные (5,6,7,8) — пустые разделы.
Делаю так:
ceph-disk prepare --bluestore /dev/sdc --block.db /dev/sdm6
Вот вывод:
Setting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
prepare_device: OSD will not be hot-swappable if block.db is not the same device as the osd data
prepare_device: Block.db /dev/sdm6 was not prepared with ceph-disk. Symlinking directly.
Setting name!
partNum is 1
REALLY setting name!
The operation has completed successfully.
The operation has completed successfully.
meta-data=/dev/sdc1 isize=2048 agcount=4, agsize=6400 blks
= sectsz=4096 attr=2, projid32bit=1