Bug 1356087
Summary: | [RFE] Mechanism to prevent VGs/LVs or file-system from getting erased | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | cshao <cshao> | ||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.1 | CC: | agk, anaconda-maint-list, aoconnor, bugs, fdeutsch, huzhao, jkonecny, leiwang, sbueno, vtrefny, weiwang, yaniwang, ycui, yturgema | ||||
Target Milestone: | alpha | Keywords: | FutureFeature | ||||
Target Release: | 8.1 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-11-01 03:03:02 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1281845, 1362310 | ||||||
Attachments: |
|
Description
cshao
2016-07-13 11:39:16 UTC
Created attachment 1179223 [details]
all log info
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. 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. 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. This missed 7.2.z -> 7.6; can we have a target milestone for this? 7.6.z? 7.7? Anaconda is not doing Z streams but we will look on this during 7.7 planning. 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. Yuval, can you take a look? 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. Missed 7.7, retrying with 8.1 for RHV 4.4 Not tracking this for RHV 4.4 anymore. 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. |