Bug 1924110 - [RFE] 'pvck -f file' could give better error or prompt to overwrite an existing file
Summary: [RFE] 'pvck -f file' could give better error or prompt to overwrite an existi...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lvm2
Version: 8.4
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: 8.0
Assignee: David Teigland
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-02 16:16 UTC by Corey Marthaler
Modified: 2022-08-02 07:28 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-02 07:28:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Corey Marthaler 2021-02-02 16:16:45 UTC
Description of problem:

[root@p8-224-node1 ~]# ls /tmp/file
ls: cannot access '/tmp/file': No such file or directory
[root@p8-224-node1 ~]# touch /tmp/file
[root@p8-224-node1 ~]# ls /tmp/file
/tmp/file
[root@p8-224-node1 ~]# pvck --dump metadata /dev/mapper/mpatha2 -f /tmp/file
  metadata text at 5632 crc 0x74f287eb # vgname test seqno 2
  Failed to create file /tmp/file
[root@p8-224-node1 ~]# cat /tmp/file
[root@p8-224-node1 ~]# 



Version-Release number of selected component (if applicable):
kernel-4.18.0-268.el8    BUILT: Mon Dec 28 03:47:31 CST 2020
lvm2-2.03.11-2.el8    BUILT: Thu Jan 28 14:41:14 CST 2021
lvm2-libs-2.03.11-2.el8    BUILT: Thu Jan 28 14:41:14 CST 2021

Comment 8 RHEL Program Management 2022-08-02 07:28:09 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.


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