Whamcloud - gitweb
LU-18244 docs: update lfs mkdir description 11/57011/4
authorKeguang Xu <squalfof@gmail.com>
Thu, 14 Nov 2024 07:20:25 +0000 (15:20 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 Apr 2025 20:42:35 +0000 (20:42 +0000)
Accompany with the patch 56925 where "lfs mkdir -C -N" is
supported aiming to align the behavior of OSTs, this patch
adds related description.

Test-Parameters: trivial
Signed-off-by: Keguang Xu <squalfof@gmail.com>
Change-Id: I17f8aa3d5fa7df2c2b419320a0bedd0686ebaee0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57011
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-setdirstripe.1

index 209fe37..5f7119a 100644 (file)
@@ -28,8 +28,10 @@ MDTs.
 .B -C\fR, \fB--overstripe-count \fISTRIPE_COUNT\fR
 The number of stripes to create, creating > 1 stripe MDT if \fISTRIPE_COUNT\fR
 exceeds the number of MDTs in the file system. \fB0 \fRmeans to use the
-filesystem-wide default stripe count (default 1), and \fB-1 \fRmeans to stripe
-over all available MDTs.  Max of 5 stripes/MDT.
+filesystem-wide default stripe count (default 1). While negative value \fB-N \fR
+means \fBN \fRstripes per available MDT. \fB-1 \fRallocates one stripe per MDT,
+values of -2, -3, -4, and -5 allocate 2, 3, 4, and 5 stripes per MDT,
+respectively. The maximum allowable multiplier is currently \fB-5\fR.
 .TP
 .BR \-h ", " \-\-help
 Print usage message.