Sharing Knowledge | System Admin Articles

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
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 :)

Labels: Linux, Quick HOWTO

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

2 Comments for "Quick HOWTO : Connecting an iSCSI storage to a Linux Server"

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

Thank you,

iscsiadm -m discovery -t sendtargets -p

This will do.

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

Back To Top