Search form

Main menu

You are here

240 - iSCSI on Linux Server

admin - Fri, 07/20/2012 - 16:04

Internet SCSI (iSCSI) is a network protocol s that allows you to use of the SCSI protocol over TCP/IP networks. It is an alternative to Fibre Channel-based SANs, easily manage, mount and format iSCSI Volume under Linux. It allows getting access to a SAN storage over the Ethernet network.

* iSCSI target (server)

Storage resource located on an iSCSI server known as a "target". An iSCSI target usually represents nothing but hard disk storage. As with initiators, software to provide an iSCSI target is available for most mainstream operating systems.

* iSCSI initiator (client)

An initiator functions as an iSCSI client. An initiator typically serves the same purpose to a computer as a SCSI bus adapter would, except that instead of physically cabling SCSI devices (like hard drives and tape changers), an iSCSI initiator sends SCSI commands over an IP network.

1. Install packeges

* iSCSI target

# yum install scsi-target-utils (if you can not, you need to download from rpm)

Solution: Change the ‘defaults’ for the iSCSI mounts to use the ‘_netdev’ identifier (‘_netdev’ = file system resides on a device that requires network access [used to prevent the system from attempting to mount these file systems until the network has been enabled on the system] ). RHEL will not attempt to mount these drive paths until both the network connections have been done and that the iSCSI daemon is running.