OS Manuals

lfs-getname(1)

lfs-getname - retrieve the filesystem name and instance ID

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

lfs-getname - retrieve the filesystem name and instance ID

lfs getname [--help|-h] [--instance|-i] [--fsname|-n] [--uuid|-u] [PATHNAME...]

Print the filesystem name, instance ID, and mountpoint for all Lustre mount points on the local client. If one or more PATHNAME arguments are provided, then only print the Lustre filesystem name and instance ID for these mount points.

Print usage message.
Only show the mount instance ID for each filesystem. If -i is used with a single PATHNAME then the instance ID is printed without the mountpoint.
Print only the Lustre filesystem name for each filesystem. If -n is used with a single PATHNAME then the filesystem name is printed without the mountpoint.
Print only the UUID for this client filesystem mountpoint. Note that this is not a common UUID suitable for mounting the filesystem with, but rather a unique identifier for this specific mount instance. If -u is used with a single PATHNAME then the uuid is printed without the mountpoint.

# lfs getname
myth-ffff880428703400 /myth
testfs-ffff937009271000 /mnt/testfs
# lfs getname -n /mnt/testfs
testfs
# lfs getname -i /mnt/testfs
ffff937009271000
# lfs getname -u /mnt/testfs
78adbfe8-1c12-4bd2-a485-69afa166677e

lfs getname is part of the lustre(7) filesystem package since release 2.2.0

lfs(1), llapi_getname(3), lustre(7)

2024-08-15 Lustre

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