LFS-GETDIRSTRIPE(1)

NAME
lfs-getdirstripe - list the layout pattern of a given directory

SYNOPSIS
lfs getdirstripe [-cDhHimOrTXvy]... DIR...

DESCRIPTION
Get the layout pattern of striped directories. This lfs(1) command is similar to lfs getstripe, but is used for the directory layout.

OPTIONS

-c, -T, --mdt-count
    Only show the number of MDTs the directory is striped across.

-D, --default
    Show the default layout used when creating new subdirectories.

-h, --help
    Print usage message.

-H, --mdt-hash
    Only show the hash function being used for this directory.

--hex-idx
    Print MDT indexes in hexademical rather than decimal.

-i, -m, --mdt-index
    Only show the master MDT index of the directory.

-O, --obd=FSNAME-MDTnnnn_UUID
    Limit the returned directories to those with objects on a specific MDT, whose UUID is FSNAME-MDTnnnn_UUID.

-r, --recursive
    The default behavior when a directory is specified is to list the striping information for all sub-directories within the specified directory. This can be expanded with --recursive, which will recurse into all subdirectories.

-X,  --max-inherit
    Show the inherit depth of default layout.

-y, --yaml
    Show the layout in YAML format for easier parsing.

--max-inherit-rr
    Show the inherit depth of default layout to roundrobin mkdir.

EXAMPLES

$ lfs getdirstripe -O lustre-MDT0001_UUID -r /mnt/lustre/dir1
    List the striping information of sub-directories, that are located on MDT1, under /mnt/lustre/dir1.

AVAILABILTY
The lfs getdirstripe command is part of the Lustre filesystem.

SEE ALSO
lfs(1), lfs-setdirstripe(1), lfs-getstripe(1), lustre(7)