Can't clone VM on iscsi

senior.irishman

New Member
Jan 11, 2024
3
0
1
Hello. I have proxmox ve. And connected synology with iscsi, and I can create new vm on that storage, bit I can't clone VM on that storage:
----------------------
"Task viewer: VM 100 - Clone
OutputStatus
StopDownload
create full clone of drive scsi0 (local-lvm:base-100-disk-0)
TASK ERROR: clone failed: can't allocate space in iscsi storage"
---------------------------
I think reason is on usage space, because pve node can't read usage (N/A) space on lun.
How fix it? I want just clone many VM...
 

Attachments

  • 1705001352116.png
    1705001352116.png
    85 KB · Views: 4
The clone operation does the following steps at high level:
a) create new disk on the target storage of identical size as the source
b) copy the data
c) clean up

As the error says, the native iSCSI storage plugin is not capable of creating/deleting/snapshotting/etc of the storage. You pre-create the LUNs directly and assign them to VMs for OS usage.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
The clone operation does the following steps at high level:
a) create new disk on the target storage of identical size as the source
b) copy the data
c) clean up

As the error says, the native iSCSI storage plugin is not capable of creating/deleting/snapshotting/etc of the storage. You pre-create the LUNs directly and assign them to VMs for OS usage.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
I have only one disk in iscsi storage- 4.4 Tb. I need create each disk on synology for each VM manually? Proxmox VE can't provision new disk in iscsi volume?
 
I have only one disk in iscsi storage- 4.4 Tb.
And you are using it as direct LUN? without LVM, correct?
I need create each disk on synology for each VM manually?
PVE can only provision VM disks (images in PVE speak) on subset of backend storage types. I.e. ZFS, LVM, Ceph, Blockbridge, ZFS/iSCSI.
in pure iSCSI there is no command set that would tell backend storage, whatever it may be, to allocate a LUN - its not part of the protocol.

Even if you provision a Lun per VM, you still wont be able to clone between them (I think). The "image" on target storage must not exist.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
>>
And you are using it as direct LUN? without LVM, correct?

PVE can only provision VM disks (images in PVE speak) on subset of backend storage types. I.e. ZFS, LVM, Ceph, Blockbridge, ZFS/iSCSI.
in pure iSCSI there is no command set that would tell backend storage, whatever it may be, to allocate a LUN - its not part of the protocol.

Even if you provision a Lun per VM, you still wont be able to clone between them (I think). The "image" on target storage must not exist.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
>>And you are using it as direct LUN? without LVM, correct?
yes, i Use direct lun.
I need create lvm/zfs and use that storage type for VM disks?
 
I need create lvm/zfs and use that storage type for VM disks?
if you want a finer control over storage, then yes you need to use some sort of Volume Manager.
Keep in mind that ZFS is not compatible with shared storage.
Only LVM thick is compatible with shared storage and Snapshots are not supported.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!