10 years ago, the article _iscsi initiator settings

Finding and target,

iscsiadm -m discovery -t sendtargets -p 192.168.1.1:3260

log in

iscsiadmin -m node -l

sign out

iscsiadmin -m node -u

How does the system know that the hard disk is iscsi

Host% d find the directory under / sys / class / iscsi_host, where% d is a number, i.e. host_no

Find obtained by host_no

/ Sys / bus / iscsi / devices /% host_no: 0: x: x files in the directory, there is a file named

block: sd * file is / dev / sd * is the iscsi disk

Guess you like

Origin www.cnblogs.com/hshy/p/10927765.html