Project

General

Profile

Support #22553

ceph-object-tool can not remove metadata pool's object

Added by peng zhang 10 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
01/02/2018
Due date:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(RADOS):
rados tool

Description

i put an object to the rbd pool
rados -p rbd put qinli.sh
then stop osd and remove it
[root@lab71 ~]# ceph-objectstore-tool --pgid 1.0 --data-path /var/lib/ceph/osd/ceph-0/ --journal-path /var/lib/ceph/osd/ceph-0/journal qinli.sh remove
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
remove #1:693bf15b:::qinli.sh:head#

it went well

but with metadata pool

[root@lab71 ceph-0]# ll current/2.0_head/
total 104
-rw-r--r-- 1 ceph ceph     0 Jan  2 21:35 100.00000000__head_C5265AB3__2
-rw-r--r-- 1 ceph ceph   508 Jan  2 21:35 100.00000000.inode__head_85DDE07F__2
-rw-r--r-- 1 ceph ceph     0 Jan  2 21:35 1.00000000__head_6B2CDAFF__2
-rw-r--r-- 1 ceph ceph   508 Jan  2 21:35 1.00000000.inode__head_232C0E14__2
-rw-r--r-- 1 ceph ceph    90 Jan  2 21:35 200.00000000__head_844F3494__2
-rw-r--r-- 1 ceph ceph 78888 Jan  2 21:35 200.00000001__head_06E5F474__2
-rw-r--r-- 1 ceph ceph    22 Jan  2 21:35 400.00000000__head_64E96F8F__2
-rw-r--r-- 1 ceph ceph     0 Jan  2 21:35 600.00000000__head_C2E541B0__2
-rw-r--r-- 1 ceph ceph     0 Jan  2 21:35 601.00000000__head_81580290__2
-rw-r--r-- 1 ceph ceph     0 Jan  2 21:35 602.00000000__head_2A8B6BD0__2

i want remove 100.00000000__head_C5265AB3__2 ,and with command

[root@lab71 ceph-0]# ceph-objectstore-tool --pgid 2.0  --data-path /var/lib/ceph/osd/ceph-0/ --journal-path /var/lib/ceph/osd/ceph-0/journal   100.0000000 remove
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Decode object JSON error: value type is 5 not 0

the object 100.0000000 cannot be remove ,is it a bug? or it not support to do this?

History

#1 Updated by Josh Durgin 10 months ago

  • Tracker changed from Bug to Support

Is there possibly something wrong with that disk?

#2 Updated by peng zhang 9 months ago

not something wrong with disk,it can be repeat

Also available in: Atom PDF