how to build a iscsi target server?
i have downloaded the iet from sf.net
then i try to compile it with 'make'
but it give me a error like this:
make[1]: Leaving directory `/home/bear/downloads/iscsitarget-0.4.17/usr'
make -C /lib/modules/2.6.26-linode13/build SUBDIRS=/home/bear/downloads/iscsitarget-0.4.17/kernel modules
make: *** /lib/modules/2.6.26-linode13/build: No such file or directory. Stop.
make: *** [kernel] Error 2
li73-78:/home/bear/downloads/iscsitarget-0.4.17# ls /lib/modules/2.6.26-linode13/
COPYING MAINTAINERS REPORTING-BUGS drivers ipc net sound
CREDITS Makefile arch fs kernel samples usr
Documentation Module.symvers block include lib scripts virt
Kbuild README crypto init mm security
li73-78:/home/bear/downloads/iscsitarget-0.4.17#
P.S.:i have already downloaded and unzipped the 2.6.26-linode13 source code and put them into /lib/modules
thx
4 Replies
@jilingshu:
P.S.:i have already downloaded and unzipped the 2.6.26-linode13 source code and put them into /lib/modules
thx
Not completely, check your error message again and the ls
of /lib/modules/2.6.26-linode13/ (notice there is no /build directory)
make: *** /lib/modules/2.6.26-linode13/build: No such file or directory. Stop.
Also note that iscsi data is unencrypted.
Besides, in this environment it will perform worse than many of the other network storage solutions. Even NFS will perform better with less pain for the rest of us.
i hav solved this problem.
and i wont use it
thx all