Hello everybody!
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
Code:
ISCSITARGET_ENABLE=true
2. /etc/iet/ietd.conf contains
Code:
#lines and lines of comments
Target iqn.2015-12.loc.appelserv:optdisc
Lun 0 Path=/dev/scd0,Type=blockio
3. /etc/iet/initiators.allow lists
Code:
#more comments
iqn.2015-12.loc.appelserv:optdisc 192.168.1.0/24
4. /etc/iet/targets.allow lists
Code:
#even moar comments
ALL ALL
After installing the package open-iscsi on the laptop I have changed /etc/iscsi/iscsid.conf to say
Code:
#stuff
node.startup = automatic
#more stuff
I have then run
Code:
iscsiadm -m discovery -t st -p 192.168.1.2
which returned
Code:
192.168.1.2:3260,1 iqn.2015-12.loc.appelserv:optdisc
Running
equally returns
Code:
192.168.1.2:3260,1 iqn.2015-12.loc.appelserv:optdisc
If I run
Code:
iscsiadm -m node --login -T iqn.2015-12.loc.appelserv:optdisc
I get
Code:
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)
which makes sense, since it should log in to targets automatically, and tells me that a connection exits.
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,
Jesko
Bookmarks