Bug 2224094 - RAID volume pre cleanup - remove existing data from member disks as needed before creation
Summary: RAID volume pre cleanup - remove existing data from member disks as needed be...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.9
Assignee: Rich Megginson
QA Contact: David Jež
Apurva Bhide
URL:
Whiteboard: role:storage
Depends On: 2224090
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-19 18:42 UTC by Rich Megginson
Modified: 2023-08-14 12:26 UTC (History)
6 users (show)

Fixed In Version: rhel-system-roles-1.22.0-0.16.el8
Doc Type: Bug Fix
Doc Text:
- raid volumes now remove existing data from member disks as needed before creation
Clone Of: 2224090
Environment:
Last Closed:
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-162791 0 None None None 2023-07-19 18:45:42 UTC

Description Rich Megginson 2023-07-19 18:42:30 UTC
+++ This bug was initially created as a clone of Bug #2224090 +++

raid volumes do not remove existing data from member disks as needed before creation
It should use self._blivet.devicetree.recursive_remove like BlivetPool._create_members does
By calling recursive_remove() on each device before creating the RAID volume, you can ensure that any existing data on the member disks is removed.
see https://github.com/linux-system-roles/storage/issues/163
see https://github.com/linux-system-roles/storage/pull/169


Note You need to log in before you can comment on or make changes to this bug.