Chinaunix

标题: Install iSCSI target for Linux with kernel 2.6.14 [打印本页]

作者: coolend    时间: 2006-01-05 15:05
标题: Install iSCSI target for Linux with kernel 2.6.14

               
               
               
                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
               
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6542/showart_65559.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2