Bug #24441
Ceph fs new cephfs command failed when meta pool already contains some objects
0%
Description
ceph fs new cephfs meta4 data
Error EINVAL: pool 'meta4' already contains some objects. Use an empty pool instead.
History
#1 Updated by 鹏 张 almost 6 years ago
ceph version 10.2.10:
when meta pool has objects.Run ceph fs new cephfs meta data,it can create fs successed.
But with ceph version 12.2.5:
when meta pool has objects.Run ceph fs new cephfs meta data,it can be failed.And print below:
Error EINVAL: pool 'meta' already contains some objects. Use an empty pool instead.
Why does this happen,now ceph version 12.2.5 can not support meta data pool multiplex?
#2 Updated by John Spray almost 6 years ago
- Status changed from New to Closed
This is not a bug -- the check was added to avoid people accidentally getting corrupt filesystems by trying to use a pool that already contained some metadata objects from another filesystem.
There is a "--force" flag, if you are doing something strange but are sure it's safe.
#3 Updated by John Spray almost 6 years ago
- Project changed from Ceph to CephFS