New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate XFS configuration files. #2431
Conversation
When in MIGRATION_MODE, migrate/rename XFS configuration files so they follow disk mapping set by user.
usr/share/rear/layout/prepare/default/319_rename_xfs_configs.sh
Outdated
Show resolved
Hide resolved
usr/share/rear/layout/prepare/default/319_rename_xfs_configs.sh
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gozora
please have a look at my
#2431 (comment)
and
#2431 (comment)
Perhaps I am wrong but at least from plain looking at the code
it seems things could go wrong as I described.
If all is OK perhaps a comment that explains how those sed substitutions
behave fail-safe could help to better understand how things actually work.
|
Hello @jsmeix, Thanks for your comments! V. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know the XFS configuration file syntax
so I cannot actually verify the sed substitute commands to
"Replace old device name in meta-data= option in XFS configuration file"
but because @gozora you now double-checked that part
I trust that now things work sufficiently well.
|
... or "just merge" it right now ;-) |
|
Thanks for your reviews! V. |
Type: Bug Fix / Enhancement
Impact: Normal
Reference to related issue (URL): Mapping disks doesn't map corresponding XFS information file #2333
How was this pull request tested?
Successfully restored VM with following disk layout from VirtualBox to Qemu. (migration from /dev/sd* to /dev/vd*)
When in MIGRATION_MODE, migrate/rename XFS configuration files so they follow disk mapping set by user.