The summary: I want to use a drive in my server on my laptop employing iSCSI. Everything appears to work, but the drive doesn't show up!
Here's the setup: A homeserver (192.168.1.2/24) running Ubuntu Server Maverick Meerkat and a Laptop (192.168.1.x/24) running Ubuntu Desktop Maverick Meerkat. They are connected through Gigabit Ethernet with a Netgear Router.
The Server has a BluRay-Drive (/dev/scd0) I want to use on the Laptop via iSCSI. I have configured both computers acccording to http://www.howtoforge.com/using-iscsi-on-ubuntu-10.04-initiator-and-target.
The Server uses the package iscsitarget with the following configuration:
1. /etc/default/iscsitarget says
2. /etc/iet/ietd.conf contains
3. /etc/iet/initiators.allow lists
#lines and lines of comments
Lun 0 Path=/dev/scd0,Type=blockio
4. /etc/iet/targets.allow lists
After installing the package open-iscsi on the laptop I have changed /etc/iscsi/iscsid.conf to say
#even moar comments
I have then run
node.startup = automatic
iscsiadm -m discovery -t st -p 192.168.1.2
If I run
iscsiadm -m node --login -T iqn.2015-12.loc.appelserv:optdisc
which makes sense, since it should log in to targets automatically, and tells me that a connection exits.
Logging in to [iface: default, target: iqn.2015-12.loc.appelserv:optdisc, portal: 192.168.1.2,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2015-12.loc.appelserv:optdisc, portal: 192.168.1.2,3260]:
iscsiadm: initiator reported error (15 - already exists)
So here's the problem (finally ):
After doing alll that and apparently connecting to the target, it is my understanding that I should now see the Drive somewhere...probably in /dev. I don't. Neither does it appear anywhere else I thought to look.
So, If anyone could tell me where else to look or what could be wrong with my configuration or where to read up on the topic of optical drives and iSCSI, I'd be very thankful!
Thank you in advance,