?? readme
字號:
Introduction-------------iSCSI Enterprise Target is for building an iSCSI storage system onLinux. It is aimed at developing an iSCSI target satisfying enterpriserequirements.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 patcheslocated under ./patches. The make process will now auto-detectwhether these patches need to be applied for your platform andauto-apply the correct ones for you. DO NOT MANUALLY APPLY THESE COMPATIBILITY PATCHESThis will cause the auto-patch routine in the Makefile to breakbadly and it will put the code-base in such a state where you willneed to remove it and re-extract the tar ball or run a svn revert toget 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" enabledunder "Cryptographic options" in the kernel config if it isn't bydefault (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-spacecode requires OpenSSL library (http://www.openssl.org/) and developerheaders (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 shouldrequire nothing more than a: makeTo build individual components: make kernel - to build the kernel modules make usr - to build the daemon and control programIf you have multiple kernel sources installed and wish to targetthe make for a particular source, you would issue: make KSRC=<kernel-src>The path can also be set by editing the main Makefile. If KSRC isomitted, make program will try to locate the kernel sources for thecurrent running kernel. Be sure to check whether it finds the rightkernel sources.To install everything, use: make [KSRC=<kernel-src>] installTo install individual components: make [KSRC=<kernel-src>] install-kernel - for kernel module make [KSRC=<kernel-srv>] install-usr - for daemon and utility make [KSRC=<kernel-srv>] install-init - for init.d script make [KSRC=<kernel-srv>] install-etc - for config files make [KSRC=<kernel-srv>] install-man - for man pagesThe kernel modules will be installed in the module directory of thekernel. The daemon and the control tool will be installed as ietd andietadm under /usr/sbin. The init script will be installed asiscsi-target under /etc/init.d. The default ietd.conf,initiators.{allow,deny} are installed under /etc (the Makefile willnot replace any existing config files). The manual pages are installedunder /usr/man or /usr/share/man depending on your platform. TheCOPYING 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, theboot script will not be installed. So you need to install it to anappropriate 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 canchange the configurations of running targets. See the help message.The access control based on initiator address and target name patternsis 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 tohide a particular targets from some initiators. See the example filesfor the supported expressions. You can change the configurationdynamically. The modifications to the files become effectiveimmediately.Starting-------------The target is not started automatically. So execute: /etc/init.d/iscsi-target startNote that you must edit the configuration file before starting thetarget.Stopping-------------Execute: /etc/init.d/iscsi-target stopContact-------------Please send bug reports, comments, feature requests etc. to ourmailing list <iscsitarget-devel@lists.sourceforge.net>.Developer Notes----------------The central resource for IET development is the<iscsitarget-devel@lists.sourceforge.net> mailing list.Our subversion repository can be found at: svn://svn.berlios.de/iscsitargetWhen submitting patches, please diff against the code in our repository'strunk and adhere otherwise to the same rules that apply to Linux kerneldevelopment, 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 asplain text.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -