[LU-12157] lfs_migrate -v output format is not well-formed Created: 04/Apr/19  Updated: 06/Apr/20  Resolved: 09/Aug/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.0, Lustre 2.13.0, Lustre 2.10.7
Fix Version/s: Lustre 2.13.0, Lustre 2.12.5

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

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

The output from "lfs_migrate -v" is not well formed when migrating links or special files.

/mnt/testfs/l0: /mnt/testfs/l0: done
\n\r[K/mnt/testfs/l1: already migrated via another link
\n\r[K/mnt/testfs/l2: already migrated via another link
:

This is due to incorrect use of "-e" and also passing the "-v" option through to "lfs migrate", which causes the filename to be printed twice.



 Comments   
Comment by Gerrit Updater [ 04/Apr/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34592
Subject: LU-12157 scripts: don't print escapes in lfs_migrate
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 59203e10fde4911848208884915d89dd23fd53fd

Comment by Gerrit Updater [ 09/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34592/
Subject: LU-12157 utils: fix lfs_migrate output and testing
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9b8e8e0e54e5055c02469cb16d186c94fa2040e0

Comment by Peter Jones [ 09/Aug/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 06/Mar/20 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37812
Subject: LU-12157 utils: fix lfs_migrate output and testing
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 9fa1725ac0ed27bb2305ee715fa8fae41c9d2c3d

Comment by Gerrit Updater [ 06/Apr/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37812/
Subject: LU-12157 utils: fix lfs_migrate output and testing
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 70ab71892c1ec4d3b624fa157752146fc606426c

Generated at Sat Feb 10 02:50:08 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.