Whamcloud - gitweb
LU-12624 lod: alloc dir stripes by QoS
[fs/lustre-release.git] / lustre / doc / lfs-rmfid.1
1 .TH LFS-RMFID 1 2017-07-25 "Lustre" "Lustre Utilities"
2 .SH NAME
3 lfs rmfid \- remove file by FID
4 .SH SYNOPSIS
5 .B lfs rmfid
6 <\fIdirectory\fR> <\fIFID1\fR> [<\fIFID2\fR>...]
7 .SH DESCRIPTION
8 This command removes file(s) specified by the \fIFID\fR.
9 .br
10 In some cases it is more optimal to remove files by their FIDs.
11 The \fBdirectory\fR specifies a mountpoint of Lustre filesystem where given
12 \fBFIDs\fR are stored. The mountpoint should be mounted with
13 \fBuser_fid2path\fR mount option and the caller has to have a right to
14 modify the given files. rmfid will be trying to remove all hardlinks of the
15 given file. FIDs can be wrapped with square brackets.
16 .SH EXAMPLES
17 .TP
18 .B lfs rmfid /mnt/lustre [0x200000400:0x1:0x0] [0x200000402:0x20:0x0]
19 Remove files with FIDs [0x200000400:0x1:0x0] [0x200000402:0x20:0x0]
20 .SH AUTHOR
21 The \fBlfs rmfid\fR command is part of the Lustre filesystem.
22 .SH SEE ALSO
23 .BR lfs (1),
24 .BR lfs-path2fid (1),
25 .BR lfs-fid2path (1)