Whamcloud - gitweb
LU-13475 utils: disable lfs_migrate rsync and warning 14/40614/6
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 11 Nov 2020 21:53:22 +0000 (14:53 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 3 Feb 2023 06:49:45 +0000 (06:49 +0000)
commit1be889a5bc713ab8db6c3d2cbf83aef8df813293
tree46c2d72263b077dd6bbf69dca965136b7b394f55
parente766553ff5f7289b7d6cdef4f965c0e4c613bda1
LU-13475 utils: disable lfs_migrate rsync and warning

The --rsync option is no longer enabled by default for fallback if
'lfs migrate' fails for some reason, and is mandatory for rsync usage.
The warning message and "-y" option of lfs_migrate is no longer needed
if rsync is not used, and is only shown if --rsync is used.

Remove the LFS_MIGRATE_RSYNC_MODE variable that was used for tests
and instead pass the "--rsync" option directly when needed.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I70b70d969f2dc8b4836c6c7692e6a73a0e2540e5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/40614
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs_migrate.1
lustre/scripts/lfs_migrate
lustre/tests/sanity.sh