Actions
Feature #3010
closedMake it easy to find a list of data locations from a cephfs file
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Large cluster designers would like to be able to get as much information about a CephFS file's location as possible. Certainly it should include:
Each object used by the file
The PG of each object
The location of each PG.
Other bonuses might include making it easier to identify the object on-disk (the actual object file, not just the owner), so that they can see if a problem in a CephFS file is caused by a specific disk issue.
Updated by Sage Weil over 11 years ago
- Status changed from New to In Progress
- Assignee set to Sage Weil
is this what they're after?
root@uml:~/mnt# /host/home/sage/src/ceph/src/cephfs foo map |head FILE OFFSET OBJECT OFFSET LENGTH OSD 0 10000000000.00000000 0 4194304 osd.0 4194304 10000000000.00000001 0 4194304 osd.0 8388608 10000000000.00000002 0 4194304 osd.0 12582912 10000000000.00000003 0 4194304 osd.0 16777216 10000000000.00000004 0 4194304 osd.0 20971520 10000000000.00000005 0 4194304 osd.0 25165824 10000000000.00000006 0 4194304 osd.0 29360128 10000000000.00000007 0 4194304 osd.0 33554432 10000000000.00000008 0 4194304 osd.0 ...
Updated by Sage Weil over 11 years ago
- Status changed from In Progress to Resolved
Actions