Open tzago opened 2 months ago
where I can find what is the correct volumeHandle UID to use?
I ended up using synoiscsiwebapi lun list
on my synology box, the uuid
is what to use as the volumeHandle
. I was able to match it using the name
field.
I can't see how to get this info in the synology web ui.
Referencing these issues #88 and #84 as they are somehow similar to my use case here which is how to figure out the VolumeHandle which is not present in DSM. My case is a Synology NAS migration from Snynology02 to new Synology01 box. I used the Hyper Backup to back up luns from one synology nas to another. All luns were backuped successfully although I noted that the backupd luns ISCSI IQN target got the same name as the LUN which starts with k8s-csi-pvc- While I noticed that the correct Target IQN name must start with iqn.2000-01.com.synology:x.pvc- where x in my case is my Synology Hostname.
I confirm that my cloned Lun on my new synology works fine while mounting it from the command line on my destination host. something like
sudo iscsiadm --mode node --targetname iqn.2000-01.com.synology:Synology01.pvc-xxxxxx-yyyy-zzzz-wwww-ea0db6860e76 --portal 192.168.0.1:3260,0 --login
But whenever I try to create a PV and PVC and use it on a new POD I getI am assuming here that what I am really missing to understand is how we can figure out what is the volumeHandle that I must set in my PV to correctly correlate it to my Cloned LUN in my new Synology which I already proved it is working via iscsiadm via cli.
In short, what is the correlation of volumeHandle and the Synology ISCSI IQN target and where I can find what is the correct volumeHandle UID to use?
This is how I am am creating my PV with main goal of having it attaching to my cloned LUN in my new Synology box.