[SOLVED] Export iscsi disk


New Member
May 11, 2022
Hello Everyone,
What will be syntax to export iscsi lvm disk with qemu-img convert

Here are vm example

qm config 122 agent: 1 bios: ovmf boot: order=scsi0 cores: 4 efidisk0: prod-data00:vm-122-disk-0,efitype=4m,pre-enrolled-keys=1,size=528K memory: 14336 meta: creation-qemu=7.0.0,ctime=1662560397 name: aitosacs01 net0: e1000=82:60:5E:0B:75:53,bridge=vmbr2,tag=555 net1: e1000=9E:DA:77:94:F2:9D,bridge=Vnet5 net2: e1000=12:90:1B:79:66:44,bridge=Vnet6 numa: 1 onboot: 1 ostype: l26 parent: Upgrade_to_F36_15Mar2023 rng0: source=/dev/urandom scsi0: prod-lvm-iscsi:vm-122-disk-0,backup=0,cache=writethrough,size=50G scsi1: prod-data00:vm-122-disk-2,backup=0,cache=writethrough,size=1M scsi2: prod-lvm-iscsi:vm-122-disk-1,backup=0,cache=writethrough,size=30G scsihw: virtio-scsi-pci smbios1: uuid=1dcab252-ce1e-4c8a-a19b-293289758eb7 sockets: 2 tags: prod;sbc unused0: prod-data00:vm-122-disk-1 unused1: prod-data00:vm-122-disk-3 vga: qxl vmgenid: 545c632f-72ad-4d71-ae86-52fce06aacf1

Attempt for command is not working

qemu-img convert -f raw prod-lvm-iscsi:vm-122-disk-0 -O vmdk aitosacs01-disk-0.vmdk
Converting an LVM partition to a disk image should be possible with this command:
qemu-img convert -p /dev/mapper/pve-vm--122--disk--0 -O vmdk disk1.vmdk


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!