Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
anaconda should provide a generic mechanism i.e. through LVM tags or file based flags to prevent the erasure of certain VGs, LVs or file-systems.
Use case: An LV with crucial data exists, if the file (inside the filesystem) /.anaconda-protected exists, then anaconda will raise an error if the users asks to erase the filesystem.
I would like to escalate this bug due to one rhev customer ticket in bug 1281845. With this bug open, we can not verify the bug 1281845.
Comment 5Samantha N. Bueno
2017-05-26 16:04:19 UTC
Hi Ying, sorry about this, but we did not get to this feature in 7.4, but we will evaluate it once more during 7.5 planning.
Comment 6Samantha N. Bueno
2017-10-18 09:52:31 UTC
Deferring this once more, to 7.6. We had to be very selective about bugs for 7.5, and I'm sorry to say that this was not one we could consider. We'll evaluate it in the next planning season.
So you basically need some mechanism to mark an LV to prevent users from accidentally removing it during installation? Who (and when) will mark the LVs as protected?
Using LVM tags should be relatively easy to implement in Blivet (storage library used by Anaconda). We currently don't support LVM tags, but just reading it and marking the device as protected if the tag is "anaconda-protected" (or something similar) shouldn't be hard.
Comment 11Sandro Bonazzola
2018-12-10 15:48:54 UTC
I think it's totally fine using "anaconda-protected" to preserve LVs during reinstallation.
We'll update RHV documentation to tell users to tag in such way the LVs they want to protect.
Comment 12Sandro Bonazzola
2019-06-14 07:18:53 UTC
Missed 7.7, retrying with 8.1 for RHV 4.4
Comment 13Sandro Bonazzola
2020-03-18 11:24:57 UTC
Not tracking this for RHV 4.4 anymore.
Comment 16RHEL Program Management
2020-11-01 03:03:02 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.