Disk Image Already Exists when Creating Hard Drive in Proxmox Guest

geekdecoder

Member
Jun 13, 2018
4
0
6
Taylor, TX
geekdecoder.com
When creating a new hard drive on a Guest VM, there is an error:
disk image '/var/lib/vz/images/1110/vm-1110-disk-0.raw' already exists at /usr/share/perl5/PVE/API2/Qemu.pm line 1279. (500)

Here are the choices for the disk when creating it:

Bus Device: VirtO 7
Storage: local (23TB available)
Disk Size 64GB
Raw Disk Image (raw)
Cache: Write Through
Discard (checked)

There are 7 other disks on the VM with the same settings.

Full out put here:

update VM 1110: -virtio7 local:5,format=raw,discard=on,cache=writethrough
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport
command '/usr/bin/qemu-img info '--output=json' /var/lib/vz/images/1110/vm-1110-disk-0.raw' failed: exit code 127
could not parse qemu-img info command output for '/var/lib/vz/images/1110/vm-1110-disk-0.raw'
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport
command '/usr/bin/qemu-img info '--output=json' /var/lib/vz/images/1110/vm-1110-disk-1.raw' failed: exit code 127
could not parse qemu-img info command output for '/var/lib/vz/images/1110/vm-1110-disk-1.raw'
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport
command '/usr/bin/qemu-img info '--output=json' /var/lib/vz/images/1110/vm-1110-disk-2.raw' failed: exit code 127
could not parse qemu-img info command output for '/var/lib/vz/images/1110/vm-1110-disk-2.raw'
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport
command '/usr/bin/qemu-img info '--output=json' /var/lib/vz/images/1110/vm-1110-disk-3.raw' failed: exit code 127
could not parse qemu-img info command output for '/var/lib/vz/images/1110/vm-1110-disk-3.raw'
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport
command '/usr/bin/qemu-img info '--output=json' /var/lib/vz/images/1110/vm-1110-disk-4.raw' failed: exit code 127
could not parse qemu-img info command output for '/var/lib/vz/images/1110/vm-1110-disk-4.raw'
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport
command '/usr/bin/qemu-img info '--output=json' /var/lib/vz/images/1110/vm-1110-disk-5.raw' failed: exit code 127
could not parse qemu-img info command output for '/var/lib/vz/images/1110/vm-1110-disk-5.raw'
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport
command '/usr/bin/qemu-img info '--output=json' /var/lib/vz/images/1110/vm-1110-disk-6.raw' failed: exit code 127
could not parse qemu-img info command output for '/var/lib/vz/images/1110/vm-1110-disk-6.raw'
TASK ERROR: disk image '/var/lib/vz/images/1110/vm-1110-disk-0.raw' already exists
 
Code:
/usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: iscsi_init_transport

that looks very strange. could you post the output of pveversion -v please?
 
Hi. Here it is:

# pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.3.13-2-pve)
pve-manager: 6.1-8 (running version: 6.1-8/806edfe1)
pve-kernel-helper: 6.1-7
pve-kernel-5.3: 6.1-6
pve-kernel-5.0: 6.0-11
pve-kernel-4.15: 5.4-8
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.13-2-pve: 5.3.13-2
pve-kernel-5.3.13-1-pve: 5.3.13-1
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-5.0.21-2-pve: 5.0.21-7
pve-kernel-4.15.18-20-pve: 4.15.18-46
pve-kernel-4.4.134-1-pve: 4.4.134-112
pve-kernel-4.4.98-3-pve: 4.4.98-103
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-17
libpve-guest-common-perl: 3.0-5
libpve-http-server-perl: 3.0-5
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 4.0.1-pve1
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-23
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.0-10
pve-firmware: 3.0-6
pve-ha-manager: 3.0-9
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-4
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-7
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1
 
could you run debsums -c pve-qemu-kvm libiscsi7 to verify non of the package-provided files on your system are corrupt? could you also post the output of the following commands
Code:
apt show libiscsi7
ldd /usr/bin/qemu-img
qemu-img -V
 
Hi,

No output for the command-

# debsums -c pve-qemu-kvm libiscsi7

# apt show libiscsi7
Package: libiscsi7
Version: 1.18.0-2
Priority: optional
Section: libs
Source: libiscsi
Maintainer: Michael Tokarev <mjt@tls.msk.ru>
Installed-Size: 220 kB
Depends: libc6 (>= 2.14), libibverbs1 (>= 1.1.6), librdmacm1 (>= 1.0.15)
Homepage: https://github.com/sahlberg/libiscsi
Tag: role::shared-lib
Download-Size: 65.4 kB
APT-Manual-Installed: yes
APT-Sources: http://mirror.hetzner.de/debian/packages buster/main amd64 Packages
Description: iSCSI client shared library
Libiscsi is a clientside library to implement the iSCSI protocol
that can be used to access resource of an iSCSI Target.
.
The library is fully async with regards to iscsi commands and scsi
tasks, but a sync layer is also provided for ease of use for simpler
applications.
.
This package contains the library itself.


# ldd /usr/bin/qemu-img
linux-vdso.so.1 (0x00007ffcfebeb000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007faf28baa000)
libaio.so.1 => /lib/x86_64-linux-gnu/libaio.so.1 (0x00007faf289a8000)
libiscsi.so.7 => /usr/lib/x86_64-linux-gnu/libiscsi.so.7 (0x00007faf28782000)
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007faf286f4000)
librbd.so.1 => /usr/lib/x86_64-linux-gnu/librbd.so.1 (0x00007faf283b3000)
librados.so.2 => /usr/lib/x86_64-linux-gnu/librados.so.2 (0x00007faf28243000)
libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007faf28038000)
libgfapi.so.0 => /usr/lib/x86_64-linux-gnu/libgfapi.so.0 (0x00007faf28009000)
libglusterfs.so.0 => /usr/lib/x86_64-linux-gnu/libglusterfs.so.0 (0x00007faf27efb000)
libgfrpc.so.0 => /usr/lib/x86_64-linux-gnu/libgfrpc.so.0 (0x00007faf27edd000)
libgfxdr.so.0 => /usr/lib/x86_64-linux-gnu/libgfxdr.so.0 (0x00007faf27ebd000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007faf27eb4000)
libjemalloc.so.2 => /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 (0x00007faf27bf3000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007faf27bee000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007faf27acf000)
libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007faf27a97000)
libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007faf278eb000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007faf278e1000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007faf278da000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007faf27756000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faf275d3000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faf275b9000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007faf27598000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf273d7000)
libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007faf273ad000)
libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007faf2738e000)
librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007faf27171000)
libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1 (0x00007faf27143000)
libpsl.so.5 => /usr/lib/x86_64-linux-gnu/libpsl.so.5 (0x00007faf27130000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007faf270e3000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007faf27001000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007faf26fcd000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007faf26fc7000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007faf26f73000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007faf26f62000)
libceph-common.so.0 => /usr/lib/x86_64-linux-gnu/ceph/libceph-common.so.0 (0x00007faf1e498000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007faf1e493000)
libboost_system.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0 (0x00007faf1e48c000)
/lib64/ld-linux-x86-64.so.2 (0x00007faf28f9d000)
libboost_thread.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.67.0 (0x00007faf1e460000)
libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007faf1e25b000)
libtirpc.so.3 => /lib/x86_64-linux-gnu/libtirpc.so.3 (0x00007faf1e225000)
libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007faf1df3c000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007faf1dec8000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007faf1dd99000)
libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2 (0x00007faf1dc15000)
libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007faf1da00000)
libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007faf1d9c7000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007faf1d944000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007faf1d826000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007faf1d817000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007faf1d80e000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007faf1d7f4000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007faf1d7d7000)
libboost_regex.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.67.0 (0x00007faf1d6c2000)
libboost_iostreams.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.67.0 (0x00007faf1d6a4000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007faf1d64d000)
libsmime3.so => /usr/lib/x86_64-linux-gnu/libsmime3.so (0x00007faf1d61e000)
libnss3.so => /usr/lib/x86_64-linux-gnu/libnss3.so (0x00007faf1d4d0000)
libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007faf1d48f000)
libibverbs.so.1 => /usr/lib/x86_64-linux-gnu/libibverbs.so.1 (0x00007faf1d474000)
libboost_atomic.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.67.0 (0x00007faf1d46d000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007faf1d463000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007faf1d440000)
libicudata.so.63 => /usr/lib/x86_64-linux-gnu/libicudata.so.63 (0x00007faf1ba50000)
libicui18n.so.63 => /usr/lib/x86_64-linux-gnu/libicui18n.so.63 (0x00007faf1b775000)
libicuuc.so.63 => /usr/lib/x86_64-linux-gnu/libicuuc.so.63 (0x00007faf1b5a4000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007faf1b591000)
libnssutil3.so => /usr/lib/x86_64-linux-gnu/libnssutil3.so (0x00007faf1b55f000)
libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x00007faf1b558000)
libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x00007faf1b553000)
libnl-route-3.so.200 => /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200 (0x00007faf1b2d8000)
libnl-3.so.200 => /lib/x86_64-linux-gnu/libnl-3.so.200 (0x00007faf1b0b7000)


# qemu-img -V
qemu-img: symbol lookup error: qemu-img: undefined symbol: iscsi_init_transport
 
what does which qemu-img say? anything non-standard at all about that system?
 
can you try the following command and attach the resulting file "ld_debug.txt"
LD_DEBUG=libs,symbols qemu-img -V 2> ld_debug.txt
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!