I suggest 2 changes,
1- name of storage in parameters of your script
2- In block storage, probably /dev/ + namestorage + diskname is fine.. I'm novice in proxmox, in my case work: /dev/zfs-sas/vm-101-disk-0
zfs-sas is name of my storage and vm-101-disk-0 is name of disk (your script already...