[LU-14090] lctl replace_nids and starting target with local copy of logs Created: 29/Oct/20 Updated: 06/Apr/21 Resolved: 06/Apr/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Artem Blagodarenko (Inactive) | Assignee: | Artem Blagodarenko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
There is a feature that starts a target with a local copy of When replace_nids adds records with new nids it does not Let's add tunefs.lustre --nolocallogs key that tunefs.lustre --nolocallogs is suggested to be executed on |
| Comments |
| Comment by Gerrit Updater [ 29/Oct/20 ] |
|
Artem Blagodarenko (artem.blagodarenko@hpe.com) uploaded a new patch: https://review.whamcloud.com/40448 |
| Comment by Andreas Dilger [ 23/Mar/21 ] |
|
The root of this problem is that the "replace_nids" code is breaking one of the assumptions of the config llog - that changes are added to the end, and old config records are not rewritten. That is why replace_nids needs all of the servers and clients to be unmounted when rewriting the logs, which is inconvenient. Something like I think a better long-term solution for changing the server NIDs is to get patch https://review.whamcloud.com/40736 "LU-10360 mgs: Mount to dynamically added networks" updated and landed. That avoids the need to manually update the config logs if the server NIDs are changing, and allows clients to keep using the filesystem even if the server NIDs are changing at runtime (with a timeout and recovery if the NID change is sudden, but it could be transparent if both the old and new NID were valid for some time). |
| Comment by Gerrit Updater [ 06/Apr/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40448/ |
| Comment by Peter Jones [ 06/Apr/21 ] |
|
Landed for 2.15 |