I created an ISCSI and LVM for VMs but misspelled the LVM name So I deleted it and tried to recreate it with correct spelling but get the following Error Message:
create storage failed: device '/dev/disk/by-id/scsi-36589cfc000000aca113ed9386b8dcb80' is already used by volume group 'baldru_LVM' (500)
What do I need to do to delete the target? I do not have it in my storage.cfg.
/etc/pve/storage.cfg
root@pve-1:/etc/pve# cat storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl,backup
maxfiles 0
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir
iscsi: iSCSI
portal 192.168.0.11
target iqn.helios.ctl:target1
content none
lvm: VM_LVM
vgname LVMStore1
base iSCSI:0.0.0.scsi-36589cfc000000606951ba279efb41f8d
content rootdir,images
shared 1
nfs: baldurNFS
export /mnt/BKStore/NFSBackup
path /mnt/pve/baldurNFS
server 192.168.0.12
content backup,iso,vztmpl
maxfiles 2
options vers=3
iscsi: Selene_ISCSI
portal 192.168.0.13
target iqn.selene.ctl:target1
content none
iscsi: Baldur_ISCSI
portal 192.168.0.12
target iqn.2005-10.org.freenas.ctl:iscsibackuptarget
content none
create storage failed: device '/dev/disk/by-id/scsi-36589cfc000000aca113ed9386b8dcb80' is already used by volume group 'baldru_LVM' (500)
What do I need to do to delete the target? I do not have it in my storage.cfg.
/etc/pve/storage.cfg
root@pve-1:/etc/pve# cat storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl,backup
maxfiles 0
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir
iscsi: iSCSI
portal 192.168.0.11
target iqn.helios.ctl:target1
content none
lvm: VM_LVM
vgname LVMStore1
base iSCSI:0.0.0.scsi-36589cfc000000606951ba279efb41f8d
content rootdir,images
shared 1
nfs: baldurNFS
export /mnt/BKStore/NFSBackup
path /mnt/pve/baldurNFS
server 192.168.0.12
content backup,iso,vztmpl
maxfiles 2
options vers=3
iscsi: Selene_ISCSI
portal 192.168.0.13
target iqn.selene.ctl:target1
content none
iscsi: Baldur_ISCSI
portal 192.168.0.12
target iqn.2005-10.org.freenas.ctl:iscsibackuptarget
content none