Re: cephfs map command deprecated

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

 



On Wed, Apr 22, 2015 at 12:35 PM, Stillwell, Bryan
<bryan.stillwell@xxxxxxxxxxx> wrote:
> I have a PG that is in the active+inconsistent state and found the
> following objects to have differing md5sums:
>
> -fa8298048c1958de3c04c71b2f225987
> ./DIR_5/DIR_0/DIR_D/DIR_9/10000008a75.0000017c__head_502F9D05__0
> +b089c2dcd4f1d8b4419ba34fe468f784
> ./DIR_5/DIR_0/DIR_D/DIR_9/10000008a75.0000017c__head_502F9D05__0
> -d3e18fd503ee8ba42792fc41eadfc328
> ./DIR_5/DIR_0/DIR_D/DIR_9/1000000aea5.00001535__head_3C0C9D05__0
> -85a1cf9fae40333ce1145b88bbcf0278
> ./DIR_5/DIR_0/DIR_D/DIR_9/1000000aeaa.00000c1e__head_BA1F9D05__0
> -4da9b1c2e81a72e2aecbfd10dc0e217a
> ./DIR_5/DIR_0/DIR_D/DIR_9/1000000aec4.00000014__head_736F9D05__0
> +0a0c530b547996666988863c2364b077
> ./DIR_5/DIR_0/DIR_D/DIR_9/1000000aea5.00001535__head_3C0C9D05__0
> +86eea720d66d0792e8a1da8ea57e74f7
> ./DIR_5/DIR_0/DIR_D/DIR_9/1000000aeaa.00000c1e__head_BA1F9D05__0
> +75c9085ffb66879326a6f1021586e60f
> ./DIR_5/DIR_0/DIR_D/DIR_9/1000000aec4.00000014__head_736F9D05__0
>
>
>
> I would like to know which files are associated with these objects, but
> one of the commands I used to use doesn't appear to work any more:
>
> # cephfs MVI_2553.MOV map
> WARNING: This tool is deprecated.  Use the layout.* xattrs to query and
> modify layouts.
>     FILE OFFSET                    OBJECT        OFFSET        LENGTH  OSD
> Error getting location: (22) Invalid argument
>
>
> I tried looking at the layout information on this page, but it doesn't
> contain the name of the object from what I can tell:

Hmm, yeah. The object names are just <inode number in hex>.<file
part>. So you don't even need the layout info to know what objects to
look at. :)
-Greg
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[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