LFS-RMFID(1) Lustre Utilities LFS-RMFID(1)

# [NAME](#NAME)

lfs-rmfid - remove file by FID

# [SYNOPSIS](#SYNOPSIS)

**lfs rmfid** &lt;*directory*&gt; &lt;*FID1*&gt; \[&lt;*FID2*&gt;...]

# [DESCRIPTION](#DESCRIPTION)

This command removes file(s) specified by the *FID*.  
In some cases it is more optimal to remove files by their FIDs. The **directory** specifies a mountpoint of Lustre filesystem where given **FIDs** are stored. The mountpoint should be mounted with **user\_fid2path** mount option and the caller has to have a right to modify the given files. rmfid will be trying to remove all hardlinks of the given file. FIDs can be wrapped with square brackets.

# [EXAMPLES](#EXAMPLES)

[**lfs rmfid /mnt/lustre \[0x200000400:0x1:0x0\] \[0x200000402:0x20:0x0\]**](#lfs)

Remove files with FIDs \[0x200000400:0x1:0x0] \[0x200000402:0x20:0x0]

# [AUTHOR](#AUTHOR)

The **lfs rmfid** command is part of the Lustre filesystem.

# [SEE ALSO](#SEE_ALSO)

[**lfs**(1)](/man/enterprise-packages/lustre/lfs.1), [**lfs-path2fid**(1)](/man/enterprise-packages/lustre/lfs-path2fid.1), [**lfs-fid2path**(1)](/man/enterprise-packages/lustre/lfs-fid2path.1)

2017-07-25 Lustre

---

Document: lfs-rmfid(1) from lustre 2.17.59-r1 (Chainguard OS)
Source: https://github.com/lustre/lustre-release
