On 02/06/2013 01:34 PM, David Hostetler wrote: > Having a quirky problem. I have a small iSCSI SAN I am trying to set up > with 3 boxes. A filer head and 2 cluster nodes as initiators. > > Now mind you the data below has been sanitized for names, IPs and paths, > but the idea should be obvious... > > LAN range of 192.168.0.0/24 > SAN range of 192.168.1.0/24 > > SAN is dual gigabit NICs in ethernet channel bonding configuration. > > On the target / filer head I have the /etc/tgt/targets.conf configured > thusly. > > <target iqn.2013-02.com.example:target0> > backing-store /dev/ISCSI_VG/ISCSI_QUORUM_LV > initiator-address 192.168.1.3 > initiator-address 192.168.1.4 > incominguser username password > </target> > > I restart tgtd and do the --mode show and it all shows up right, and I > can login and access it from the initiators just fine. BUT when I add a > second LUN thusly... > > <target iqn.2013-02.com.example:target0> > backing-store /dev/ISCSI_VG/ISCSI_QUORUM_LV > backing-store /dev/ISCSI_VG/ISCSI_DATA_LV > initiator-address 192.168.1.3 > initiator-address 192.168.1.4 > incominguser username password > </target> > > I restart tgtd, and none of the disk devices show up. I reboot the > target server, and then the disk devices, both show up. However at this > point, NEITHER of the LUNs show up on the initiators after logging back > in...
So one of the luns (the one for ISCSI_QUORUM_LV) shows up on the initiator side initially, but when you reboot the target after adding a lun for ISCSI_DATA_LV it disappears on the initiator side? The initiator side does not delete luns unless you run the logout command. It just adds them (it uses the scsi layer scan interface and it just supports addition). Do you run the iscsiadm command to logout then login again? If you stay logged in the entire time, and if you do iscsiadm -m session --rescan do you see the luns show up? Can you send the /var/log/messages for the initiator side? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
