首页 > 代码库 > 查看object信息
查看object信息
一、概述;
1 [root@compute1 1.0_head]# pwd 2 /var/lib/ceph/osd/ceph-3/current/1.0_head 3 attr -l rbd\\udata.3b2f23752117.0000000000000f47__head_501C5A00__1 4 Attribute "cephos.spill_out" has a 2 byte value for rbd\udata.3b2f23752117.0000000000000f47__head_501C5A00__1 5 Attribute "ceph._" has a 250 byte value for rbd\udata.3b2f23752117.0000000000000f47__head_501C5A00__1 6 Attribute "ceph._@1" has a 23 byte value for rbd\udata.3b2f23752117.0000000000000f47__head_501C5A00__1 7 Attribute "ceph.snapset" has a 31 byte value for rbd\udata.3b2f23752117.0000000000000f47__head_501C5A00__1 8 9 attr -q -g "ceph._" rbd_data.3b2f23752117.0000000000000f47 > 1.txt 10 11 attr -q -g "ceph._@1" rbd\\udata.3b2f23752117.0000000000000f47__head_501C5A00__1 >> 1.txt 12 13 ceph-dencoder import 1.txt type object_info_t decode dump_json 14 { 15 "oid": { 16 "oid": "rbd_data.3b2f23752117.0000000000000f47", 17 "key": "", 18 "snapid": -2, 19 "hash": 1344035328, 20 "max": 0, 21 "pool": 1, 22 "namespace": "" 23 }, 24 "version": "61‘181", 25 "prior_version": "0‘0", 26 "last_reqid": "client.15151.0:31483", 27 "user_version": 181, 28 "size": 8388608, 29 "mtime": "2016-11-24 18:34:36.561018", 30 "local_mtime": "2016-11-24 18:34:36.638635", 31 "lost": 0, 32 "flags": 52, 33 "snaps": [], 34 "truncate_seq": 0, 35 "truncate_size": 0, 36 "data_digest": 3787114157, 37 "omap_digest": 4294967295, 38 "watchers": {} 39 }
查看object信息
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。