Answer the question
In order to leave comments, you need to log in
CEPH: how to remove pools from CephFS?
Hello colleagues! There are two pools, cephfs_data and cephfs_metadata. CephFS is pumped on them. When creating pools, I specified too many PGs for them, I want to delete the pools. I'm trying like this:
# ceph osd pool delete cephfs_data cephfs_data --yes-i-really-really-mean-it
Error EBUSY: pool 'cephfs_data' is in use by CephFS
# ceph fs rm cephfs
Error EINVAL: all MDS daemons must be inactive before removing filesystem
ceph mds stop 0
Error EINVAL: can't tell the root (0) or tableserver (0) to deactivate
Answer the question
In order to leave comments, you need to log in
systemctl stop ceph-mds.target
killall ceph-mds
ceph mds cluster_down
ceph mds fail 0
ceph fs rm cephfs name --yes-i-really-mean-it
ceph osd pool delete cephfs data pool cephfs data pool --yes-i- really-really-mean-it
ceph osd pool delete cephfs metadata pool cephfs metadata pool --yes-i-really-really-mean-it
rm -rf "/var/lib/ceph/mds/ cluster-metadata server "
ceph auth del mds."$hostname"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question