iscsitarget-0.4.18

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:135KB
下载次数:98
上传日期:2010-03-22 15:11:48
上 传 者njustyw
说明:  iscsitarget功能模块,实现将本地磁盘虚拟成iscsi设备
(iscsitarget function modules to achieve a virtual local disk into a iscsi device)

文件列表:
iscsitarget-0.4.18 (0, 2009-07-23)
iscsitarget-0.4.18\COPYING (18010, 2005-11-28)
iscsitarget-0.4.18\ChangeLog (11869, 2008-11-30)
iscsitarget-0.4.18\Makefile (7586, 2008-11-16)
iscsitarget-0.4.18\usr (0, 2009-07-24)
iscsitarget-0.4.18\usr\chap.c (16156, 2005-11-28)
iscsitarget-0.4.18\usr\isns.c (23195, 2008-11-24)
iscsitarget-0.4.18\usr\ctldev.c (8173, 2007-02-26)
iscsitarget-0.4.18\usr\target.c (2618, 2008-06-19)
iscsitarget-0.4.18\usr\ietadm.h (1182, 2008-08-27)
iscsitarget-0.4.18\usr\ietadm.c (17131, 2008-08-27)
iscsitarget-0.4.18\usr\param.c (6397, 2005-11-28)
iscsitarget-0.4.18\usr\session.c (3340, 2005-11-28)
iscsitarget-0.4.18\usr\misc.h (1646, 2008-06-19)
iscsitarget-0.4.18\usr\isns_proto.h (7003, 2006-09-09)
iscsitarget-0.4.18\usr\iscsid.c (18753, 2007-11-27)
iscsitarget-0.4.18\usr\event.c (2767, 2006-01-11)
iscsitarget-0.4.18\usr\conn.c (2813, 2005-11-28)
iscsitarget-0.4.18\usr\config.h (671, 2008-08-27)
iscsitarget-0.4.18\usr\plain.c (13534, 2009-06-23)
iscsitarget-0.4.18\usr\iscsi_hdr.h (4753, 2005-11-28)
iscsitarget-0.4.18\usr\Makefile (399, 2009-06-23)
iscsitarget-0.4.18\usr\param.h (1088, 2005-11-28)
iscsitarget-0.4.18\usr\message.c (4376, 2008-08-27)
iscsitarget-0.4.18\usr\types.h (749, 2005-11-28)
iscsitarget-0.4.18\usr\log.c (2671, 2008-09-05)
iscsitarget-0.4.18\usr\iscsid.h (5445, 2008-06-19)
iscsitarget-0.4.18\usr\disk_info.h (112, 2009-06-23)
iscsitarget-0.4.18\usr\ietd.c (12590, 2008-11-16)
iscsitarget-0.4.18\usr\disk_info.c (2744, 2009-07-27)
iscsitarget-0.4.18\kernel (0, 2009-07-24)
iscsitarget-0.4.18\kernel\nthread.c (15875, 2008-09-28)
iscsitarget-0.4.18\kernel\digest.h (594, 2005-11-28)
iscsitarget-0.4.18\kernel\iotype.h (668, 2007-02-09)
iscsitarget-0.4.18\kernel\iotype.c (1758, 2007-08-20)
iscsitarget-0.4.18\kernel\target.c (5316, 2007-04-24)
iscsitarget-0.4.18\kernel\volume.c (5431, 2008-06-25)
iscsitarget-0.4.18\kernel\param.c (5895, 2007-01-10)
... ...

Introduction ------------- iSCSI Enterprise Target is for building an iSCSI storage system on Linux. It is aimed at developing an iSCSI target satisfying enterprise requirements. We borrow code from an Ardis iSCSI target (with respect to the GPL). Installation ------------- There is no longer a need to manually apply the compatibility patches located under ./patches. The make process will now auto-detect whether these patches need to be applied for your platform and auto-apply the correct ones for you. DO NOT MANUALLY APPLY THESE COMPATIBILITY PATCHES This will cause the auto-patch routine in the Makefile to break badly and it will put the code-base in such a state where you will need to remove it and re-extract the tar ball or run a svn revert to get it to compile properly again. The kernel module requires the kernel source or development package. You may need to recompile your kernel with "Cryptographic API" enabled under "Cryptographic options" in the kernel config if it isn't by default (most kernels have this enabled). If you do need to enable the "Cryptographic API" you will also need to enable "CRC32c CRC algorithm" if you use header or data digests. They are the kernel options, CONFIG_CRYPTO and CONFIG_CRYPTO_CRC32C, respectively. The user-space code requires OpenSSL library (http://www.openssl.org/) and developer headers (usually openssl-devel package). The iSCSI target consists of a kernel module (iscsi_trgt.ko) , daemon (ietd) and control utility (ietadm). Compilation of the kernel module, daemon and control utility should require nothing more than a: make To build individual components: make kernel - to build the kernel modules make usr - to build the daemon and control program If you have multiple kernel sources installed and wish to target the make for a particular source, you would issue: make KSRC= The path can also be set by editing the main Makefile. If KSRC is omitted, make program will try to locate the kernel sources for the current running kernel. Be sure to check whether it finds the right kernel sources. To install everything, use: make [KSRC=] install To install individual components: make [KSRC=] install-kernel - for kernel module make [KSRC=] install-usr - for daemon and utility make [KSRC=] install-init - for init.d script make [KSRC=] install-etc - for config files make [KSRC=] install-man - for man pages The kernel modules will be installed in the module directory of the kernel. The daemon and the control tool will be installed as ietd and ietadm under /usr/sbin. The init script will be installed as iscsi-target under /etc/init.d. The default ietd.conf, initiators.{allow,deny} are installed under /etc (the Makefile will not replace any existing config files). The manual pages are installed under /usr/man or /usr/share/man depending on your platform. The COPYING and this README are installed under /usr/docs/iscsitarget or /usr/share/docs/iscsitarget depending on your platform. If you use Linux distribution that does not have /etc/init.d, the boot script will not be installed. So you need to install it to an appropriate directory manually. Configuration ------------- The daemon is configured via the configuration file /etc/ietd.conf. See the man page and the example file for the current syntax. The ietadm utility is for managing IET software dynamically. You can change the configurations of running targets. See the help message. The access control based on initiator address and target name patterns is configured via two configuration files (/etc/initiators.allow and /etc/initiators.deny). These files work like tcpd files (/etc/hosts.allow and /etc/hosts.deny). This feature enables you to hide a particular targets from some initiators. See the example files for the supported expressions. You can change the configuration dynamically. The modifications to the files become effective immediately. Starting ------------- The target is not started automatically. So execute: /etc/init.d/iscsi-target start Note that you must edit the configuration file before starting the target. Stopping ------------- Execute: /etc/init.d/iscsi-target stop Contact ------------- Please send bug reports, comments, feature requests etc. to our mailing list . Developer Notes ---------------- The central resource for IET development is the mailing list. Our subversion repository can be found at: svn://svn.berlios.de/iscsitarget When submitting patches, please diff against the code in our repository's trunk and adhere otherwise to the same rules that apply to Linux kernel development, in particular the Linux kernel coding style ($KSRC/Documentation/CodingStyle) and the rules for submitting patches ($KSRC/Documentation/SubmittingPatches), i.e. please send patches inline as plain text.

近期下载者

相关文件


收藏者