Linux/iSCSI: Difference between revisions
< Linux
(Die Seite wurde neu angelegt: „* http://ubuntuforums.org/showthread.php?t=1738888 * http://www.heise.de/netze/artikel/Linux-als-iSCSI-Target-223904.html * http://manpages.ubuntu.com/manpages…“) |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Linux Server (="target") == | |||
* install tgt | |||
<blockquote> | |||
<pre> | |||
apt-get install tgt open-iscsi | |||
</pre> | |||
</blockquote> | |||
* /etc/tgt/targets.conf | |||
<blockquote> | |||
<pre> | |||
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> | |||
</pre> | |||
</blockquote> | |||
* test targets | |||
<blockquote> | |||
<pre> | |||
iscsiadm -m discovery -tst -p localhost | |||
</pre> | |||
</blockquote> | |||
== 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 == | |||
* http://ubuntuforums.org/showthread.php?t=1738888 | * http://ubuntuforums.org/showthread.php?t=1738888 | ||
* http://www.heise.de/netze/artikel/Linux-als-iSCSI-Target-223904.html | * http://www.heise.de/netze/artikel/Linux-als-iSCSI-Target-223904.html | ||
Line 6: | Line 47: | ||
* http://kmaiti.blogspot.de/2011/05/setup-iscsi-target-using-tgtadm-in-red.html | * http://kmaiti.blogspot.de/2011/05/setup-iscsi-target-using-tgtadm-in-red.html | ||
* http://manpages.ubuntu.com/manpages/precise/man8/tgtadm.8.html | * http://manpages.ubuntu.com/manpages/precise/man8/tgtadm.8.html | ||
[[Category:Linux/Network]] | |||
[[Category:Linux]] |
Latest revision as of 13:55, 1 April 2017
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
- http://ubuntuforums.org/showthread.php?t=1738888
- http://www.heise.de/netze/artikel/Linux-als-iSCSI-Target-223904.html
- http://manpages.ubuntu.com/manpages/precise/man1/istgtcontrol.1.html
- http://manpages.ubuntu.com/manpages/intrepid/man5/ietd.conf.5.html
- http://unix.stackexchange.com/questions/15168/find-scsi-device-ids-under-linux
- http://kmaiti.blogspot.de/2011/05/setup-iscsi-target-using-tgtadm-in-red.html
- http://manpages.ubuntu.com/manpages/precise/man8/tgtadm.8.html