Using VE 9.2.3 in a distributed FC shared storage environment (LVM shared LUN with snapshot as a chain set to 1), taking snapshots of a VM (manually or via PBS) works fine. However, the API to perform a volume copy (task a snapshot of an individual disc) seems to be either not implemented at all or doesn't execute the necessary steps. I am fully aware this is an experimental API.
Steps to reproduce:
```
DEBUG: starting worker UPID:node1:001D91CC:0FF57329:6A54C460:imgcopy::root@pam:
DEBUG: end worker UPID:node1:001D91CC:0FF57329:6A54C460:imgcopy::root@pam:
TASK OK
```
and it takes no time at all.
So my question is, what is the status of the "copy volume" API, even though its still experimental, should it actually do something at the moment or is it a stub?
Thank you.
Steps to reproduce:
- pvesh create /nodes/node1/storage/Test/content --vmid 9999 --filename vm-9999-manualtest.qcow2 --size 1G
- pvesm list Test -> `Test:vm-9999-manualtest.qcow2 qcow2 images 1073741824 9999`
- qemu-img info /dev/Test/vm-9999-manualtest.qcow2 --backing-chain:
`
image: /dev/Test/vm-9999-manualtest.qcow2
file format: qcow2
virtual size: 1 GiB (1073741824 bytes)
disk size: 0 B
cluster_size: 65536
Format specific information:
compat: 1.1
compression type: zlib
lazy refcounts: false
refcount bits: 16
corrupt: false
extended l2: false
Child node '/file':
filename: /dev/Test/vm-9999-manualtest.qcow2
protocol type: host_device
file length: 1 GiB (1077936128 bytes)
disk size: 0 B
` - pvesh create /nodes/node1/storage/Test/content/vm-9999-manualtest.qcow2 --target vm-9999-snap-manualtest.qcow2
- observe a task to be created and executed without errors.
- pvesm list Test -> doesn't show the new target volume, same for qemu-img info or lvscan. it simply didn't get created.
```
DEBUG: starting worker UPID:node1:001D91CC:0FF57329:6A54C460:imgcopy::root@pam:
DEBUG: end worker UPID:node1:001D91CC:0FF57329:6A54C460:imgcopy::root@pam:
TASK OK
```
and it takes no time at all.
So my question is, what is the status of the "copy volume" API, even though its still experimental, should it actually do something at the moment or is it a stub?
Thank you.