Hi,
We stumbled upon what I would call a lack of check.. or a bug ?
You can create a VDI of a VM in an ISO shared SR...
We did it unexpectedly.
.rpc("disk.create", {
name,
size,
sr,
vm: vm.id,
bootable: false,
mode: "RW",
})
disk.create name=<string> size=<integer|string> sr=<string> [vm=<string>] [bootable=<boolean>] [mode=<string>] [position=<string>]
create a new disk on a SR
this is permitted, it should not ?
it was a 50Gb CIFS ISO SR, and we could create a 100GB VDI, appearing as a 100GB .img file in the SR
[image: 1767881811655-69b097b3-9c28-4b97-982a-34443a199bf1-image.png]
[image: 1767881827248-58d0ca02-d1be-4d49-a4bd-c90f3f4fe463-image.png]
totally broken UI
[image: 1767881852362-7ff52851-90b6-4845-90cd-f5190feabcbc-image.png]
in DISK tab of the VM :
[image: 1767881880851-62f582ab-afa7-4c29-bbd6-e83b1a73fab5-image.png]
and it is really an ISO SR !
[image: 1767881925549-66fb75a7-f783-4809-ace9-e83e20722ebd-image.png]
should this not be prevented ?