<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zombu2</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zombu2"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Zombu2"/>
	<updated>2026-04-13T19:08:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52640</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52640"/>
		<updated>2012-02-18T23:49:40Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= red|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead !!!!!&lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
= Configuring the ISCSI server to serve your disk image = &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
= Use Win 7 ISCSI initiator to connect a ISCSI target =&lt;br /&gt;
&lt;br /&gt;
Go to Start - Control Panel - click on Administrative tools - &lt;br /&gt;
&lt;br /&gt;
From there click on ISCSI initiator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Install Using External Repository =&lt;br /&gt;
&lt;br /&gt;
For ease of use i have created a repository which can easily be added&lt;br /&gt;
&lt;br /&gt;
Download the repo file located at : &lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= http://amahirepo.3owl.com/repofile/&lt;br /&gt;
}}&lt;br /&gt;
Download rpmorama.repo (right click and save as)&lt;br /&gt;
 &lt;br /&gt;
Copy that file to &lt;br /&gt;
  /etc/yum.repos.d/&lt;br /&gt;
&lt;br /&gt;
Run &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= yum update&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then you can install the iscsi server by typing &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= yum install iscsitarget&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
You still have to create the disk and edit the iet.conf file&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52634</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52634"/>
		<updated>2012-02-18T23:38:05Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= red|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead !!!!!&lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
= Configuring the ISCSI server to serve your disk image = &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
= Use Win 7 ISCSI initiator to connect a ISCSI target =&lt;br /&gt;
&lt;br /&gt;
Go to Start - Control Panel - click on Administrative tools - &lt;br /&gt;
&lt;br /&gt;
From there click on ISCSI initiator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Install Using External Repository =&lt;br /&gt;
&lt;br /&gt;
For ease of use i have created a repository which can easily be added&lt;br /&gt;
&lt;br /&gt;
Download the repo file located at : &lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= http://amahirepo.3owl.com/repofile/&lt;br /&gt;
}}&lt;br /&gt;
Download rpmorama.repo &lt;br /&gt;
Copy that file to &lt;br /&gt;
  /etc/yum.repos.d/&lt;br /&gt;
&lt;br /&gt;
Run &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= yum update&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then you can install the iscsi server by typing &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= yum install iscsitarget&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
You still have to create the disk and edit the iet.conf file&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52628</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52628"/>
		<updated>2012-02-18T23:33:02Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= red|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead !!!!!&lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
= Configuring the ISCSI server to serve your disk image = &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
= Use Win 7 ISCSI initiator to connect a ISCSI target =&lt;br /&gt;
&lt;br /&gt;
Go to Start - Control Panel - click on Administrative tools - &lt;br /&gt;
&lt;br /&gt;
From there click on ISCSI initiator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Install Using External Repository =&lt;br /&gt;
&lt;br /&gt;
For ease of use i have created a repository which can easily be added&lt;br /&gt;
&lt;br /&gt;
Download the repo file located at : &lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= http://amahirepo.3owl.com/rpmorama.repo&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Copy that file to &lt;br /&gt;
  /etc/yum.repos.d/&lt;br /&gt;
&lt;br /&gt;
Run &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= yum update&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then you can install the iscsi server by typing &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= yum install iscsitarget&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
You still have to create the disk and edit the iet.conf file&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52568</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52568"/>
		<updated>2012-02-17T20:05:00Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= red|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead !!!!!&lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
= Configuring the ISCSI server to serve your disk image = &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
= Use Win 7 ISCSI initiator to connect a ISCSI target =&lt;br /&gt;
&lt;br /&gt;
Go to Start - Control Panel - click on Administrative tools - &lt;br /&gt;
&lt;br /&gt;
From there click on ISCSI initiator&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52562</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52562"/>
		<updated>2012-02-17T19:35:56Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= red|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead !!!!!&lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
= Configuring the ISCSI server to serve your disk image = &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
= Use Win 7 ISCSI initiator to connect a ISCSI target =&lt;br /&gt;
&lt;br /&gt;
Go to Start - Control Panel - click on Administrative tools - &lt;br /&gt;
[[Image:win7admin.png]]&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52550</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52550"/>
		<updated>2012-02-16T04:27:44Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead !!!!!&lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
= Configuring the ISCSI server to serve your disk image = &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52544</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52544"/>
		<updated>2012-02-16T04:22:27Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead !!!!!&lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52538</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52538"/>
		<updated>2012-02-16T04:21:53Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
  Warning Dragons Ahead &lt;br /&gt;
  This HOWTO is for advanced users &lt;br /&gt;
  Your HDA might self-destruct in a million&lt;br /&gt;
  pieces and you might loose Data in the &lt;br /&gt;
  event that you brick your HDA&lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52532</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52532"/>
		<updated>2012-02-16T04:14:24Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, boogars and other bodily excrements, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= Start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52526</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52526"/>
		<updated>2012-02-16T04:13:55Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, boogars and other bodily excrements, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
= Installing the ISCSI server =&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
Now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
Then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
This should have now compiled and installed the ISCSI server on your Amahi box.&lt;br /&gt;
&lt;br /&gt;
= Configuration and creation of an ISCSI disk image =&lt;br /&gt;
&lt;br /&gt;
The easiest way to get an ISCSI target is to create an image file. &lt;br /&gt;
&lt;br /&gt;
We are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
We have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
Save and exit your editor &lt;br /&gt;
&lt;br /&gt;
= start/restart your ISCSI server = &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52520</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52520"/>
		<updated>2012-02-16T04:10:27Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, boogars and other bodily excrements, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
{{Code|  &lt;br /&gt;
Code= yum update &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code= yum install kernel-headers kernel-devel gcc&lt;br /&gt;
}}&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
{{Code|&lt;br /&gt;
Code=  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
}}&lt;br /&gt;
then run &lt;br /&gt;
{{Code|&lt;br /&gt;
Code= sh ./install.sh&lt;br /&gt;
}}&lt;br /&gt;
this should have now compiled and installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code=  mkdir /var/hda/files/iscsi&lt;br /&gt;
dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=256000&lt;br /&gt;
}}&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
{{Code|&lt;br /&gt;
 Code= Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
}}&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
{{Code|&lt;br /&gt;
  Code= service iscsi-target restart&lt;br /&gt;
}}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52514</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52514"/>
		<updated>2012-02-16T04:00:11Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing the ISCSI server on Fedora 14/Amahi 6 =&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, boogars and other bodily excrements, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
  yum update &lt;br /&gt;
&lt;br /&gt;
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
  yum install kernel-headers kernel-devel gcc&lt;br /&gt;
&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
&lt;br /&gt;
  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
&lt;br /&gt;
then run sh ./install.sh&lt;br /&gt;
&lt;br /&gt;
this should have now compiled and installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
&lt;br /&gt;
   mkdir /var/hda/files/iscsi&lt;br /&gt;
   dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
&lt;br /&gt;
  Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
&lt;br /&gt;
  Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
&lt;br /&gt;
  service iscsi-target restart&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52508</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52508"/>
		<updated>2012-02-16T03:58:30Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is going to be the howto on how to install a ISCSI server on F14 with Amahi 6&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, boogars and other bodily excrements, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
  yum update &lt;br /&gt;
&lt;br /&gt;
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
  yum install kernel-headers kernel-devel gcc&lt;br /&gt;
&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
&lt;br /&gt;
  wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
&lt;br /&gt;
then run sh ./install.sh&lt;br /&gt;
&lt;br /&gt;
this should have now compiled and installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
&lt;br /&gt;
   mkdir /var/hda/files/iscsi&lt;br /&gt;
   dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
&lt;br /&gt;
  Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
&lt;br /&gt;
  Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
&lt;br /&gt;
  service iscsi-target restart&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52502</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52502"/>
		<updated>2012-02-16T03:04:47Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is going to be the howto on how to install a ISCSI server on F14 with Amahi 6&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, boogars and other bodily excrements, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
yum update &lt;br /&gt;
&lt;br /&gt;
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
yum install kernel-headers kernel-devel gcc&lt;br /&gt;
&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
&lt;br /&gt;
wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
&lt;br /&gt;
then run sh ./install.sh&lt;br /&gt;
&lt;br /&gt;
this should have now compiled and installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
&lt;br /&gt;
 mkdir /var/hda/files/iscsi&lt;br /&gt;
 dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
&lt;br /&gt;
Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
&lt;br /&gt;
service iscsi-target restart&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52496</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52496"/>
		<updated>2012-02-16T02:56:13Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is going to be the howto on how to install a ISCSI server on F14 with Amahi 6&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
yum update &lt;br /&gt;
&lt;br /&gt;
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
yum install kernel-headers kernel-devel gcc&lt;br /&gt;
&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
&lt;br /&gt;
wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
&lt;br /&gt;
then run sh ./install.sh&lt;br /&gt;
&lt;br /&gt;
this should have now compiled and installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
&lt;br /&gt;
 mkdir /var/hda/files/iscsi&lt;br /&gt;
 dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
&lt;br /&gt;
Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
&lt;br /&gt;
service iscsi-target restart&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52490</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52490"/>
		<updated>2012-02-16T02:55:59Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is going to be the howto on how to install a ISCSI server on F14 with Amahi 6&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, and touching in inappropriate places etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
yum update &lt;br /&gt;
&lt;br /&gt;
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
yum install kernel-headers kernel-devel gcc&lt;br /&gt;
&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
&lt;br /&gt;
wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
&lt;br /&gt;
then run sh ./install.sh&lt;br /&gt;
&lt;br /&gt;
this should have now compiled and installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
&lt;br /&gt;
 mkdir /var/hda/files/iscsi&lt;br /&gt;
 dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
&lt;br /&gt;
Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
&lt;br /&gt;
service iscsi-target restart&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52484</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52484"/>
		<updated>2012-02-16T02:51:21Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is going to be the howto on how to install a ISCSI server on F14 with Amahi 6&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
NOTE: As i have experienced myself it is a good idea to check if your updates are all done correctly .&lt;br /&gt;
do this by Typing &lt;br /&gt;
&lt;br /&gt;
yum update &lt;br /&gt;
&lt;br /&gt;
let amahi update whatever is necessary to avoid a kernel module error trying to start the ISCSI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
yum install kernel-headers kernel-devel gcc&lt;br /&gt;
&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
&lt;br /&gt;
wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
&lt;br /&gt;
then run sh ./install.sh&lt;br /&gt;
&lt;br /&gt;
this should have now compiled and installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
&lt;br /&gt;
 mkdir /var/hda/files/iscsi&lt;br /&gt;
 dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
&lt;br /&gt;
Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
&lt;br /&gt;
service iscsi-target restart&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
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&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52478</id>
		<title>ISCSI</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=ISCSI&amp;diff=52478"/>
		<updated>2012-02-16T02:02:15Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is going to be the howto on how to install a ISCSI server on F14 with Amahi 6&lt;br /&gt;
&lt;br /&gt;
First of all the usual warnings&lt;br /&gt;
&lt;br /&gt;
Disclaimer: does not cover misuse, accident, lightning, flood, tornado, tsunami, volcanic eruption, earthquake, hurricanes, or other acts of God, neglect, damage from improper use, incorrect line voltage, unauthorized use, unauthorized repair, improper installation, typos, broken antenna or marred cabinet, missing or altered serial numbers, electromagnetic radiation from nuclear blasts, sonic boom vibrations, customer adjustments that are not covered in this list, and incidents owing to an airplane crash, ship sinking or taking on water, motor vehicle crashing, dropping the item, falling rocks, leaky roof, broken glass, disk failure, accidental file deletions, mud slides, forest fire, hitting of a deer, milk coming out of your nose due to laughing while drinking, or projectiles, which can include, but are not limited to, arrows, bullet shots, BBs, shrapnel, lasers, napalm, torpedoes, emissions of X-rays, Alpha, Beta and Gamma rays, knives, stones, etc.&lt;br /&gt;
&lt;br /&gt;
This disclaimer may not be copied or reproduced in any form&lt;br /&gt;
&lt;br /&gt;
without the expressed written consent of whoever I stole it from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now that we have the legal stuff covered , let's get started &lt;br /&gt;
&lt;br /&gt;
Installing the ISCSI server&lt;br /&gt;
&lt;br /&gt;
Log into your amahi box via ssh and become root&lt;br /&gt;
&lt;br /&gt;
then install kernel headers and gcc&lt;br /&gt;
&lt;br /&gt;
yum install kernel-headers kernel-devel gcc&lt;br /&gt;
&lt;br /&gt;
now we going to download the install script i wrote &lt;br /&gt;
&lt;br /&gt;
wget http://dl.dropbox.com/u/57179706/iscsi/install.sh&lt;br /&gt;
&lt;br /&gt;
then run sh ./install.sh&lt;br /&gt;
&lt;br /&gt;
this should have now installed the ISCSI server on your Amahi box &lt;br /&gt;
&lt;br /&gt;
Configuration and creation of an ISCSI disk image &lt;br /&gt;
&lt;br /&gt;
the easiest way to get an iscsi target is to create an image file &lt;br /&gt;
&lt;br /&gt;
we are doing this by typing :&lt;br /&gt;
&lt;br /&gt;
 mkdir /var/hda/files/iscsi&lt;br /&gt;
 dd if=/dev/zero of=/var/hda/files/iscsi/disk.img bs=1M count=0 seek=2560000&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
now if we look in /var/hda/files/iscsi/ we will find a file called disk.img&lt;br /&gt;
&lt;br /&gt;
Configuring the ISCSI server to serve your disk image &lt;br /&gt;
&lt;br /&gt;
we have to edit the config file in  /etc/iet/ietd.conf (use your favorite editor)&lt;br /&gt;
&lt;br /&gt;
Leave everything as it is exept at the bottom we add&lt;br /&gt;
&lt;br /&gt;
Target iqn.2012-02.com.domain:disk.img&lt;br /&gt;
&lt;br /&gt;
Lun 0 Path=/var/hda/files/iscsi/disk.img,Type=fileio&lt;br /&gt;
&lt;br /&gt;
save and exit your editor &lt;br /&gt;
&lt;br /&gt;
start/restart your ISCSI server &lt;br /&gt;
&lt;br /&gt;
service iscsi-target restart&lt;br /&gt;
&lt;br /&gt;
done&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=RAID_5&amp;diff=31915</id>
		<title>RAID 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=RAID_5&amp;diff=31915"/>
		<updated>2011-01-31T02:50:29Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;RAID 5 on Amahi. See this other page for [[RAID 1]].&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
There are several reasons why one would want a [http://en.wikipedia.org/wiki/RAID#RAID_5 RAID 5] configuration for your Amahi server if one has the money to buy at least 3 drives needed.  The main reasons, however, are performance and redundancy.  A RAID 5 array splits up a given file and its parity and distributes it across all the disks.  The bad news is that if one has N disks, each with capacity C, the total array capacity is (N - 1) * C - one disk is lost to parity.  On the other hand, a RAID 5 array has almost RAID 0 performance, and can survive the loss of one disk without loss of data.  One thing that must be kept in mind with any RAID array (and one thing I didn't know about until it happened to me) is that RAID arrays are susceptible to data loss if not shut down correctly.  A sudden power outage can result in data loss, so if a RAID array is used, it is important to use a [http://en.wikipedia.org/wiki/Uninterruptible_power_supply UPS].&lt;br /&gt;
&lt;br /&gt;
Note: Depending on what you want to use your RAID 5 array for, you might want to consider using Greyhole over RAID 5. For some details about advantages and disadvantages of Greyhole vs RAID 5, see the [http://code.google.com/p/greyhole/#Greyhole_is_like_RAID-5,_but_better Greyhole project page].&lt;br /&gt;
Greyhole has been [[Greyhole|integrated in Amahi]] since version 5.3.&lt;br /&gt;
&lt;br /&gt;
This wiki entry is for the installation of a software RAID 5 array using 3 disks that are the same size, 2 TB.  At the end, the RAID array will be used to host all the shares on the server.  My server has a separate hard drive on which I installed Fedora 12 and the Amahi software.  The Amahi software should be installed and working correctly before the RAID array is created.  Technically, it doesn't matter that Amahi is running first, but it makes it slightly easier to set up.&lt;br /&gt;
&lt;br /&gt;
=Sources Used=&lt;br /&gt;
&lt;br /&gt;
Here are the sources I used while installing my array, and writing this entry:&lt;br /&gt;
&lt;br /&gt;
*http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID&lt;br /&gt;
&lt;br /&gt;
*http://wiki.amahi.org/index.php/Adding_a_second_hard_drive_to_your_HDA&lt;br /&gt;
&lt;br /&gt;
=Installation Steps=&lt;br /&gt;
&lt;br /&gt;
#Install your disks&lt;br /&gt;
#*Your computer's BIOS should list all disks on startup.&lt;br /&gt;
#Find out your available partitions:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;su -&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;fdisk -l&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*What you are looking for is probably going to be something like /dev/sd**some letter**.  In my case, since I installed Fedora on one hard drive first before installing my 3 other disks RAID disks, the above command returns that I have disks labelled /dev/sda /dev/sdb /dev/sdc and /dev/sdd.  I, of course, won't be using the hard drive on which I installed Fedora (/dev/sda), so my array will be created using the /dev/sdb /dev/sdc and /dev/sdd disks.&lt;br /&gt;
#Unmount the partitions:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdb&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdc&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdd&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Remove the old partitions, and prep the disks using fdisk:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;fdisk /dev/sdb&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Type t to change the disk's partition type, type 1 to select the first partition, and type fd to select the Linux RAID auto detect ID.&lt;br /&gt;
#*Make sure that you got the correct settings by typing p.&lt;br /&gt;
#*Finalize the changes by typing w.&lt;br /&gt;
#Repeat the same process for all of your disks.&lt;br /&gt;
#Create the RAID array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sd[bcd]&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Type y to start the creation process.&lt;br /&gt;
#*The array has to build before you can continue with anything, and depending on how much storage space you have, it can take a ''looooong'' time.  For my array, it takes some 20 odd hours.  You can check on the progress by typing 'cat /proc/mdstat'.&lt;br /&gt;
#Format the RAID set:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mkfs.ext4 /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*You can format the RAID set into another filesystem, if you so choose.&lt;br /&gt;
#*This also can take a really long time, as well, but not nearly as long as creating the array itself.&lt;br /&gt;
#Unfortunately, Linux does not automatically remember your RAID settings, so you need to create a configuration file so that Linux knows that to do.  Fortunately, you don't need to know (or type) the specifics, which mainly involves a really long alpha-numeric ID string:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mdadm --detail --scan --verbose &amp;gt; /etc/mdadm.conf&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Now, move all your shares to the RAID array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mv /var/hda/files/* /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Unmount the array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Edit the /etc/fstab file, so that the shares get mounted to the array on startup:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;nano /etc/fstab&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Edit the line containing '/var/hda/files' to read '/dev/md0  /var/hda/files  ext4  defaults  1 2'.&lt;br /&gt;
#**If you used a different filesystem other than ext4, place that filesystem name in place of the 'ext4' above.&lt;br /&gt;
#Now, finally, mount your array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mount -a&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That is it!  Enjoy your new large storage array!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= How to Add New Drives to An Existing Raid5 =&lt;br /&gt;
&lt;br /&gt;
As i had to find out adding a drive to a Raid5 is easy.&lt;br /&gt;
&lt;br /&gt;
Adding the drive to the Raid&lt;br /&gt;
  mdadm --add /dev/md# /dev/sd# (# is the number of the drive you adding)&lt;br /&gt;
&lt;br /&gt;
Growing The Raid&lt;br /&gt;
  mdadm --grow --raid-devices=# /dev/md$ &lt;br /&gt;
(# is the total number of the drives in the array and $ is the raid array )&lt;br /&gt;
&lt;br /&gt;
Now we let the Raid array rebuild and we can watch it reshape by Typing&lt;br /&gt;
  watch cat /proc/mdstat&lt;br /&gt;
It will take a couple hours for the drive to reshape (PLEASE do not reboot the machine during the reshaping process)&lt;br /&gt;
&lt;br /&gt;
After the reshape finished successfully we need to make sure that the mdadm.conf has the correct drive number in it.&lt;br /&gt;
&lt;br /&gt;
  nano /etc/mdadm.conf&lt;br /&gt;
&lt;br /&gt;
Here we change the number of total drives you have in your array &lt;br /&gt;
It should look similar to this&lt;br /&gt;
&lt;br /&gt;
Mdadm.conf written out by anaconda&lt;br /&gt;
  MAILADDR root&lt;br /&gt;
  ARRAY /dev/md0 level=raid5 num-devices=10 UUID=4cc02637:e3832bed:bfe78010:bc810f&lt;br /&gt;
(where num-devices= needs to be changed to the actual number of drives you have in the array)&lt;br /&gt;
&lt;br /&gt;
Save and close nano&lt;br /&gt;
&lt;br /&gt;
Reboot the machine after reshape has finished and you made the changes to make sure the machine boots correctly&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=RAID_5&amp;diff=31909</id>
		<title>RAID 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=RAID_5&amp;diff=31909"/>
		<updated>2011-01-31T02:45:10Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;RAID 5 on Amahi. See this other page for [[RAID 1]].&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
There are several reasons why one would want a [http://en.wikipedia.org/wiki/RAID#RAID_5 RAID 5] configuration for your Amahi server if one has the money to buy at least 3 drives needed.  The main reasons, however, are performance and redundancy.  A RAID 5 array splits up a given file and its parity and distributes it across all the disks.  The bad news is that if one has N disks, each with capacity C, the total array capacity is (N - 1) * C - one disk is lost to parity.  On the other hand, a RAID 5 array has almost RAID 0 performance, and can survive the loss of one disk without loss of data.  One thing that must be kept in mind with any RAID array (and one thing I didn't know about until it happened to me) is that RAID arrays are susceptible to data loss if not shut down correctly.  A sudden power outage can result in data loss, so if a RAID array is used, it is important to use a [http://en.wikipedia.org/wiki/Uninterruptible_power_supply UPS].&lt;br /&gt;
&lt;br /&gt;
Note: Depending on what you want to use your RAID 5 array for, you might want to consider using Greyhole over RAID 5. For some details about advantages and disadvantages of Greyhole vs RAID 5, see the [http://code.google.com/p/greyhole/#Greyhole_is_like_RAID-5,_but_better Greyhole project page].&lt;br /&gt;
Greyhole has been [[Greyhole|integrated in Amahi]] since version 5.3.&lt;br /&gt;
&lt;br /&gt;
This wiki entry is for the installation of a software RAID 5 array using 3 disks that are the same size, 2 TB.  At the end, the RAID array will be used to host all the shares on the server.  My server has a separate hard drive on which I installed Fedora 12 and the Amahi software.  The Amahi software should be installed and working correctly before the RAID array is created.  Technically, it doesn't matter that Amahi is running first, but it makes it slightly easier to set up.&lt;br /&gt;
&lt;br /&gt;
=Sources Used=&lt;br /&gt;
&lt;br /&gt;
Here are the sources I used while installing my array, and writing this entry:&lt;br /&gt;
&lt;br /&gt;
*http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID&lt;br /&gt;
&lt;br /&gt;
*http://wiki.amahi.org/index.php/Adding_a_second_hard_drive_to_your_HDA&lt;br /&gt;
&lt;br /&gt;
=Installation Steps=&lt;br /&gt;
&lt;br /&gt;
#Install your disks&lt;br /&gt;
#*Your computer's BIOS should list all disks on startup.&lt;br /&gt;
#Find out your available partitions:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;su -&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;fdisk -l&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*What you are looking for is probably going to be something like /dev/sd**some letter**.  In my case, since I installed Fedora on one hard drive first before installing my 3 other disks RAID disks, the above command returns that I have disks labelled /dev/sda /dev/sdb /dev/sdc and /dev/sdd.  I, of course, won't be using the hard drive on which I installed Fedora (/dev/sda), so my array will be created using the /dev/sdb /dev/sdc and /dev/sdd disks.&lt;br /&gt;
#Unmount the partitions:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdb&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdc&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdd&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Remove the old partitions, and prep the disks using fdisk:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;fdisk /dev/sdb&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Type t to change the disk's partition type, type 1 to select the first partition, and type fd to select the Linux RAID auto detect ID.&lt;br /&gt;
#*Make sure that you got the correct settings by typing p.&lt;br /&gt;
#*Finalize the changes by typing w.&lt;br /&gt;
#Repeat the same process for all of your disks.&lt;br /&gt;
#Create the RAID array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sd[bcd]&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Type y to start the creation process.&lt;br /&gt;
#*The array has to build before you can continue with anything, and depending on how much storage space you have, it can take a ''looooong'' time.  For my array, it takes some 20 odd hours.  You can check on the progress by typing 'cat /proc/mdstat'.&lt;br /&gt;
#Format the RAID set:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mkfs.ext4 /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*You can format the RAID set into another filesystem, if you so choose.&lt;br /&gt;
#*This also can take a really long time, as well, but not nearly as long as creating the array itself.&lt;br /&gt;
#Unfortunately, Linux does not automatically remember your RAID settings, so you need to create a configuration file so that Linux knows that to do.  Fortunately, you don't need to know (or type) the specifics, which mainly involves a really long alpha-numeric ID string:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mdadm --detail --scan --verbose &amp;gt; /etc/mdadm.conf&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Now, move all your shares to the RAID array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mv /var/hda/files/* /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Unmount the array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Edit the /etc/fstab file, so that the shares get mounted to the array on startup:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;nano /etc/fstab&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Edit the line containing '/var/hda/files' to read '/dev/md0  /var/hda/files  ext4  defaults  1 2'.&lt;br /&gt;
#**If you used a different filesystem other than ext4, place that filesystem name in place of the 'ext4' above.&lt;br /&gt;
#Now, finally, mount your array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mount -a&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That is it!  Enjoy your new large storage array!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= How to Add New Drives to An Existing Raid5 =&lt;br /&gt;
&lt;br /&gt;
As i had to find out adding a drive to a Raid5 is easy.&lt;br /&gt;
&lt;br /&gt;
Adding the drive to the Raid&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;mdadm --add /dev/md# /dev/sd# (# is the number of the drive you adding)&lt;br /&gt;
&lt;br /&gt;
Growing The Raid&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;mdadm --grow --raid-devices=# /dev/md$ (# is the total number of the drives in the array and $ is the raid array )&lt;br /&gt;
&lt;br /&gt;
Now we let the Raid array rebuild and we can watch it reshape by Typing&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;watch cat /proc/mdstat&lt;br /&gt;
It will take a couple hours for the drive to reshape (PLEASE do not reboot the machine during the reshaping process)&lt;br /&gt;
&lt;br /&gt;
After the reshape finished successfully we need to make sure that the mdadm.conf has the correct drive number in it.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;nano /etc/mdadm.conf&lt;br /&gt;
&lt;br /&gt;
Here we change the number of total drives you have in your array &lt;br /&gt;
It should look similar to this&lt;br /&gt;
&lt;br /&gt;
Mdadm.conf written out by anaconda&lt;br /&gt;
  MAILADDR root&lt;br /&gt;
  ARRAY /dev/md0 level=raid5 num-devices=10 UUID=4cc02637:e3832bed:bfe78010:bc810f&lt;br /&gt;
(where num-devices= needs to be changed to the actual number of drives you have in the array)&lt;br /&gt;
&lt;br /&gt;
Save and close nano&lt;br /&gt;
&lt;br /&gt;
Reboot the machine after reshape has finished and you made the changes to make sure the machine boots correctly&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=RAID_5&amp;diff=31903</id>
		<title>RAID 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=RAID_5&amp;diff=31903"/>
		<updated>2011-01-31T02:40:08Z</updated>

		<summary type="html">&lt;p&gt;Zombu2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;RAID 5 on Amahi. See this other page for [[RAID 1]].&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
There are several reasons why one would want a [http://en.wikipedia.org/wiki/RAID#RAID_5 RAID 5] configuration for your Amahi server if one has the money to buy at least 3 drives needed.  The main reasons, however, are performance and redundancy.  A RAID 5 array splits up a given file and its parity and distributes it across all the disks.  The bad news is that if one has N disks, each with capacity C, the total array capacity is (N - 1) * C - one disk is lost to parity.  On the other hand, a RAID 5 array has almost RAID 0 performance, and can survive the loss of one disk without loss of data.  One thing that must be kept in mind with any RAID array (and one thing I didn't know about until it happened to me) is that RAID arrays are susceptible to data loss if not shut down correctly.  A sudden power outage can result in data loss, so if a RAID array is used, it is important to use a [http://en.wikipedia.org/wiki/Uninterruptible_power_supply UPS].&lt;br /&gt;
&lt;br /&gt;
Note: Depending on what you want to use your RAID 5 array for, you might want to consider using Greyhole over RAID 5. For some details about advantages and disadvantages of Greyhole vs RAID 5, see the [http://code.google.com/p/greyhole/#Greyhole_is_like_RAID-5,_but_better Greyhole project page].&lt;br /&gt;
Greyhole has been [[Greyhole|integrated in Amahi]] since version 5.3.&lt;br /&gt;
&lt;br /&gt;
This wiki entry is for the installation of a software RAID 5 array using 3 disks that are the same size, 2 TB.  At the end, the RAID array will be used to host all the shares on the server.  My server has a separate hard drive on which I installed Fedora 12 and the Amahi software.  The Amahi software should be installed and working correctly before the RAID array is created.  Technically, it doesn't matter that Amahi is running first, but it makes it slightly easier to set up.&lt;br /&gt;
&lt;br /&gt;
=Sources Used=&lt;br /&gt;
&lt;br /&gt;
Here are the sources I used while installing my array, and writing this entry:&lt;br /&gt;
&lt;br /&gt;
*http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID&lt;br /&gt;
&lt;br /&gt;
*http://wiki.amahi.org/index.php/Adding_a_second_hard_drive_to_your_HDA&lt;br /&gt;
&lt;br /&gt;
=Installation Steps=&lt;br /&gt;
&lt;br /&gt;
#Install your disks&lt;br /&gt;
#*Your computer's BIOS should list all disks on startup.&lt;br /&gt;
#Find out your available partitions:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;su -&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;fdisk -l&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*What you are looking for is probably going to be something like /dev/sd**some letter**.  In my case, since I installed Fedora on one hard drive first before installing my 3 other disks RAID disks, the above command returns that I have disks labelled /dev/sda /dev/sdb /dev/sdc and /dev/sdd.  I, of course, won't be using the hard drive on which I installed Fedora (/dev/sda), so my array will be created using the /dev/sdb /dev/sdc and /dev/sdd disks.&lt;br /&gt;
#Unmount the partitions:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdb&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdc&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/sdd&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Remove the old partitions, and prep the disks using fdisk:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;fdisk /dev/sdb&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Type t to change the disk's partition type, type 1 to select the first partition, and type fd to select the Linux RAID auto detect ID.&lt;br /&gt;
#*Make sure that you got the correct settings by typing p.&lt;br /&gt;
#*Finalize the changes by typing w.&lt;br /&gt;
#Repeat the same process for all of your disks.&lt;br /&gt;
#Create the RAID array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sd[bcd]&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Type y to start the creation process.&lt;br /&gt;
#*The array has to build before you can continue with anything, and depending on how much storage space you have, it can take a ''looooong'' time.  For my array, it takes some 20 odd hours.  You can check on the progress by typing 'cat /proc/mdstat'.&lt;br /&gt;
#Format the RAID set:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mkfs.ext4 /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*You can format the RAID set into another filesystem, if you so choose.&lt;br /&gt;
#*This also can take a really long time, as well, but not nearly as long as creating the array itself.&lt;br /&gt;
#Unfortunately, Linux does not automatically remember your RAID settings, so you need to create a configuration file so that Linux knows that to do.  Fortunately, you don't need to know (or type) the specifics, which mainly involves a really long alpha-numeric ID string:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mdadm --detail --scan --verbose &amp;gt; /etc/mdadm.conf&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Now, move all your shares to the RAID array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mv /var/hda/files/* /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Unmount the array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;umount /dev/md0&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#Edit the /etc/fstab file, so that the shares get mounted to the array on startup:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;nano /etc/fstab&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
#*Edit the line containing '/var/hda/files' to read '/dev/md0  /var/hda/files  ext4  defaults  1 2'.&lt;br /&gt;
#**If you used a different filesystem other than ext4, place that filesystem name in place of the 'ext4' above.&lt;br /&gt;
#Now, finally, mount your array:&lt;br /&gt;
#*&amp;lt;blockquote&amp;gt;mount -a&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That is it!  Enjoy your new large storage array!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= How to Add New Drives to An Existing Raid5 =&lt;br /&gt;
&lt;br /&gt;
As i had to find out adding a drive to a Raid5 is easy.&lt;br /&gt;
&lt;br /&gt;
Adding the drive to the Raid&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;mdadm --add /dev/md# /dev/sd# (# is the number of the drive you adding)&lt;br /&gt;
&lt;br /&gt;
Growing The Raid&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;mdadm --grow --raid-devices=# /dev/md$ (# is the total number of the drives in the array and $ is the raid array )&lt;br /&gt;
&lt;br /&gt;
Now we let the Raid array rebuild and we can watch it reshape by Typing&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;watch cat /proc/mdstat&lt;br /&gt;
It will take a couple hours for the drive to reshape (PLEASE do not reboot the machine during the reshaping process)&lt;br /&gt;
&lt;br /&gt;
After the reshape finished successfully we need to make sure that the mdadm.conf has the correct drive number in it.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;blockquote&amp;gt;nano /etc/mdadm.conf&lt;br /&gt;
&lt;br /&gt;
Here we change the number of total drives you have in your array &lt;br /&gt;
It should look similar to this&lt;br /&gt;
&lt;br /&gt;
Mdadm.conf written out by anaconda&lt;br /&gt;
MAILADDR root&lt;br /&gt;
ARRAY /dev/md0 level=raid5 num-devices=10 UUID=4cc02637:e3832bed:bfe78010:bc810f&lt;br /&gt;
(where num-devices= needs to be changed to the actual number of drives you have in the array)&lt;br /&gt;
&lt;br /&gt;
Save and close nano&lt;br /&gt;
&lt;br /&gt;
Reboot the machine after reshape has finished and you made the changes to make sure the machine boots correctly&lt;/div&gt;</summary>
		<author><name>Zombu2</name></author>
		
	</entry>
</feed>