Bug 1956949 - new pvremove check uses new vague error message when pv label was already removed
Summary: new pvremove check uses new vague error message when pv label was already rem...
Keywords:
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lvm2
Version: 8.5
Hardware: x86_64
OS: Linux
low
low
Target Milestone: beta
: ---
Assignee: David Teigland
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-04 18:04 UTC by Corey Marthaler
Modified: 2021-05-18 02:02 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Corey Marthaler 2021-05-04 18:04:00 UTC
Description of problem:

# 8.4
[root@hayes-01 ~]# pvremove /dev/sdd1
  Labels on physical volume "/dev/sdd1" successfully wiped.
[root@hayes-01 ~]# pvremove /dev/sdd1
  Failed to read lvm info for /dev/sdd1 PVID .
[root@hayes-01 ~]# echo $?
5


# 7.9 (and earlier 8.* i believe)
[root@mckinley-03 ~]# pvremove /dev/mapper/mpathc1
  Labels on physical volume "/dev/mapper/mpathc1" successfully wiped.
[root@mckinley-03 ~]# pvremove /dev/mapper/mpathc1
  No PV found on device /dev/mapper/mpathc1.
[root@mckinley-03 ~]# echo $?
5


Version-Release number of selected component (if applicable):
kernel-4.18.0-304.el8    BUILT: Tue Apr  6 04:39:38 CDT 2021
lvm2-2.03.11-5.el8    BUILT: Fri Mar  5 07:13:31 CST 2021
lvm2-libs-2.03.11-5.el8    BUILT: Fri Mar  5 07:13:31 CST 2021


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