Whamcloud - gitweb
LU-6635 lfsck: block replacing the OST-object for test
[fs/lustre-release.git] / lustre / doc / lfs-getdirstripe.1
1 .TH LFS-GETDIRSTRIPE 1 2014-06-08 "Lustre" "Lustre Utilities"
2 .SH NAME
3 lfs getdirstripe \- list the striping pattern of a given directory.
4 .SH SYNOPSIS
5 .B lfs getdirstripe
6 [\fIOPTION\fR]... \fIDIR\fR...
7 .SH DESCRIPTION
8 Get the striping pattern information of directories. This lfs utility is
9 similar to
10 .B lfs getstripe
11 , but is used to get directory striping pattern.
12 .BP lfs
13 .SH OPTIONS
14 .TP
15 .B \-c, \-\-stripe-count
16 Only show the stripe count of the directory.
17 .TP
18 .B \-i, \-\-stripe-index
19 Only show the stripe index of the directory.
20 .TP
21 .B \-R, \-\-raw
22 The striping information is printed without substituting the
23 filesystem's default values for unspecified fields. If the striping EA is not
24 set, 0, and -1 will be printed for the stripe count, and offset respectively.
25 .TP
26 .B \-q, \-\-quiet
27 Only show the details of the sub-striped directory FID information.
28 .TP
29 .B \-v, \-\-verbose
30 Additional information will be shown with this option.
31 .TP
32 .B \-r, \-\-recursive
33 The default behavior when a directory is specified is to list the striping
34 information for all sub-directories within the specified directory. This
35 can be expanded with --recursive, which will recurse into all subdirectories.
36 .TP
37 \fB\-O\fR, \fB\-\-obd\fR=\fIFSNAME-MDTnnnn_UUID\fR
38 Limit the returned directories to those with objects on a specific MDT,
39 whose uuid is
40 .I FSNAME-MDTnnnn_UUID.
41 .SH EXAMPLES
42 .TP
43 .B $ lfs getdirstripe -O lustre-MDT0001_UUID -r /mnt/lustre/dir1
44 List the striping information of sub-directories, that are located on MDT1,
45 under /mnt/lustre/dir1.
46 .SH AVAILABILTY
47 The lfs getdirstripe command is part of the Lustre filesystem.
48 .SH SEE ALSO
49 .BR lfs (1),
50 .BR lfs-setdirstripe (1),
51 .BR lfs-getstripe (1),
52 .BR lustre (7)