Project

General

Profile

Bug #24441

Ceph fs new cephfs command failed when meta pool already contains some objects

Added by 鹏 张 almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Also available in: Atom PDF