CEPH创建RAID0应用BCACHE添加OSD
查看新插入的HDD Slot Number编号:
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL -NoLog|egrep "Enclosure Device ID|Slot Number|Device Id|Firmware state"
确认是3以后创建RAID0:
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0[32:3] WB Direct -a0
查看创建后的盘符:
fdisk -l
盘符为sdf,应用BCACHE:
make-bcache -B /dev/sdf -C /dev/nvme0n1p15
zap分区:
ceph-volume lvm zap /dev/bcache4
创建OSD:
ceph-deploy osd create ceph-node-1 --data /dev/bcache4 --block-wal /dev/nvme0n1p10 --block-db /dev/nvme0n1p5