[LU-13475] Disable rsync fallback and warning message from lfs_migrate Created: 22/Apr/20  Updated: 14/Feb/23  Resolved: 03/Feb/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0, Lustre 2.12.5
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14120 lfs migrate doesn't work on directori... Open
Rank (Obsolete): 9223372036854775807

 Description   

The warning message printed by lfs_migrate is outdated since about Lustre 2.7, and should only be checked/printed if falling back to rsync.

There should also be sanity tests added for "lfs migrate" with concurrent open/read+migrate and open/write+migrate (if they don't already exist), also with --block and --nonblock options and data verification afterward to ensure proper behavior.



 Comments   
Comment by Andreas Dilger [ 22/Apr/20 ]

Also note that "lfs migrate" man page and usage message reports that it can be run on a directory, but it only works on individual files. I'm not sure if that is a regression in the code, or the man page is wrong and that never worked, but it should be made consistent.

Comment by John Hammond [ 05/Nov/20 ]

> Also note that "lfs migrate" man page and usage message reports that it can be run on a directory, but it only works on individual files. I'm not sure if that is a regression in the code, or the man page is wrong and that never worked, but it should be made consistent.

See LU-14120.

Comment by Gerrit Updater [ 11/Nov/20 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40614
Subject: LU-13475 utils: remove warning from lfs_migrate
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 312f6ea70f97988f199a80cbc14f72359de8c07e

Comment by Gerrit Updater [ 03/Feb/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/40614/
Subject: LU-13475 utils: disable lfs_migrate rsync and warning
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1be889a5bc713ab8db6c3d2cbf83aef8df813293

Comment by Peter Jones [ 03/Feb/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:01:35 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.