[LU-14142] pool name is ignored by "lfs migrate" when it is the only stripe option Created: 17/Nov/20  Updated: 06/Jan/22  Resolved: 06/Jan/22

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Nikitas Angelinas Assignee: Nikitas Angelinas
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LU-14896 'lfs migrate -p <pool> <file>' should... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Attempting to migrate a file between pools with "lfs migrate" fails when only the poolname is specified, without any other stripe options.

E.g. this doesn't work:

lfs migrate -p pool2 /lustre/dir0/file0

but this does work:

lfs migrate -c 1 -p pool2 /lustre/dir0/file0

The issue seems to have been introduced in LU-11510; reverting the commit from that ticket addresses the issue.



 Comments   
Comment by Gerrit Updater [ 17/Nov/20 ]

Nikitas Angelinas (nikitas.angelinas@hpe.com) uploaded a new patch: https://review.whamcloud.com/40673
Subject: LU-14142 lfs: don't ignore pool in migrate w/o other params
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1fe537e6ccce087d3e864fc8952f72bdf2d9b1f6

Comment by Nikitas Angelinas [ 06/Jan/22 ]

Addressed by LU-14896.

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