I attached an iSCSI Target to my node
Created LVM from it
They are shared between my 3 Proxmox nodes
I cloned a VM from NFS to this LVM over iSCSI
It took qcow2 as the format.
I tried some API GET queries to fetch the disk info
The VM is on n1
Ran the same query to n2
Then I converted them to RAW and it works for the same query to all nodes
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_storage_types
From this I see for block storage "Allows to store large raw images. "
I was concerned that we allowed to create qcow2 but we don't support it?
Created LVM from it
They are shared between my 3 Proxmox nodes
I cloned a VM from NFS to this LVM over iSCSI
It took qcow2 as the format.
I tried some API GET queries to fetch the disk info
The VM is on n1
Code:
curl -k -H 'Authorization: PVEAPIToken=<token>' "https://<ip>:8006/api2/json/nodes/pve-n1/storage/iSCSI-VM-Storage/content/iSCSI-VM-Storage:vm-104-disk-0.qcow2"
{
"data": {
"used": 0,
"path": "/dev/iscsi_vg_01/vm-104-disk-0.qcow2",
"format": "qcow2",
"size": 53687091200
}
}
Ran the same query to n2
Code:
curl -k -H 'Authorization: PVEAPIToken=<token>' "https://<ip>:8006/api2/json/nodes/pve-n2/storage/iSCSI-VM-Storage/content/iSCSI-VM-Storage:vm-104-disk-0.qcow2"
{
"data": null,
"message": "volume_size_info on 'iSCSI-VM-Storage:vm-104-disk-0.qcow2' failed - no format\n"
}
Then I converted them to RAW and it works for the same query to all nodes
Code:
{
"data": {
"format": "raw",
"size": 53699674112,
"used": 0,
"path": "/dev/iscsi_vg_01/vm-104-disk-0"
}
}
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_storage_types
From this I see for block storage "Allows to store large raw images. "
I was concerned that we allowed to create qcow2 but we don't support it?
