Difference between revisions of "ISCSI"

From Teknologisk videncenter
Jump to: navigation, search
m (RedHat Centos as iSCSI initiator)
m (RedHat Centos as iSCSI initiator)
Line 9: Line 9:
 
/etc/init.d/iscsi restart
 
/etc/init.d/iscsi restart
 
fdisk -l
 
fdisk -l
 +
</pre>
 +
=== Hints ===
 +
To see the lines in /etc/iscsi/iscsid.conf which are not comments or empty lines
 +
<pre>
 +
grep -v -E  '^#|^$' /etc/iscsi/iscsid.conf
 
</pre>
 
</pre>

Revision as of 08:52, 1 April 2009

For an explanation of iSCSI see Wikipedias iSCSI

RedHat Centos as iSCSI initiator

yum install iscsi-initiator-utils
/etc/init.d/iscsi start
iscsiadm -m discovery -t sendtargets -p 192.168.22.111
/etc/init.d/iscsi restart
fdisk -l

Hints

To see the lines in /etc/iscsi/iscsid.conf which are not comments or empty lines

grep -v -E  '^#|^$' /etc/iscsi/iscsid.conf