Linode Forum Index Linode Forum
Linode Community Forums
 


how to build a iscsi target server?

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
jilingshu



Joined: 04 Aug 2009
Posts: 7

Posted: Tue Aug 04, 2009 9:00 am    Post subject: how to build a iscsi target server?  

hi there,
i have downloaded the iet from sf.net
then i try to compile it with 'make'
but it give me a error like this:

Code: 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
Back to top  
freedom_is_chaos



Joined: 12 Sep 2008
Posts: 166

Posted: Thu Aug 06, 2009 12:35 am    Post subject: Re: how to build a iscsi target server?  

jilingshu wrote: 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)

Code: make: *** /lib/modules/2.6.26-linode13/build: No such file or directory. Stop.
Back to top  
encode



Joined: 25 Feb 2005
Posts: 26

Posted: Thu Aug 06, 2009 12:41 am    Post subject:  

Please don't. There are much better solutions for what you're trying to do. Take a look at NFS, for example.

Also note that iscsi data is unencrypted.
Back to top  
SelfishMan



Joined: 26 Jun 2008
Posts: 31

Posted: Thu Aug 06, 2009 12:42 am    Post subject:  

iSCSI can be pretty aggressive on a network and demanding on a host. Since this is a shared environment please don't use iSCSI on a Linode unless you are certain it won't kill your neighbors.

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.
Back to top  
jilingshu



Joined: 04 Aug 2009
Posts: 7

Posted: Fri Aug 21, 2009 9:54 am    Post subject:  

ok
i hav solved this problem.
and i wont use it :D
thx all
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1