Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Summary

This article describes how to connect a Linux host to a StorSimple storage array and then mount a volume.

Note To connect from a Linux host to StorSimple devices, you must use the Open-iSCSI initiator.

Method

On the Linux host

  1. Make sure that the iSCSI utilities are installed.

    • To check whether they are installed, run the rpm -q iSCSI-initiator-utils command.

    • If the iSCSI utilities are not installed, install them by using the yum install iSCSI-initiator-utils command.

  2. Find the iSCSI initiator name of the Linux host. To do this, run the cat /etc/iSCSI/initiatorname.iscsi command.

On the StorSimple appliance

  1. Create an Access Control Record (ACR) by using the iSCSI initiator name of the Linux host. For more information about the instructions for creating an ACR, visit this website.

  2. Create a new volume, and then grant permissions to the volume to the ACR for the Linux host. For more information about the instructions for creating a volume, visit this website.

On the Linux host

  1. Perform discovery on the IP address of a data interface on the StorSimple device. To do this, run the iscsiadm -m discovery -t sendtargets -p xx.xx.xx.xx command.
    Note Replace the xx.xx.xx.xx placeholder in the previous example with your StorSimple data interface IP.

  2. Restart the iSCSI service by using the /etc/init.d/iSCSI restart command.

  3. Confirm that the StorSimple volume is visible, and then find the name of the volume. To do this, use one of the following commands:

    • fdisk -l | grep /dev

    • tail -f /var/logs/messages

  4. Create a file system on the volume. For example, run the mkfs -t ext3 /dev/sdc command.

  5. Mount the volume. For example, run the mkdir /data1 command or the mount /dev/sdc/data1 command.

Other Linux iSCSI Commands

Check current iSCSI sessions

iscsiadm -m session -P 1 

Log on to an iSCSI target

iscsiadm -m node -login < TARGET IP > 

Log off from an iSCSI target

iscsiadm -m node -logout < TARGET IP > 

Delete an iSCSI target

iscsiadm -m node -o delete < TARGET IP > 

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×