ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Install iSCSI target for Linux with kernel 2.6.14(zt)

Install iSCSI target for Linux with kernel 2.6.14(zt)

原创 Linux操作系统 作者:tonykorn97 时间:2007-10-23 00:00:00 0 删除 编辑
1. get the latest source code of iscsitarget

svn export svn://svn.berlios.de/iscsitarget/trunk
[Note]: possibly, you will meet the following error message while compiling with the released souce code (not the newest):

warning: "D_IOV" is not defined


2. install the daemon and kernel module

# cd trunk
# make KERNELSRC=/usr/src/linux-2.6.14.5
# make KERNELSRC=/usr/src/linux-2.6.14.5 install

3. configruation

# vi /etc/ietd.conf

User userid superpassword
Target iqn.2004-09.com.signalq:storage.lvm
Lun 0 /dev/sda1 fileio
Alias lun0

4. start daemon

# /etc/init.d/iscsi-target start

More details please see: http://www.netadmintools.com/art371.html

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-245781/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-05

  • 博文量
    1854
  • 访问量
    2088352