LFS-GETSOM(1)

NAME
lfs-getsom - list file attributes that are stored on an MDS

SYNOPSIS
lfs getsom [-h] [-s|-b|-f] FILE

DESCRIPTION
This command lists file attributes that are stored on the MDS. It is called with the full path and file name for a file on the Lustre file system. If no flags are used, then all file attributes stored on the MDS will be shown.

OPTIONS

-h  Print usage message.

-s  Only show the size value of the SOM data for a given file.

-b  Only show the blocks value of the SOM data for a given file.

-f  Only show the flag value of the SOM data for a given file. Valid flags are:
        0 - Unknown or no SoM data, must get size from OSTs.
        1 - Known strictly correct, FLR or DoM file (SoM guaranteed).
        2 - Known stale - was right at some point in the past, but it is known (or likely) to be incorrect now (e.g. opened for write).
        4 - Approximate, may never have been strictly correct, need to sync SOM data to achieve eventual consistency.

AVAILABILITY
The lfs getsom command is part of the lustre(7) filesystem package since release 2.12.0

SEE ALSO
lfs(1), llsom_sync(8)