Quick HOWTO : Connecting an iSCSI storage to a Linux Server

To connect a Linux Server to an iSCSI storage, Follow the steps

1. Install “iscsi-initiator” RPM Package in the linux server
2. Usually iscsi unique id located in the /etc/iscsi/iscsid.conf. provide this to your storage admin to assign the
    LUN
3. Use the command “iscsiadm -m discovery -t sendtargets -p <iSCSI storage IP>”
4. Then do “service iscsi restart”
5. Now give “fdisk –l”. Now you can able to see the new disk detected in the linux server.
6. create a file system on the disk and mount the same

You are done :)

Share this

Related Posts

Previous
Next Post »

2 comments

Write comments
March 20, 2013 at 11:45 PM delete

How to add secondary iscsi lun without restarting iscsi service. Please let me know.

Thank you,

Reply
avatar
March 21, 2013 at 4:03 PM delete

iscsiadm -m discovery -t sendtargets -p

This will do.

Reply
avatar

What do you think about this Article? Add your Opinion..! EmoticonEmoticon