Discover new iscsi targets

iscsiadm -m discovery -t st -p [Insert SAN IP] | grep [Insert name of volume]

Login a new iscsi target

iscsiadm -m node -T [Insert initiator name from last command] -l

Logout a new iscsi target

iscsiadm -m node -T [Insert initiator name from last command] -u

 

Post Login

You will need to use fdisk or parted to partition the volume and create a file system out of it. Your team may have a script that takes care of this process already (i.e create_multipath.pl)

You will also need to restart multipathd to apply the changes with ‘service multipathd restart’

Leave a Reply

Your email address will not be published. Required fields are marked *