Difference between revisions of "ISCSI on Debian"

From HoerupWiki
Jump to: navigation, search
Line 14: Line 14:
 
derefter en restart :
 
derefter en restart :
 
  /etc/init.d/open-iscsi restart
 
  /etc/init.d/open-iscsi restart
 +
 +
Discover LUN:
 +
root@testbox:~# iscsiadm -m discovery -t st -p 192.168.8.31
 +
Output :  192.168.8.31:3260,1 iqn.2004-04.com.qnap:ts-239:iscsi.qnap1.8d8976

Revision as of 11:45, 22 February 2013

af Tommy, feb 2013.

Fra : http://www.howtoforge.com/using-iscsi-on-debian-lenny-initiator-and-target

Korte noter:

apt-get install open-iscsi

Edit /etc/iscsi/iscsid.conf

...
node.startup = automatic
...

derefter en restart :

/etc/init.d/open-iscsi restart

Discover LUN:

root@testbox:~# iscsiadm -m discovery -t st -p 192.168.8.31

Output : 192.168.8.31:3260,1 iqn.2004-04.com.qnap:ts-239:iscsi.qnap1.8d8976