Rebooted iSCSI target and now VM's are not starting

eliassys

New Member
Dec 6, 2018
3
0
1
36
Basically, the title says it all. We rebooted our NAS, but now, the VMs that were stored on there are not able to restart. This is the error we get.

iscsiadm: No portals found
command '/usr/bin/iscsiadm --mode discovery --type sendtargets --portal 1XX.1XX.9.1XX' failed: exit code 21
iscsiadm: Could not login to [iface: default, target: iqn.2019-05.com.website.turing20:storage, portal: 1XX.1XX.9.1XX,3260].
iscsiadm: initiator reported error (19 - encountered non-retryable iSCSI login failure)
iscsiadm: Could not log into all portals
Logging in to [iface: default, target: iqn.2019-05.com.website.turing20:storage, portal: 1XX.1XX.9.1XX,3260] (multiple)
command '/usr/bin/iscsiadm --mode node --targetname iqn.2019-05.com.website.turing20:storage --login' failed: exit code 19
Volume group "turing20" not found
TASK ERROR: can't activate LV '/dev/turing20/vm-223-disk-0': Cannot process volume group turing20

We tried rebooting our nodes but that didn't help either. Also, I should add that Proxmox is no longer recognizing our iSCSI target, and is showing 0 B, when it is in fact 10 TB.

Any suggestions?

Thanks.
 
Last edited:
It seems that whenever tgt is restarted, my lun is removed. Why is that happening? Any help out there?