LFS-GETSOM(1)

NAME
lfs-getname - retrieve the filesystem name and instance ID

SYNOPSIS
lfs getname [--help|-h] [--instance|-i] [--fsname|-n] [pathname...]

DESCRIPTION
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.

OPTIONS

--help|-h
    Print usage message.

--fsname|-n
    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.

--instance|-i
    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.

EXAMPLES
$ lfs getname
myth-ffff880428703400 /myth
testfs-ffff937009271000 /mnt/testfs

$ lfs getname -n /mnt/testfs
testfs

$ lfs getname -i /mnt/testfs
ffff937009271000

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