Changes

From Amahi Wiki
Jump to: navigation, search
98 bytes added ,  04:10, 16 February 2012
no edit summary
do this by Typing
{{Code| Code= yum update }}
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.
then install kernel headers and gcc
{{Code|Code= yum install kernel-headers kernel-devel gcc}}
now we going to download the install script i wrote
{{Code| Code= wget http://dl.dropbox.com/u/57179706/iscsi/install.sh}}then run {{Code|Code= sh ./install.sh}}
this should have now compiled and installed the ISCSI server on your Amahi box
we are doing this by typing :
{{Code| Code= mkdir /var/hda/files/iscsi dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000256000}}
you can name the disk.img whatever you want and the numbers behind seek is the size of the image disk which in our case is 250 gigs
Leave everything as it is exept at the bottom we add
{{Code| Code= Target iqn.2012-02.com.domain:disk.img  Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio}}
save and exit your editor
start/restart your ISCSI server
{{Code| Code= service iscsi-target restart}}
done
I will update this page later on how to hook a ISCSI drive using the win7 iscsi-initiator when i finally figured out why i have no toolbar while editing the wiki page
21

edits