.TH LFS-GETSOM 1 2018-10-04 "Lustre" "lustre Utilities"
.SH NAME
-lfs getname \- retrieve the filesystem name and instance ID
+lfs-getname \- retrieve the filesystem name and instance ID
.SH SYNOPSIS
.B lfs getname
.RB [ --help | -h "] [" --instance | -i "] [" --fsname | -n ]
.SH OPTIONS
.TP
.BR --help | -h
-Print the usage message.
+Print usage message.
.TP
.BR --fsname | -n
Print only the Lustre filesystem name for each filesystem. If
.I pathname
then the instance ID is printed without the mountpoint.
.SH EXAMPLES
-.TP
.B $ lfs getname
+.br
myth-ffff880428703400 /myth
.br
testfs-ffff937009271000 /mnt/testfs
-.TP
+.P
.B $ lfs getname -n /mnt/testfs
+.br
testfs
+.P
+.B $ lfs getname -i /mnt/testfs
+.br
+ffff937009271000
.SH SEE ALSO
.BR lfs (1),
+.BR llapi_getname (3),
.BR lustre (7)