{{MessageBox|backgroundcolor = red|image =Warning.png|heading =WARNING|message = This is recommended only for advanced users, proceed with caution.NeedsUpdate}}= Installing the ISCSI server on Fedora 14/Amahi 6 =
Warning Dragons Ahead !!!!!
This HOWTO is for advanced users
Your HDA might self-destruct in a million
pieces and you might loose Data in the
event that you brick your HDA
= Installing the Preliminary (manual) suport for [http://en.wikipedia.org/wiki/ISCSI server =iSCSI] in Amahi 6.
From [http://forums.amahi.org/viewtopic.php?f=5&p=13885#p13885 this forums post].
'''WARNING: this page may have some items missing in the setup'''
= Server side =
Set up an iSCSI server on the Amahi box. You can install it using yum. Note that all actions must be done as user root.
yum install scsi-target-utils
Set up 1 Logical Volume (LV) that will be exported as an iSCSI LUN. The below output shows my LV created for time machine (hence the name lvtime).
<pre>Code|lvs <nowiki>|</nowiki> grep time
lvtime vg00 -wi-ao 500.00g</pre>
Export the LV: add it to /etc/tgt/targets.conf (note that there's a convention on how to export these!)
you should see a new device, you can partition it now
fdisk /dev/<new device>
partprobe /dev/<new device>
Create LVM stuff if you want to, otherwise create the filesystem as you would normally do
''Mac OSX''
I installed [http://www.studionetworksolutions.com/products/product_detail.php?pi=11 globalSAN iSCSI Initiator] for OS X by Studio Network Solutions (free community supported) iSCSI client for OS X) on the Mac.
I configured it to "see" the iSCSI lun (just type in the iqn IIRC); since it's presented to the OS as a normal disk you need to partition the drive first (it's a blank disk as far as the Mac is concerned). Then configure Time Machine to use that disk and you're done!
''Windows''
I'll let someone else fill that.
= Installing the ISCSI server on Fedora 14/Amahi 6 semi-automated =
{{NeedsUpdate}}
Log into your amahi box via ssh and become root
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .
do this by Typing typing Code= yum update
{{Code|
Code= yum update
}}
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.
For ease of use i have created '''Disclaimer: ''' The instructions below are for your convenience only. Please note that this is a repository which can easily be addedpersonal repo/service and as such is not maintained by Amahi. Adding an unknown/untrusted repo may cause security issues.
For ease of use I have created a repository which can easily be added. Download the repo file located at : {{Code| Code= http://amahirepo.3owl.com/rpmorama.repo}}
Code= http://amahirepo.3owl.com/repofile/
Download rpmorama.repo (right click and save as)
Copy that file to
/etc/yum.repos.d/
Run
{{Code|
Code= yum update
}}
Then you can install the iscsi server by typing
{{Code| Code= yum install iscsitarget}}
You still have to create the disk and edit the iet.conf file