OS Manuals

lfs-path2fid(1)

lfs-path2fid - print the file identifier for a given pathname

LFS-PATH2FID(1) Lustre User Utilities LFS-PATH2FID(1)

lfs-path2fid - print the file identifier for a given pathname

lfs path2fid DIRECTORY|FILE...

lfs path2fid prints the File Identifier for the specified FILE or DIRECTORY. The FID is unique for each file in the filesystem, and is never reused for other files if the file is deleted.

The FID is also available for regular files via lfs getstripe -F.

Print out the parent FID and name(s) of the given entries. If an entry has multiple links, these are displayed on a single line, tab-separated.

$ lfs path2fid /mnt/lustre/etc/hosts
[0x200000403:0x11f:0x0]
$ lfs path2fid --parents /mnt/lustre/etc/hosts
[0x200000403:0x101:0x0]/hosts

lfs path2fid is part of the lustre(7) filesystem package since release 1.7.0

lfs(1), lfs-fid2path(1), lfs-getstripe(1), llapi_path2fid(3), llapi_path2parent(3), lustre(7)

2025-01-24 Lustre

lustre 2.17.60-r0 · enterprise-packages · ingested 2026-10-22