Linux Tips

iscsi

brief open-iscsi target set up.

install open-iscsi, make sure support is available in kernel, and start any iscsi services.

then the following:

iscsiadm -m discovery -t st -p IP_ADDRESS
iscsiadm -m node
iscsiadm -m node -T IQN_FROM_ABOVE -p IP_ADDRESS:PORT --login

should give you some output on dmesg or fdisk -l

to disconnect the drive, umount first then:

iscsiadm -m node -T IQN_FROM_ABOVE -p IP_ADDRESS:PORT --logout
Back to top
ubuntu/iscsi.txt · Last modified: 2009/06/08 16:40 (external edit)