Configure Linux iSCSI Initiator
Provided that you’ve got access to the Liquid web SAN you’ll ought to got wind of your iSCSI instigator in order that you’ll access your volume. browse on to seek out out however.
When you receive your welcome email that contains your SAN credentials you ought to be more-or-less able to begin. The primary issue we want to try to to is install the iSCSI instigator utilities:
One of the files that put in by the on top of command is that the configuration file for the iscsid service. The default settings within the file square measure fairly reliable. However so as to attach to the Liquid net SAN you’ll would like a touch additional info. Within the interest of constructing this as easy as attainable let’s keep a copy the initial configuration before we tend to proceed:
Now you need to create a new /etc/iscsi/iscsid.conf with the following contents:
The vital components square measure the entries that reference “USERNAME” and “PASSWORD” you’ll ought to replace these with the SAN access username and countersign that you just received in your welcome email. Once saving the file you must be able to take off the iscsid service associated do an initial discovery. You’ll ought to replace “SANGROUPIP” within the following commands with the SAN cluster informatics that was enclosed in your welcome email:
The discovery command will return a list of volumes to which your server has access. In order to use them, you’ll need to log into each of them:
Run dmesg and you will see that a new block device was attached. Here is an output example from a test server:
As you’ll be able to see within the second to last line higher than the iSCSI target from the Liquid net SAN has been mere as /dev/sdb. It’s currently prepared for you to partition (to learn additional regarding drive partitioning, see Disk Partitioning With fdisk), format, and use.