Whamcloud - gitweb
LU-16227 utils: Add warning for lfs setdirstripe -D -i x,y,z 20/49420/6
authorTimothy Day <timday@amazon.com>
Thu, 15 Dec 2022 19:47:57 +0000 (19:47 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 13 Jan 2023 07:17:09 +0000 (07:17 +0000)
commit6c93b9c3fcf581bb1fb04577fbcd803d0d02f802
tree64fc00c82e3e3304df11de4529ff3672788e3692
parent9ffef81008a290dbfeeea86944d03f12c290871b
LU-16227 utils: Add warning for lfs setdirstripe -D -i x,y,z

Adjust setdirstripe to be more user friendly. The
use of "-D -i x,y,z" now returns a clear error
that this is creating a default striped directory
layout and that this is a bad idea, if it is not
accompanied by "-c N" that matches the number of
index values given.

Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ic9f91853d4016bf0edfb3845ac9f1edafdf73d55
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49420
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-setdirstripe.1
lustre/tests/sanity.sh
lustre/utils/lfs.c