iscsiadm command returns error 'no records found'
Hi there, I'm currently working on an exercise to connect to a Windows iscsi target via a Red Hat initiator machine. I'm using Windows Server 2012 and Red Hate Enterprise Linux v7.1
I have created the target on the Windows Server box and the two devices can communicate with eachother. My instructions from the Red Hat machine are as follows;
- Open a terminal window and enter the following command;
iscsiadm --mode discovery --type sendtargets --portal 192.168.1.200
[I first did this and the command returned nothing. I then invoked the sudo command and was able to get the target iqn, which is "iqn-1991-05.com.microsoft:srv2012-1-localservers-target"]
- My next steps are to enter the following;
iscsiadm --mode node --targetname the_target_iqn --portal 192.168.1.200 --login
[Unfortunately this just returns 'no records found']
I'm not exactly sure what I'm doing wrong. I have followed the instructions and made sure to check all the spacing and syntax. Although, it appears something isn't right.
Does anybody have any ideas?
Thanks