Whamcloud - gitweb
LU-8055 ldev: Introduced role filtering
[fs/lustre-release.git] / lustre / doc / ldev.8
index c9f85e8..75a6ea6 100644 (file)
@@ -60,6 +60,9 @@ Print device type of LABEL, i.e. "zfs" or "md".
 .I "-z, --zpool LABEL"
 Print zpool containing LABEL.
 .TP
+.I "-R, --role ROLE"
+Filter output based on role, i.e. mdt, ost, mgs.
+.TP
 .I "CMD [ARGS...]"
 Run one instance of \fICMD [ARGS]\fR for each label in parallel.
 Only the local labels are used by default, but foreign, all, or file system
@@ -67,8 +70,8 @@ labels may be selected by adding the \fI--foreign\fR, \fI--all\fR, or
 \fI--filesys\fR options.
 The following substitutions are made:
 %f=fsname, %d=device, %j=journal, %i=index, %I=hex-index, %t=type, %l=label,
-%n=nid, %N=failnid, %m=mgsnid.  On failure of any child processes, \fBldev\fR will
-return a non-zero exit code.
+%n=nid, %N=failnid, %m=mgsnid, %H=hostname, %b=backing-fs.  On failure of
+any child processes, \fBldev\fR will return a non-zero exit code.
 .LP
 It is an error if %n, %N, or %m is used in a command and /etc/nids does not
 contain appropriate host to NID mappings.