How to add an iSCSI target dynamically without restarting the service

Written by Mike Young on March 12, 2009 – 6:40 pm -

Sometimes it’s necessary to add a new target but without interrupting other running targets, which happens when you run /etc/init.d/iscsitarget restart.

To do this, you’ll need to first add the new iSCSI target using UI or commandline tools. Using the UI should add the target to the /etc/ietd.conf configuration file.

Let’s say you add a configuration as follows:

To create a new iSCSI target with a LUN, first update your configuration file. The additional entry could be:

Target iqn.2006-02.com.example.iserv:system2
Lun 0 Path=/dev/mapper/system-swap2

To set up this configuration dynamically, proceed as follows:

  1. Create a new target with the command ietadm –op new –tid=2 –params Name=iqn.2006-02.com.example.iserv:system2.

  2. Add a logical unit with ietadm –op new –tid=2 –lun=0 –params Path=/dev/mapper/system-swap2.

  3. Check the configuration with cat /proc/net/iet/volume.

Configuring LDAP and ADS from UI

July 17, 2008 – 10:11 am

Note: First configure LDAP server and client from “yast”. To configure LDAP server and client, please refer to document “LDAP configuration from yast”. LDAP configuration from UI In the UI “services page”, ...

LDAP Configuration from YAST

July 17, 2008 – 10:10 am

Configuration of LDAP server Under Network Services option, select the LDAP Server. LDAP Server Configuration will be displayed, where we need to select the “Yes” option for “Start LDAP Server” and then ...

HOWTO Install Fully Virtualized Windows Hosts in Xen

April 18, 2008 – 12:31 pm

This document explains and provides the steps needed to install a fully-virtualized Windows host in a Xen virtualization domain. In addition to installing Windows 2003 in this example, we ...

Can’t Log Into The Web UI

April 7, 2008 – 9:55 am

When accessing the Web Interface, there are some occasions when an administrator may not be able to successfully log in. After entering the username and password, the following screen may ...

Reconfiguring NICs

April 7, 2008 – 9:46 am

When reconfiguring network interfaces, there are certain conventions, which can be used to make life a little easier. One method, if you have root privileges, is to ssh into the ...

ES320 and NIC Ordering

April 7, 2008 – 9:06 am

When viewing the ES320 from the rear, you'll notice a total of 8 network interfaces, two laid down on the motherboard and oriented horizontally, and the other six oriented vertically. ...

Public File Share

October 12, 2007 – 7:53 am

By default, all ES3xx servers are enabled with a Windows file share titled Public. This folder is intended as a guest accessible network folder for sharing of information across an ...

Adding New Users

October 12, 2007 – 7:50 am

Adding new users to an ES3xx server is quite easy. We like to recommend that the command line interface be used simply due to the flexible controls offered. But this ...

Why Do We Need a Quicktime Streaming Server

October 2, 2007 – 5:17 pm

Q: I have been asked why we need to have a Video Streaming Server built into our products. After all, our competitors don't have such a thing. Can't a file ...

Want to subscribe?

Enter your email address:

Delivered by FeedBurner

Find entries :