Project

General

Profile

Actions

Bug #16671

closed

"ceph df"object num is negative

Added by xiaomeng tu almost 8 years ago. Updated almost 7 years ago.

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

0%

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

Description

when i perform "ceph df"command,found the num of objects in cephfs data pool is negative. "ceph pg dump" found the objects and bytes both has negative and postive values,but there also has some normal pgs which has zero object and bytes.

another strange thing is,when i perform a fuse mount,i found the directory i used to create was missing.Then i touch a file,the missed diretory suddenly show up,but after i remove the touched file, the missed diretory disappeared.

i used to perform the "cephfs-journal-tool journal reset" and "cephfs-table-tool all session reset command", i have no idea if this is the reason why the directory missing.

Actions #1

Updated by John Spray almost 8 years ago

  • Project changed from CephFS to Ceph
  • Subject changed from "ceph df"object num is negative and data in cephfs is missing to "ceph df"object num is negative

Negative values in "ceph df" will be a core rados issue, as opposed to a cephfs issue.

The other stuff you're talking about is quite likely to be related to whatever damage led you to use the cephfs-journal-tool commands that you've used, so that may or may not be a bug, but is probably a story that you should tell on the mailing list to see if anyone has any ideas.

Actions #2

Updated by xiaomeng tu almost 8 years ago

The pool that has negative values always be the cephfs data pool.And if it is a rados issue, can you give a clue of what may cause this error?
Another thing about the data missing, if it is the cephfs-journal-tool damage led to data missing, what should I do unless remove the "missing" dircetory ?

Actions #3

Updated by Samuel Just over 7 years ago

  • Priority changed from Urgent to Normal
Actions #4

Updated by Josh Durgin almost 7 years ago

  • Status changed from New to Resolved

There have been a few fixes to the stats that should fix this case too. Please reopen if you have a case with negative stats using what will be luminous or later.

Actions

Also available in: Atom PDF