Created attachment 1287568 [details] virt-manager.log Description of problem: [RFE]Add overwrite option in virt-manager Version-Release number of selected component (if applicable): virt-manager-1.4.1-7.el7.noarch libvirt-3.2.0-9.el7.x86_64 qemu-kvm-rhev-2.9.0-10.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Prepare free disk partition in host # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 2G 0 part /boot/efi ├─sda2 8:2 0 29.3G 0 part ├─sda3 8:3 0 2G 0 part [SWAP] └─sda4 8:4 0 420G 0 part / sr0 11:0 1 1024M 0 rom 2.Try to create logical pool on /dev/sda2 in virt-manager but failed to create due to virt-manager doesn't support overwrite option virt-manager->connection details->storage-> create storage pool->name:lvpool->type:logical:LVM Volume Group->forward->Target path:/dev/test->source path:/dev/sda2-> select "build pool"->finish->yes->fail to create pool with error "/dev/sda2 doesn't match the except format ‘LVM2_member’, forced overwrite is necessary " 3.Could use virsh to create logical pool with overwrite option successfully 3.1 # virsh pool-create-as lvm-pool logical --source-dev /dev/sda2 --source-format lvm2 --source-name lvm-group --build --overwrite Pool lvm-pool created 3.2 # virsh pool-dumpxml lvm-pool <pool type='logical'> <name>lvm-pool</name> <uuid>1ad51a0c-aa5c-4fec-a11a-c354098cd771</uuid> <capacity unit='bytes'>31453085696</capacity> <allocation unit='bytes'>0</allocation> <available unit='bytes'>31453085696</available> <source> <device path='/dev/sda2'/> <name>lvm-group</name> <format type='lvm2'/> </source> <target> <path>/dev/lvm-group</path> </target> </pool> Actual results: As above description Expected results: Could add overwrite option in virt-manager Additional info:
Created attachment 1287569 [details] screenshot
Not that important for RHEL IMO, so moving to the upstream tracker
*** This bug has been marked as a duplicate of bug 1169274 ***