X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fdoc%2Flfs-setdirstripe.1;h=9f52fa8e536370f5f3a25324ceef0aa75205bf9d;hb=efe0ce6cca8f426b6b55b1a520492c99c3bff0dd;hp=b4ea2b03fcb48a9f18be9caccc545505db4d6e16;hpb=5fee5b700d1e683d165fc0ef0ae88c2a0ab83681;p=fs%2Flustre-release.git diff --git a/lustre/doc/lfs-setdirstripe.1 b/lustre/doc/lfs-setdirstripe.1 index b4ea2b0..9f52fa8 100644 --- a/lustre/doc/lfs-setdirstripe.1 +++ b/lustre/doc/lfs-setdirstripe.1 @@ -2,13 +2,18 @@ .SH NAME lfs setdirstripe, mkdir \- set striping pattern of a directory. .SH SYNOPSIS -.B lfs setdirstripe [\fR-cdDHioT\fR] \fIDIR\fR... +.B lfs setdirstripe [\fR-cdDHioTx\fR] \fIDIR\fR... .br .SH DESCRIPTION Create a striped directory with specified striping pattern. This lfs utility is similar to .BR lfs setstripe , but is used to create striped directory. +Can also be used to create directory with a foreign (free format) striping pattern (see +.BR --foreign +and +.BR --xattr +options). .B lfs mkdir is an alias for this command. .SH OPTIONS @@ -18,10 +23,15 @@ Stripe the new directory over .I COUNT MDTs. .TP -.BR \-i ", " \-\-mdt\-index =\fISTART_MDT_INDEX\fR +.BR \-i ", " \-\-mdt\-index =\fISTART_MDT_INDEX\fR[,\fIMDT_INDEX ...] Use the MDT whose index is .I START_MDT_INDEX -as the master/starting MDT for the directory. +as the master/starting MDT for the directory. If multiple +.I MDT_INDEX +values are given, then the stripes will be allocated on the specified +MDT indices. If index -1 (default) is used, it will randomly pick +.I COUNT +less full MDTs. .TP .BR \-H ", " \-\-mdt-hash =\fIHASH_TYPE\fR Use @@ -68,6 +78,23 @@ numeric .BR chmod (1). It is not affected by the current .BR umask (1p). +.TP +.BR \-\-foreign[=type] +Create a directory with a foreign (non-Lustre/free format, see +.BR \-\-xattr +option) striping. Where +.BR type +specifies a known foreign type (like +.BR none +, +.BR daos +, ...) or a 32-bit numeric type. +.TP +.BR \-\-flags =\fI\fR +Specify a bitmask of flags. +.TP +.BR \-x ", " \-\-xattr =\fISTRING\fR +Specify a string to be used as a foreign (free format) striping. .SH NOTE .PP The @@ -97,6 +124,13 @@ This creates a directory striped on two MDTs, whose first stripe is on .B MDT0001 (MDT index 1), and whose hash type is .BR all_char . +.TP +.B $ lfs mkdir --foreign=daos --xattr PUUID:CUUID /mnt/lustre/dir1 +This creates +.B dir1 +with foreign (non-lustre/free format) +.B PUUID:CUUID +striping/LMV EA. .SH AVAILABILITY The .B lfs setdirstripe