Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Lustre 2.1.0
-
None
-
Lustre 2.1 and e2fsprogs-1.41.90.wc3
-
3
-
6439
Description
I am trying to use debugfs to get the fullpath for a ost object.
running on OST
service151 ~/e2fsprogs-1.41.90.wc3/e2scan # debugfs -R "stat /O/0/d0/65504" /dev/mapper/ddn5a-nbp5-ost16
debugfs 1.41.90.wc3 (28-May-2011)
Inode: 7995447 Type: regular Mode: 0666 Flags: 0x80000
Generation: 2244192670 Version: 0x00000000:006fd7ad
User: 4806 Group: 1128 Size: 14680064
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 28672
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x4f1df040:00000000 – Mon Jan 23 15:41:52 2012
atime: 0x80015180:00000003 – Tue Jan 19 19:14:08 2038
mtime: 0x4f1df040:00000000 – Mon Jan 23 15:41:52 2012
crtime: 0x4f1dc599:1f4238f8 – Mon Jan 23 12:39:53 2012
Size of extra inode fields: 28
Extended attributes stored in inode body:
fid = "6f 1d 00 eb 0e 00 00 02 00 00 00 00 1f 00 00 00 e0 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 " (32)
fid: objid=65504 seq=0 parent=[0x200000eeb001d6f:0x0:0x0] stripe=31
EXTENTS:
(0-2047):9906176-9908223, (2048-3583):9914368-9915903
Now Run on MDT to get full path
service150 ~ # debugfs -V
debugfs 1.41.90.wc3 (28-May-2011)
Using EXT2FS Library version 1.41.90.wc3
service150 ~ # debugfs R 'ncheck 0x200000eeb001d6f' /dev/mapper/nbp5-vg-mdt5
debugfs 1.41.90.wc3 (28-May-2011)
Inode Pathname