Bug 1806563 - Validate usage of wipe_lv over multiple users of this function
Summary: Validate usage of wipe_lv over multiple users of this function
Keywords:
Status: NEW
Alias: None
Product: LVM and device-mapper
Classification: Community
Component: lvm2
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Zdenek Kabelac
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks: 1805892
TreeView+ depends on / blocked
 
Reported: 2020-02-24 14:29 UTC by Zdenek Kabelac
Modified: 2024-04-27 05:52 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:
pm-rhel: lvm-technical-solution?
pm-rhel: lvm-test-coverage?


Attachments (Terms of Use)

Description Zdenek Kabelac 2020-02-24 14:29:42 UTC
Description of problem:

Usage of wipe_lv() has couple issues that should be validate across several callers of this function:

1. Error handling of failed wiping.

2. Unified reaction on 'prompt'  [n] answer.
   (Should this abort() whole command, or just skip wiping - this can confuse users.)

3. Possibly a single function for wiping a list of LVs.

(TODO in future: when wiping multiple new LVs - single prompt should be there)

Version-Release: 2.03


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