[LU-1162] debugfs 1.41.90.wc3 not printing path on mdt Created: 01/Mar/12 Updated: 09/Jul/12 Resolved: 09/Jul/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Mahmoud Hanafi | Assignee: | Cliff White (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Lustre 2.1 and e2fsprogs-1.41.90.wc3 |
||
| Severity: | 3 |
| Rank (Obsolete): | 6439 |
| Description |
|
I am trying to use debugfs to get the fullpath for a ost object. running on OST Now Run on MDT to get full path service150 ~ # debugfs -V |
| Comments |
| Comment by Peter Jones [ 02/Mar/12 ] |
|
Bobi Could you please comment on this one? Thanks Peter |
| Comment by Andreas Dilger [ 02/Mar/12 ] |
|
For the second step, where you are looking up the FID on the MDS, you should instead be using "lfs fid2path {FID}" on any client to resolve the pathname. That is considerably faster than the debugfs mechanism (which doesn't work on 2.x files). |
| Comment by Mahmoud Hanafi [ 02/Mar/12 ] |
|
Got it thanks. Should update the lustre2.x docs. You can close this. – Office: 650-604-1454 |
| Comment by Peter Jones [ 01/Jun/12 ] |
|
Cliff another doc issue |
| Comment by Cliff White (Inactive) [ 09/Jul/12 ] |
|
|