卸载ceph
卸载ceph
#卸载软件包
ceph-deploy purge dx-lt-yd-hebei-xxxx
ceph-deploy purge dx-lt-yd-hebei-xxxx
#删除配置文件
ceph-deploy purgedata dx-lt-yd-hebei-xxxx
ceph-deploy purgedata dx-lt-yd-hebei-xxxx
ceph-deploy forgetkeys
取消盘挂载 删除osd
lsblk |grep -C1 sdb |tail -1
# dmsetup ls
dmsetup remove --force ceph--47e2bb59--4c26--4fb1--996f--ca28f87d4c13-osd--block--fce46df3--47bd--4edc--a77a--82750a21d3a4
mkfs.xfs -f /dev/sdb
mkdir /data/0
mount /dev/sdb /data/0
echo "/dev/sdb /data/0 xfs defaults 1 2" >> /etc/fstab
mount -a
ceph 删除和添加osd:https://blog.csdn.net/a13568hki/article/details/118914679
mkfs.xfs: cannot open /dev/sdb1: Device or resource busy设备或资源忙: https://blog.csdn.net/leonnew/article/details/117222814
Linux如何查看磁盘/分区的UUID:https://www.wanpeng.life/1726.html