rook-ceph 实操 v17.2.5

1. 查看ceph版本

bash 复制代码
kubectl exec -it rook-ceph-tools-xxxxx -n rook-ceph /bin/bash
ceph version
# ceph version 17.2.5 (98318ae89f1a893a6ded3a640405cdbb33e08757) quincy (stable)

打开之前下载的rook-ceph文件夹(前提是你的文件夹名字已经标注了版本)在 deploy/examples/cluster.yaml里有

image: quay.io/ceph/ceph:v17.2.5

2. 删除osd

进入tool pod

bash 复制代码
# Step 1: Mark OSD as out
ceph osd out osd.3

# Step 2: Check the cluster status and wait for rebalancing
ceph -s

# Step 3: Once the cluster is balanced, remove the OSD from the CRUSH map and authentication
ceph osd crush remove osd.3
ceph auth del osd.3
ceph osd rm osd.3

# Step 4: Delete the corresponding Rook OSD deployment
kubectl -n rook-ceph delete deployment rook-ceph-osd-3 # 注意这里是deployment

# Optional Step 5: If using PVC, delete the corresponding PVC
kubectl -n rook-ceph delete pvc <pvc-name>

3. 释放出空间

需要删除 pv pvc sc,还有pool 才能释放出来

4. iscsi rook-ceph 在ceph 笔记2 中用ceph 16实现的

进入tool

ceph mgr module enable rook

bash-4.4$ ceph orch ps

Error ENOENT: No orchestrator configured (try ceph orch set backend)

bash-4.4$ ceph orch ls

Error ENOENT: No orchestrator configured (try ceph orch set backend)

bash-4.4$ ceph orch set backend rook

bash-4.4$ ceph orch ls

相关推荐
wniuniu_4 天前
rbd镜像的锁
ceph
JNU freshman7 天前
从 Ceph 16(Pacific)到 Ceph 18(Reef):cephadm 的伸缩性演进与 cephadm agent 到底“成熟”了吗?
java·大数据·ceph
wniuniu_7 天前
概括。。。。
ceph
JNU freshman7 天前
使用 cephadm + Docker 镜像在三台服务器上部署 Ceph 集群(含网络规划与 OSD DB/WAL 分离)
服务器·ceph·docker
JNU freshman7 天前
Ceph RBD:一个镜像能否被多客户端同时映射?如何避免“多端同时写入”风险
ceph
wniuniu_8 天前
ceph16-18差异
ceph
腾讯数据架构师9 天前
cube studio 存储资源对接ceph
ceph·kubernetes·cube-studio·ai平台
哼了个哈9 天前
[Ceph 14.2.22] 使用Ceph原生命令部署单机集群
ceph
lisanmengmeng20 天前
cephfs rbd应用
linux·运维·服务器·ceph
oMcLin21 天前
如何在 Manjaro Linux 上实现高效的 Ceph 存储集群,提升大规模文件存储的冗余性与性能?
linux·运维·ceph