Linux/iSCSI

From Wiki
< Linux
Revision as of 11:09, 10 March 2013 by Marcluer (talk | contribs)

Linux Server (="target")

  • install tgt
apt-get install tgt open-iscsi
  • /etc/tgt/targets.conf
default-driver iscsi

<target iqn.2036-12.vm-host:dvdrw>
    <backing-store /dev/sg4>                     # dvd-writer
	bs-type sg
	device-type pt
	lun 1
	# initiator-address ALL
    </backing-store>
</target>
  • test targets
iscsiadm -m discovery -tst -p localhost


Windows Client (="initiator")

  • Windows 7
  • "Control Panel(Systemsteuerung)" -> "Administrative Tools(Verwaltung)" -> "iSCSI-Initiator"
  • "Discovery(Suche)" -> "Portal ermitteln"
  • "Targets(Ziele)" -> "Refresh(Aktualisieren)" -> "Connect(Verbinden)"
  • "Volumes and Devices"


Links