1.discovery target (storage) from inititator(client)
iscsiadm --mode discoverydb --type sendtargets --portal 192.168.0.200 --discover
2.this will authenticate with target server and allow us to log-in into LUN.
# iscsiadm --mode node --targetname iqn.2014-07.com.tecmint:tgt1 --portal 192.168.0.200:3260 --login
3.Use the login command and replace login with logout at end of command.
# iscsiadm --mode node --targetname iqn.2014-07.com.tecmint:tgt1 --portal 192.168.0.200:3260 --logout
4.After login to the LUN, list the records of Node using.
# iscsiadm --mode node
5. Display all data of a particular node.
# iscsiadm --mode node --targetname iqn.2014-07.com.tecmint:tgt1 --portal 192.168.0.200:3260
No comments:
Post a Comment