Iscsi: Difference between revisions

From DWIKI
mNo edit summary
Line 16: Line 16:


=FAQ=
=FAQ=
==Reload tgtd==
tgt-admin --update ALL
==Show tgdt config==
tgt-admin --dump
==List targets==
iscsiadm -m discovery -t sendtargets -p 192.168.100.32
==Connect to target==
==Connect to target==
  iscsiadm -m node --targetname="iqn.2018-5.mynet:drbd0" --portal "192.168.100.32" --login
  iscsiadm -m node --targetname="iqn.2018-5.mynet:drbd0" --portal "192.168.100.32" --login

Revision as of 12:31, 15 June 2018

Deamonns:

  • tgtd (used by ocf:heartbeat:iSCSITarget)
  • iscsid


Links


ISCSI client

iscsi_discovery 192.168.100.32

FAQ

Reload tgtd

tgt-admin --update ALL

Show tgdt config

tgt-admin --dump

List targets

iscsiadm -m discovery -t sendtargets -p 192.168.100.32

Connect to target

iscsiadm -m node --targetname="iqn.2018-5.mynet:drbd0" --portal "192.168.100.32" --login

Disconnect from target

iscsiadm -m node -T iqn.2018-5.mynet:drbd0 -p 192.168.100.32 -u