1 .TH LFS-GETDIRSTRIPE 1 2017-11-07 "Lustre" "Lustre Utilities"
3 lfs getdirstripe \- list the layout pattern of a given directory
5 .BR "lfs getdirstripe" " [" -cDhHimOrTXvy "]... " \fIDIR\fR...
7 Get the layout pattern of striped directories. This
11 but is used for the directory layout.
14 .BR \-c ", " \-T ", " \-\-mdt-count
15 Only show the number of MDTs the directory is striped across.
17 .BR \-D ", " \-\-default
18 Show the default layout used when creating new subdirectories.
23 .BR \-H ", " \-\-mdt-hash
24 Only show the hash function being used for this directory.
26 .BR \-i ", " \-m ", " \-\-mdt-index
27 Only show the master MDT index of the directory.
29 \fB\-O\fR, \fB\-\-obd\fR=\fIFSNAME-MDTnnnn_UUID\fR
30 Limit the returned directories to those with objects on a specific MDT,
32 .I FSNAME-MDTnnnn_UUID.
34 .BR \-r ", " \-\-recursive
35 The default behavior when a directory is specified is to list the striping
36 information for all sub-directories within the specified directory. This
39 which will recurse into all subdirectories.
41 .BR \-X ", " \-\-max-inherit
42 Show the inherit depth of default layout.
45 Show the layout in YAML format for easier parsing.
47 .BR \-\-max-inherit-rr
48 Show the inherit depth of default layout to roundrobin mkdir.
51 .B $ lfs getdirstripe -O lustre-MDT0001_UUID -r /mnt/lustre/dir1
52 List the striping information of sub-directories, that are located on MDT1,
54 .BR /mnt/lustre/dir1 .
56 The lfs getdirstripe command is part of the Lustre filesystem.
59 .BR lfs-setdirstripe (1),
60 .BR lfs-getstripe (1),