-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
filesystem: add UUID change feature #6680
filesystem: add UUID change feature #6680
Conversation
FreeBSD error: xfs_admin: only 'rewrite' supported on V5 fs
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.
Thanks for your contribution! I've added some first comments.
Co-authored-by: Felix Fontein <felix@fontein.de>
@felixfontein Thank you for your guidance and fixes! |
Beside these I think this is safe to merge for 7.1.0. |
Co-authored-by: Felix Fontein <felix@fontein.de>
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6731 🤖 @patchback |
* filesystem: add UUID change feature * Add changelog fragment for 6680 * Do not test XFS filesystem UUID reset on FreeBSD FreeBSD error: xfs_admin: only 'rewrite' supported on V5 fs * Apply suggestions from code review #1 Co-authored-by: Felix Fontein <felix@fontein.de> * Set filesystem UUID on FS creation * Fix tests - switch to ansible.builtion.to_uuid * Fix tests - Refactor to avoid FS remove tasks * Fail if uuid option not yet supported for fstype * Set resizefs and uuid options mutually exclusive * Apply suggestions from code review no 2. Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 5d9eb8b)
@lszomor thanks for your contribution! |
…ature (#6731) filesystem: add UUID change feature (#6680) * filesystem: add UUID change feature * Add changelog fragment for 6680 * Do not test XFS filesystem UUID reset on FreeBSD FreeBSD error: xfs_admin: only 'rewrite' supported on V5 fs * Apply suggestions from code review #1 Co-authored-by: Felix Fontein <felix@fontein.de> * Set filesystem UUID on FS creation * Fix tests - switch to ansible.builtion.to_uuid * Fix tests - Refactor to avoid FS remove tasks * Fail if uuid option not yet supported for fstype * Set resizefs and uuid options mutually exclusive * Apply suggestions from code review no 2. Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 5d9eb8b) Co-authored-by: Laszlo Szomor <laszomor@gmail.com>
SUMMARY
Add a new feature to the filesystem module for managing UUID.
The feature does not break backward compatibility. It introduces an optional
uuid
parameter.Rationale:
During disk cloning / lvm snapshot creation, the filesystem uuid remains the same. This new feature manages the filesystem UUID in an automated fashion.
ISSUE TYPE
COMPONENT NAME
filesystem
ADDITIONAL INFORMATION
The
version_added
entry in theuuid
parameter's documentation needs to be set.