This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
storage:iscsi [2017/09/27 17:35] frank |
storage:iscsi [2018/05/03 17:03] (current) frank |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== iSCSI client ==== | ==== iSCSI client ==== | ||
=== install iscsi-initiator-utils === | === install iscsi-initiator-utils === | ||
+ | # yum install iscsi-initiator-utils | ||
=== iscsiadm command === | === iscsiadm command === | ||
<code> | <code> | ||
Line 24: | Line 25: | ||
list iSCSI disks | list iSCSI disks | ||
# lsblk | # lsblk | ||
+ | |||
+ | Turn on SCSI/iSCSI error handling lgos | ||
+ | echo -n 1 > /sys/module/libiscsi/parameters/debug_libiscsi_eh | ||
+ | echo -n 0xff > /sys/module/scsi_mod/parameters/scsi_logging_level | ||
+ | |||
+ | Or | ||
+ | scsi_logging_level -s --error 7 --timeout 7 --all 0 | ||
</code> | </code> | ||
- | ==== targetcli -RHEL7/CentOS7 ==== | + | ==== targetcli ==== |
http://linux-iscsi.org/wiki/Targetcli | http://linux-iscsi.org/wiki/Targetcli | ||
Line 35: | Line 43: | ||
=== installation === | === installation === | ||
+ | * RHEL7/CentOS7 | ||
<code> | <code> |