Get filename from oid?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cephers

I've got a missing object, can anyone point me to a simple method of turning the oid into a /path/filename, that I could then recover from backup?

root@ceph-s1 15:52 [~]: ceph pg 2.fff list_unfound
{
    "num_missing": 1,
    "num_unfound": 1,
    "objects": [
        {
            "oid": {
                "oid": "10007d6af4d.00000046",
                "key": "",
                "snapid": -2,
                "hash": 4294967295,
                "max": 0,
                "pool": 2,
                "namespace": ""
            },
            "need": "25830'930138",
            "have": "0'0",
            "flags": "none",
"clean_regions": "clean_offsets: [], clean_omap: 0, new_object: 1",
            "locations": [
                "18(9)",
                "30(1)",
                "83(7)",
                "148(2)",
                "176(3)",
                "245(6)",
                "320(5)"
            ]
        }
    ],
    "more": false
}

I've tried 'rados -p ec82pool get 10007d6af4d.00000046', but that's been running over 30 minutes, and a 'find /ceph -inum 1099643137869' is a bit slow going over 1 billion objects. Or am I just being impatient?

This may be another one of https://tracker.ceph.com/issues/44286.

Many thanks

Cheers
Toby
--
Toby Darling, Scientific Computing (2N249)
MRC Laboratory of Molecular Biology
https://www.mrc-lmb.cam.ac.uk/scicomp/
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux