Adding iSCSI share

sprintership

New Member
Dec 26, 2019
14
0
1
45
Hello, I use freenas iscsi share and looks like that share is recognize as

1577379750663.png

I dont know how to add it, seems like VMWARE detects it automatically
 
Hi,
you need to either create an iscsi or iscsidirect storage with pvesm (or creating an entry in /etc/pve/storage.cfg directly), see here and here. Then you should be able to use the storage in PVE's GUI/tools.
 
Is the card compatible with your motherboard/BIOS and with the installed kernel? Is it connected properly? If your server boots without the card, you can be pretty sure that it is the culprit causing the kernel panic.
 
ok so I have now:

iscsi: freenas
portal 0.0.0.0
target iqn.2005-10.org.freenas.ctl:test-t-2
content none

target I take from freenas: iqn.2005-10.org.freenas.ctl this is my base name and test-t-2 is my target with LUN 2 so target should looks like this:

iqn.2005-10.org.freenas.ctl:test-t-2

still cannot connect
 
Try changing content none to content images. What do
Code:
pvesm status
pvesm list freenas
say afterwards?
 
pvesm status
storage 'freenas' is not online
Name Type Status Total Used Available %
freenas iscsi inactive 0 0 0 0.00%
local dir active 34571888 2093276 30692756 6.05%
local-lvm lvmthin active 79556608 0 79556608 0.00%


pvesm list freenas
storage 'freenas' is not online
 
pvesm status
storage 'freenas' is not online
Name Type Status Total Used Available %
freenas iscsi inactive 0 0 0 0.00%
local dir active 34571888 2093276 30692756 6.05%
local-lvm lvmthin active 79556608 0 79556608 0.00%


pvesm list freenas
storage 'freenas' is not online

This message should only appear when the portal doesn't react to a ping. Just to make sure, portal 0.0.0.0 is not literally what you wrote in the configuration, is it? If you are using a port different from 3260, you'll have to add a :<PORT> after the IP address. Can you ping the host with the ISCSI normally?