<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SAN - Fix The Exchange!</title>
	<atom:link href="https://www.fixtheexchange.com/tag/san/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fixtheexchange.com</link>
	<description>Official Blog of Josh M. Bryant</description>
	<lastBuildDate>Fri, 05 Dec 2025 16:17:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Budget Laboratory: Part 4 &#8211; Connecting VMWare ESXi 4.1 to an iSCSI SAN through vSphere</title>
		<link>https://www.fixtheexchange.com/2011/09/08/budget-laboratory-part-4-connecting-vmware-esxi-4-1-to-an-iscsi-san-through-vsphere/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=budget-laboratory-part-4-connecting-vmware-esxi-4-1-to-an-iscsi-san-through-vsphere&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=budget-laboratory-part-4-connecting-vmware-esxi-4-1-to-an-iscsi-san-through-vsphere</link>
		
		<dc:creator><![CDATA[Josh Bryant]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 21:00:39 +0000</pubDate>
				<category><![CDATA[Home Lab]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[VMWare]]></category>
		<guid isPermaLink="false">http://www.fixtheexchange.com/budget-laboratory-part-4-connecting-vmware-esxi-4-1-to-an-iscsi-san-through-vsphere/</guid>

					<description><![CDATA[<p>For Part 4 of the &#34;Budget Laboratory&#34; series, we&#39;re going to connect the ESXi 4.1 server we installed in Part 3, to the Virtual SAN we created using FreeNAS 8 in Part 2, using the vSphere client. You will need: An iSCSI SAN. An ESXi 4.1 Server. A system running the vSphere client.* *If you [&#8230;]</p>
<p>The post <a href="https://www.fixtheexchange.com/2011/09/08/budget-laboratory-part-4-connecting-vmware-esxi-4-1-to-an-iscsi-san-through-vsphere/">Budget Laboratory: Part 4 – Connecting VMWare ESXi 4.1 to an iSCSI SAN through vSphere</a> first appeared on <a href="https://www.fixtheexchange.com">Fix The Exchange!</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>For Part 4 of the &quot;Budget Laboratory&quot; series, we&#39;re going to connect the ESXi 4.1 server we installed in <a href="http://www.fixtheexchange.com/Budget-Laboratory-Part3-VMWare-ESXi4-on-VMWare-Workstation-7" target="new">Part 3</a>, to the Virtual SAN we created using FreeNAS 8 in <a href="http://www.fixtheexchange.com/Budget-Laboratory-Part2-iSCSI-Virtual-SAN-with-FreeNAS-8" target="new">Part 2</a>, using the vSphere client.</p>
<ul>
	You will need:</p>
<li>
		<a href="http://www.fixtheexchange.com/Budget-Laboratory-Part2-iSCSI-Virtual-SAN-with-FreeNAS-8" target="new">An iSCSI SAN.</a></li>
<li>
		<a href="http://www.fixtheexchange.com/Budget-Laboratory-Part3-VMWare-ESXi4-on-VMWare-Workstation-7" target="new">An ESXi 4.1 Server.</a></li>
<li>
		A system running the vSphere client.*</li>
</ul>
<p>*If you haven&#39;t already, open the IP you&#39;ve configured for your ESXi server in a web browser to download and install the vSphere client.</p>
<p><strong>Step 1: Open vSphere and login to your ESXi server.</strong></p>
<p><center><br />
	<img fetchpriority="high" decoding="async" class=" size-full wp-image-155" alt="" height="384" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere1.png" title="" width="430" /></center><br />
</p>
<p>Enter the username and password for your ESXi server, then click &quot;Login&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<img decoding="async" class=" size-full wp-image-156" alt="" height="279" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere2.png" title="" width="520" /></center><br />
</p>
<p>We aren&#39;t worried about SSL certificates for a lab environment, so we can just click &quot;Ignore&quot;.<br />
	Note: For a production environment, you should obtain a valid SSL cert from a trusted Root Certificate Authority.</p>
<p>&nbsp;</p>
<p><center><br />
	<img decoding="async" class=" size-full wp-image-157" alt="" height="256" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere3.png" title="" width="377" /></center><br />
</p>
<p>Click &quot;OK&quot;.<br />
	Note: ESXi 4.1 is fully featured for 60 days. After that you need to enter a license key to continue using the free version. You should have received a license key via e-mail from VMWare when you registered to download ESXi 4.1. If you want to learn how to use the features that are only available in the paid version, you should use the evaluation mode for the duration of the trail, before switching over to the free version.</p>
<p>
	<strong>Step 2: Configure the Storage Adapter</strong></p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/sites/fixtheexchange.com/files/field/image/vsphere8.png" rel="lightbox" title=""><br />
	<img loading="lazy" decoding="async" class=" size-full wp-image-158" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere8.png" title="" width="1120" height="917" /></a></center><br />
</p>
<p>Click the &quot;Configuration&quot; tab.<br />
	Click &quot;Storage Adapters&quot;.<br />
	Select the iSCSI Software Adapter.<br />
	Click &quot;Properties&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<img loading="lazy" decoding="async" class=" size-full wp-image-159" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere9.png" title="" width="410" height="480" /></center><br />
</p>
<p>Click &quot;Configure&#8230;&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<img loading="lazy" decoding="async" class=" size-full wp-image-160" alt="" height="228" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere10.png" title="" width="378" /></center><br />
</p>
<p>Check the &quot;Enabled&quot; box, then click &quot;OK&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<img loading="lazy" decoding="async" class=" size-full wp-image-161" alt="" height="593" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere11.png" title="" width="506" /></center><br />
</p>
<p>Click the &quot;Dynamic Discovery&quot; tab, then click &quot;Add&#8230;&quot;</p>
<p>&nbsp;</p>
<p><center><br />
	<img loading="lazy" decoding="async" class=" size-full wp-image-162" alt="" height="264" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/asts.png" title="" width="418" /></center><br />
</p>
<p>Type in the IP address of your iSCSI SAN, thenc lick &quot;CHAP&#8230;&quot;<br />
	Note: If you followed Part 2 of this series, the default port number should be the same as shown in the screen shot above. Otherwise enter the correct port number for your iSCSI SAN here as well.</p>
<p>&nbsp;</p>
<p><center><br />
	<img loading="lazy" decoding="async" class=" size-full wp-image-163" alt="" height="436" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere12.png" title="" width="378" /></center><br />
</p>
<p>Uncheck the &quot;Inherit from parent&quot; box.<br />
	Select &quot;Use CHAP&quot; from the &quot;Select option:&quot; drop down box.<br />
	Enter the name and secret, then click &quot;OK&quot;.<br />
	Note: If you followed Part 2 of this series, this should match what you set in the &quot;Add iSCSI User&quot; box. If your iSCSI SAN is configured to use a different authentication method, or does not use authentication, you should configure this accordingly.</p>
<p>&nbsp;</p>
<p><center><br />
	<img loading="lazy" decoding="async" class=" size-full wp-image-164" alt="" height="171" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere13.png" title="" width="496" /></center><br />
</p>
<p>Click &quot;Yes&quot; to rescan the HBA.</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere14.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-165" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere14.png" title="" width="1120" height="917" /></a></center><br />
</p>
<p>You should now see any available disks from your SAN, as shown in the screenshot above.<br />
	Note: If you followed Part 2 of this series and do not see anything after rescanning the drives, make sure the iSCSI service is running on FreeNAS, and that you did not miss any steps. If it is running, you can try turning the service off and then back on again. Then go back to vSphere and click &quot;Rescan All&#8230;&quot;. If you still do not see anything here, verify the network settings are correct on both your FreeNAS VM and your ESXi VM. Make sure they can communicate with each other over the network.</p>
<p>
	<strong>Step 3: Add Storage</strong><br />
	Now that the connection has been established to our SAN, we can add the storage.</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addstorage.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-166" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addstorage.png" title="" width="1120" height="917" /></a></center><br />
</p>
<p>Click &quot;Storage&quot; then &quot;Add Storage&#8230;&quot;</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere15.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-167" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere15.png" title="" width="752" height="587" /></a></center><br />
</p>
<p>Select &quot;Disk/LUN&quot; then click &quot;Next&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere16.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-168" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere16.png" title="" width="752" height="587" /></a></center><br />
</p>
<p>Select the disk you want to use, then click &quot;Next&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere17.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-169" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere17.png" title="" width="752" height="587" /></a></center><br />
</p>
<p>We&#39;re going to use this whole drive, that&#39;s why we created it, and it is the only option available to us, so just click &quot;Next&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere18.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-170" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere18.png" title="" width="752" height="587" /></a></center><br />
</p>
<p>Here we can name our datastore. We&#39;ll be using this one just to store the virtual drives that will contain the OS for our VMs, so I called mine &quot;OS&quot;. Give yours a name, and click &quot;Next&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere19.png" re="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-171" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere19.png" title="" width="752" height="587" /></a></center><br />
</p>
<p>Here you can change the block size used when formatting the drive. Since we aren&#39;t using a very big drive for this lab, I just left the default. Click &quot;Next&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere20.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-172" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere20.png" title="" width="752" height="587" /></a></center><br />
</p>
<p>Click &quot;Finish&quot;.</p>
<p>&nbsp;</p>
<p><center><br />
	<a href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere21.png" rel="lightbox" title=""><img loading="lazy" decoding="async" class=" size-full wp-image-173" alt="" class="image-large" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vsphere21.png" title="" width="1120" height="917" /></a></center><br />
</p>
<p>That&#39;s it! Our ESXi server is now using storage on our SAN.</p>
<p>
	In Part 5 of this series, I&#39;ll show you how to create OS templates that will allow you to quickly deploy VMs on your ESXi server.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.fixtheexchange.com/wp-content/uploads/2025/12/4000px_transparent-scaled.png" width="100"  height="100" alt="" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.fixtheexchange.com/author/josh/" class="vcard author" rel="author"><span class="fn">Josh Bryant</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Cybersecurity Product Leader and internationally recognized Speaker at several Information Security conferences and events with over 26 years of experience as a proven leader in Cybersecurity, Product Management, Threat Hunting, Incident Response, IT Management, IT Architecture, IT Operations, IT Engineering, and Messaging Systems, on a global scale, across a diverse set of industries in both the Public and Private sectors.</p>
</div></div><div class="saboxplugin-web "><a href="http://192.168.2.21:30040" target="_self" >192.168.2.21:30040</a></div><div class="clearfix"></div><div class="saboxplugin-socials sabox-colored"><a title="Linkedin" target="_self" href="https://www.linkedin.com/in/josh-m-bryant/" rel="nofollow noopener" class="saboxplugin-icon-color"><svg class="sab-linkedin" viewBox="0 0 500 500.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.8 250.7c0 7.6-0.4 15.2-1 22.6-0.2 2.2-0.4 4.4-0.7 6.6-0.1 0.6-0.1 1.1-0.2 1.7-0.3 2.6-0.7 5.2-1.1 7.7-0.4 2.3-0.8 4.7-1.2 7 0 0.3-0.1 0.6-0.2 0.9-0.2 1-0.4 1.9-0.5 2.9-0.2 0.8-0.4 1.6-0.5 2.5-0.1 0.3-0.1 0.5-0.2 0.8-0.7 3.3-1.5 6.5-2.3 9.7-0.6 2.3-1.2 4.5-1.9 6.8-1.5 5.3-3.2 10.5-5 15.6-26.7 73.9-87.3 131.6-163.2 154.2-3 0.9-6.1 1.8-9.2 2.6-1.5 0.4-3 0.8-4.5 1.1-3.6 0.9-7.2 1.6-10.9 2.3h-0.2c-0.2 0-0.3 0.1-0.5 0.1l-3 0.6c-1.8 0.3-3.6 0.6-5.4 0.9-0.2 0-0.3 0.1-0.5 0.1-0.9 0.1-1.9 0.3-2.8 0.4-5.5 0.8-11.1 1.3-16.7 1.7-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.3-249.4 249.3 111.7 249.3 249.4z" fill="#0077b5" /><path class="st1" d="m485 335.5c-26.7 73.9-87.3 131.6-163.2 154.2-3 0.9-6.1 1.8-9.2 2.6-1.5 0.4-3 0.8-4.5 1.1-3.6 0.9-7.2 1.6-10.9 2.3h-0.2l-148.3-148.1 35.3-142.9-32-37.6 38.1-38.7 68 68.4h11.9l9.5 9.3 70.5-3.9 135 133.3z" /><path class="st2" d="m195.6 347.6h-46.9v-150.8h46.9v150.8zm-23.5-171.4c-15 0-27.1-12.4-27.1-27.4s12.2-27.1 27.1-27.1c15 0 27.1 12.2 27.1 27.1s-12.1 27.4-27.1 27.4zm198.9 171.4h-46.8v-73.4c0-17.5-0.4-39.9-24.4-39.9-24.4 0-28.1 19-28.1 38.7v74.7h-46.8v-150.9h44.9v20.6h0.7c6.3-11.9 21.5-24.4 44.3-24.4 47.4 0 56.1 31.2 56.1 71.8l0.1 82.8z" /></svg></span></a><a title="Twitter" target="_self" href="https://x.com/FixTheExchange" rel="nofollow noopener" class="saboxplugin-icon-color"><svg class="sab-twitter" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 148 148">
  <path d="M 63.907 0.948 C 37.893 3.663 14.65 20.788 4.083 45.024 C -2.727 60.67 -3.86 78.686 0.975 95.272 C 6.947 115.953 22.396 133.424 42.387 142.162 C 58.034 148.972 76.05 150.106 92.636 145.27 C 117.461 138.113 137.009 117.731 143.424 92.408 C 153.443 52.724 128.862 12.148 89.079 2.675 C 80.342 0.602 72.646 0.058 63.907 0.948 Z M 64.893 46.801 C 71.21 55.192 76.544 62.103 76.741 62.103 C 76.938 62.103 83.504 55.192 91.252 46.801 L 105.419 31.5 L 113.463 31.5 L 111.735 33.328 C 110.749 34.361 104.332 41.322 97.47 48.775 C 90.61 56.229 83.898 63.483 82.563 64.817 L 80.194 67.334 L 98.705 91.965 C 108.874 105.538 117.215 116.789 117.215 116.99 C 117.215 117.238 111.145 117.383 103.787 117.383 L 90.314 117.334 L 77.777 100.553 C 69.14 88.954 65.092 83.965 64.697 84.265 C 64.401 84.512 57.39 92.065 49.1 101.046 L 34.045 117.383 L 30.242 117.383 C 28.122 117.383 26.395 117.283 26.395 117.138 C 26.395 116.99 34.243 108.398 43.816 98.084 C 53.345 87.768 61.243 79.131 61.339 78.984 C 61.391 78.784 53.542 68.074 43.918 55.192 C 34.293 42.359 26.395 31.747 26.395 31.646 C 26.395 31.55 32.465 31.5 39.919 31.5 L 53.442 31.5 L 64.893 46.801 Z M 64.893 46.801" />
  <path d="M 38.588 38.114 C 38.784 38.459 51.22 55.142 66.128 75.082 L 93.276 111.411 L 99.344 111.461 C 103.098 111.461 105.368 111.263 105.267 110.966 C 105.222 110.721 92.832 94.04 77.827 73.949 L 50.48 37.423 L 44.361 37.423 C 39.279 37.423 38.242 37.524 38.589 38.114 L 38.588 38.114 Z M 38.588 38.114" />
</svg></span></a><a title="Github" target="_self" href="https://github.com/FixTheExchange" rel="nofollow noopener" class="saboxplugin-icon-color"><svg class="sab-github" viewBox="0 0 500 500.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.8 250.7c0 9.9-0.6 19.7-1.7 29.2-0.1 0.6-0.1 1.1-0.2 1.7-0.3 2.6-0.7 5.2-1.1 7.7-0.4 2.3-0.8 4.7-1.2 7-0.2 1.3-0.5 2.5-0.7 3.8-0.2 1.1-0.5 2.2-0.7 3.3-1.2 5.6-2.6 11-4.2 16.5-23.4 81.3-87.1 145.6-168.2 169.8-4.5 1.3-9.1 2.6-13.7 3.7-6.5 1.6-13.2 2.8-20 3.9-0.2 0-0.3 0.1-0.5 0.1-0.9 0.1-1.9 0.3-2.8 0.4-5.5 0.8-11.1 1.3-16.7 1.7-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.3-249.4 249.3 111.7 249.3 249.4z" fill="#4078c0" /><path class="st1" d="m495.6 296.3c-0.2 1.3-0.5 2.5-0.7 3.8-0.2 1.1-0.5 2.2-0.7 3.3-1.2 5.6-2.6 11-4.2 16.5-23.4 81.3-87.1 145.6-168.2 169.8-4.5 1.3-9.1 2.6-13.7 3.7-6.5 1.6-13.2 2.8-20 3.9l-140.4-141.1-14.9-35.9-7.8-71 32.6-89.2 79.9-17.7 111.5 7.2 146.6 146.7z" /><path class="st2" d="m204 339c0 1.2-1.3 2.1-3 2.1-1.9 0.2-3.3-0.8-3.3-2.1 0-1.2 1.3-2.1 3-2.1 1.8-0.1 3.3 0.8 3.3 2.1zm-18.1-2.6c-0.4 1.2 0.8 2.5 2.5 2.8 1.5 0.6 3.3 0 3.6-1.2s-0.8-2.5-2.5-3c-1.5-0.3-3.2 0.3-3.6 1.4zm25.7-1c-1.7 0.4-2.8 1.5-2.7 2.8 0.2 1.2 1.7 1.9 3.4 1.5s2.8-1.5 2.7-2.7c-0.2-1-1.7-1.7-3.4-1.6zm38.2-222.8c-80.6 0-142.3 61.2-142.3 141.9 0 64.5 40.6 119.7 98.5 139.1 7.4 1.3 10.1-3.3 10.1-7 0-3.6-0.2-23.5-0.2-35.7 0 0-40.7 8.7-49.2-17.3 0 0-6.6-16.9-16.2-21.3 0 0-13.3-9.1 0.9-9 0 0 14.5 1.2 22.4 15 12.7 22.4 34.1 16 42.4 12.2 1.3-9.3 5.1-15.8 9.3-19.6-32.5-3.6-65.3-8.3-65.3-64.2 0-16 4.4-24 13.7-34.2-1.5-3.8-6.5-19.4 1.5-39.5 12.2-3.8 40.1 15.7 40.1 15.7 11.6-3.3 24.1-4.9 36.5-4.9s24.9 1.7 36.5 4.9c0 0 28-19.5 40.1-15.7 8 20.2 3 35.7 1.5 39.5 9.3 10.3 15 18.3 15 34.2 0 56.1-34.2 60.6-66.7 64.2 5.3 4.6 9.9 13.3 9.9 27 0 19.6-0.2 43.8-0.2 48.6 0 3.8 2.7 8.4 10.1 7 58.1-19.3 97.6-74.5 97.6-139 0.1-80.6-65.3-141.9-146-141.9zm-85.8 200.6c-0.8 0.6-0.6 1.9 0.4 3 0.9 0.9 2.3 1.3 3 0.6 0.8-0.6 0.6-1.9-0.4-3-0.9-1-2.2-1.4-3-0.6zm-6.3-4.7c-0.4 0.8 0.2 1.7 1.3 2.3 0.9 0.6 2.1 0.4 2.5-0.4s-0.2-1.7-1.3-2.3c-1.1-0.4-2-0.2-2.5 0.4zm18.9 20.7c-0.9 0.8-0.6 2.5 0.8 3.6 1.3 1.3 3 1.5 3.8 0.6 0.8-0.8 0.4-2.5-0.8-3.6-1.3-1.4-3.1-1.6-3.8-0.6zm-6.6-8.6c-0.9 0.6-0.9 2.1 0 3.4s2.5 1.9 3.3 1.3c0.9-0.8 0.9-2.3 0-3.6s-2.4-1.8-3.3-1.1z" /></svg></span></a></div></div></div><p>The post <a href="https://www.fixtheexchange.com/2011/09/08/budget-laboratory-part-4-connecting-vmware-esxi-4-1-to-an-iscsi-san-through-vsphere/">Budget Laboratory: Part 4 – Connecting VMWare ESXi 4.1 to an iSCSI SAN through vSphere</a> first appeared on <a href="https://www.fixtheexchange.com">Fix The Exchange!</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Budget Laboratory: Part 2 &#8211; iSCSI Virtual SAN with FreeNAS 8</title>
		<link>https://www.fixtheexchange.com/2011/09/06/budget-laboratory-part2-iscsi-virtual-san-with-freenas-8/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=budget-laboratory-part2-iscsi-virtual-san-with-freenas-8&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=budget-laboratory-part2-iscsi-virtual-san-with-freenas-8</link>
		
		<dc:creator><![CDATA[Josh Bryant]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 20:04:36 +0000</pubDate>
				<category><![CDATA[Home Lab]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[VMWare]]></category>
		<guid isPermaLink="false">http://www.fixtheexchange.com/budget-laboratory-part-2-iscsi-virtual-san-with-freenas-8/</guid>

					<description><![CDATA[<p>Storage Area Networks (SANs) are used in most Enterprise class networks, you&#8217;ll also find them at a lot of small and medium businesses. A lot of systems rely on SANs to provide high availability features. A SAN is great to have for setting up shared storage for any type of cluster. Fiber used to be [&#8230;]</p>
<p>The post <a href="https://www.fixtheexchange.com/2011/09/06/budget-laboratory-part2-iscsi-virtual-san-with-freenas-8/">Budget Laboratory: Part 2 – iSCSI Virtual SAN with FreeNAS 8</a> first appeared on <a href="https://www.fixtheexchange.com">Fix The Exchange!</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Storage Area Networks (SANs) are used in most Enterprise class networks, you&#8217;ll also find them at a lot of small and medium businesses. A lot of systems rely on SANs to provide high availability features. A SAN is great to have for setting up shared storage for any type of cluster. Fiber used to be dominant for SAN connectivity. You&#8217;d need Fiber Host Bus Adapters (HBAs) in every server you wanted attached to your SAN, and a Fiber switch to connect everything. Then came iSCSI, which works with much cheaper Network Interface Cards (NICs), and can use regular network switches, as well us much cheaper copper cables. At first iSCSI wasn&#8217;t as fast as Fiber, topping out at gigabit speeds, so if speed was important, you&#8217;d stick with Fiber. Now with 10Gigabit Ethernet being readily available, you can get iSCSI SANs that are both cost effective and high performance.</p>
<p>A full blown hardware SAN is still very expensive, so you&#8217;re probably not going to buy one for a Lab. Luckily there are a few ways you can create Virtual SANs for FREE! For Part 2 of my Budget Laboratory series, I&#8217;m going to show you how to create an iSCSI Virtual SAN with <a href="http://www.freenas.org/">FreeNAS 8</a>. FreeNAS is another great open source product based on FreeBSD.</p>
<p>This portion of the lab build can be done at absolutely no cost, assuming you already have the required hardware.</p>
<ul>You will need:</p>
<li><a href="http://www.vmware.com/products/workstation/index.html">VMWare Workstation</a> OR <a href="http://www.vmware.com/products/player/overview.html">VMWare Player*</a></li>
<li><a href="http://sourceforge.net/projects/freenas/files/">FreeNAS 8**</a></li>
<li>300 GB of free space</li>
</ul>
<p>*If you followed <a href="http://www.fixtheexchange.com/budget-laboratory-part1">Part 1</a> of this series, you should already have VMWare Workstation, which has a free trial, and you will need to use it. VMWare Player is completely free, you should be able to setup your Virtual SAN using it if you so choose, however I&#8217;m using VMWare Workstation for the creation of this article.</p>
<p>**I&#8217;m using the 64-bit version for this article.</p>
<p><strong>Step 1: Create a Virtual Machine for your Virtual SAN</strong><br />
If you haven&#8217;t already, open VMWare Workstation.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/sites/fixtheexchange.com/files/newvm.png" rel="lightbox"><br />
<img loading="lazy" decoding="async" class=" size-full wp-image-88" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/newvm.png" alt="" width="581" height="551" /></a></p>
<p>From the &#8220;Home&#8221; screen, click the &#8220;New Virtual Machine&#8221; button, or hit &#8220;CTRL+N&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-89" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwcustrom.png" alt="" width="442" height="401" /></p>
<p>Select &#8220;Custom (advanced)&#8221; and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-90" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwhc.png" alt="" width="442" height="401" /></p>
<p>Accept the defaults and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-91" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwos.png" alt="" width="442" height="401" /></p>
<p>Select &#8220;Installer disc image file (iso):&#8221;, browse to the location where you saved your FreeNAS .iso at, then click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-92" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwos2.png" alt="" width="442" height="401" /></p>
<p>Select &#8220;Other&#8221;, then select &#8220;FreeBSD 64-Bit&#8221; from the drop down list, then click &#8220;Next&#8221;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-93" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwname.png" alt="" width="442" height="401" /></p>
<p>Give your VM a name, then click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-94" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwcpu.png" alt="" width="442" height="401" /></p>
<p>Accept the defaults for the CPU and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-95" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwram.png" alt="" width="442" height="401" /></p>
<p>Accept the defaults for RAM and click &#8220;Next&#8221;.<br />
UPDATE: The recommended minimum RAM for FreeNAS 8 is 512MB, so you should probably change your RAM to 512MB here. However, I have been running it with 256MB without issues. You can always increase the RAM on your VM later.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-96" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwnetwork.png" alt="" width="442" height="401" /></p>
<p>We&#8217;ll be changing the Network settings later, so this page doesn&#8217;t matter, click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-97" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwio.png" alt="" width="442" height="401" /></p>
<p>Accept the defaults for I/O Controller types, and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-98" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwdisk.png" alt="" width="442" height="401" /></p>
<p>Select &#8220;Create a new virtual disk&#8221;, then click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-99" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwdisktype.png" alt="" width="442" height="401" /></p>
<p>Select &#8220;SCSI&#8221;, then click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-100" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwdiskcapacity.png" alt="" width="442" height="401" /></p>
<p>Accept the defaults of 8 GB and &#8220;Store virtual disk as a single file&#8221;, then click Next.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-101" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwdiskfile.png" alt="" width="442" height="401" /></p>
<p>Accept the default and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-102" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmwready.png" alt="" width="442" height="401" /></p>
<p>Make sure &#8220;Power on this virtual machine after creation&#8221; is NOT checked, and click &#8220;Finish&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/editvm.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-103" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/editvm.png" alt="" width="813" height="606" /></a></p>
<p>BEFORE powering on the Virtual Machine, we need to edit the hardware settings. Click the &#8220;Edit virtual machine settings&#8221; link on your FreeNAS Virtual SAN Virtual Machine, or hit &#8220;CTRL+D&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmsnetwork.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-104" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/vmsnetwork.png" alt="" width="669" height="587" /></a></p>
<p>If you followed <a href="http://www.fixtheexchange.com/budget-laboratory-part1">Part 1</a> of this series, you&#8217;ll need to select &#8220;Network Adapter&#8221;, then select &#8220;Custom: Specific virtual network&#8221;, and choose the VMNet that is bridged to the LAN side of your network. For me this is VMNet3. Otherwise you can just choose &#8220;Bridged: Connected directly to the physical network&#8221;.<br />
After that we need to add another &#8220;Hard Disk&#8221;, click the &#8220;Add&#8230;&#8221; button.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-105" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/ahwtype.png" alt="" width="442" height="385" /></p>
<p>Select &#8220;Hard Disk&#8221; and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-106" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/ahwselectdisk.png" alt="" width="442" height="385" /></p>
<p>Select &#8220;Create a new virtual disk&#8221; and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-107" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/ahwselecttype.png" alt="" width="442" height="385" /></p>
<p>Select &#8220;SCSI&#8221; and click &#8220;Next&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-108" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/ahwcapacity.png" alt="" width="442" height="385" /></p>
<p>Set the &#8220;Maximum disk size (GB):&#8221; to 300, select &#8220;Store virtual disk as a single file&#8221;, and click &#8220;Next&#8221;.<br />
Note: Originally I used ten 30GB drives to sort of mimic a physical disk array. Since the virtual drives are all stored on the same physical drive, there&#8217;s no real benefit to doing it that way. So in the interest of keeping things simple, a single 300GB drive works fine. If you were going to setup a Virtual SAN for any sort of production use, you&#8217;d want to give the VM direct access to several physical drives.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-109" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/ahwdiskfile.png" alt="" width="442" height="385" /></p>
<p>Accept the default and click &#8220;Next&#8221;.</p>
<p>Click &#8220;OK&#8221; on the Virtual Machine Settings page.</p>
<p>Your Virtual Machine is now ready to power on.</p>
<p><strong>Step 2: Install FreeNAS.</strong><br />
Power on the Virtual Machine.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-110" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenasinstall.png" alt="" width="480" height="267" /></p>
<p>Hit 1 to start the install.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-111" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenasdestination.png" alt="" width="480" height="267" /></p>
<p>Select the 8 GB drive as the destination, then hit &#8220;Enter&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-112" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenasconfirm.png" alt="" width="480" height="267" /></p>
<p>Hit &#8220;Y&#8221; to continue.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-113" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenasdone.png" alt="" width="480" height="267" /></p>
<p>The installation completes, hit &#8220;Enter&#8221; to continue.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-114" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenasreboot.png" alt="" width="480" height="267" /></p>
<p>Hit 3 to Reboot.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-115" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenasconfigurenetwork2.png" alt="" width="480" height="267" /></p>
<p>When FreeNAS boots, hit 1 to configure the network, then 1 to select the interface, n, then y, give the interface a name, enter a static IP. Hit &#8220;n&#8221; for &#8220;Configure IPv6&#8221;.</p>
<p><strong>Step 3: Configure FreeNAS through the web interface.</strong><br />
Open a web browser and browse to the IP you assigned to your FreeNAS Virtual Machine in Step 2.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenashome.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-116" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenashome.png" alt="" width="905" height="930" /></a></p>
<p>You&#8217;ll see a flashing &#8220;Alert&#8221; in the upper right corner letting you know that you need to set a password, so lets take care of that first. Expand &#8220;My Account&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenassetpw.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-117" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/freenassetpw.png" alt="" width="905" height="930" /></a></p>
<p>Click the &#8220;Change Password&#8221; link, set and confirm a password, then click &#8220;Change Admin Password&#8221;.</p>
<p>Next we need to create a volume. Click the &#8220;Storage&#8221; icon at the top of the page.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/sites/fixtheexchange.com/files/field/image/createvolume.png" rel="lightbox"><br />
<img loading="lazy" decoding="async" class=" size-full wp-image-118" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/createvolume.png" alt="" width="905" height="930" /></a></p>
<p>Give the volume a name, I named my &#8220;SAN1&#8221;. Check the disk, and select &#8220;ZFS&#8221; as the &#8220;Filesystem type&#8221; then click &#8220;Add Volume&#8221;.<br />
Note: If you used multiple drives, you&#8217;d have a few more options here. Depending on the number of drives selected, different RAID types would become available. With ZFS you&#8217;d see RAID-Z and RAID-Z2. For more information on RAID-Z, <a href="http://blogs.oracle.com/bonwick/entry/raid_z" target="_blank" rel="noopener">check out Jeff Bonwick&#8217;s blog post over at Oracle</a>. Jeff Bonwick is the inventor of RAID-Z. For more information on RAID-Z2, check out <a href="http://blogs.oracle.com/ahl/entry/double_parity_raid_z" target="_blank" rel="noopener">Adam Leventhal&#8217;s blog post over at Oracle</a>.</p>
<p>Next we need to create a ZFS Volume, click on the &#8220;Create ZFS Volume&#8221; button from the Storage page.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/createzfsvolume.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-119" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/createzfsvolume.png" alt="" width="905" height="930" /></a></p>
<p>I named this volume &#8220;ESXi&#8221; since we will be using it for an iSCSI LUN to be attached to ESXi in a later lesson. We&#8217;ll make the size 150GB by putting &#8220;150G&#8221; as the size. The rest of of the space will be used in later lessons. Click &#8220;Add ZFS Volume&#8221; when you are done.<br />
Note: ZFS is a file system with a lot of cool features that started in Solaris. Solaris, like the FreeBSD that FreeNAS is based on, is a flavor of Unix. For more information on ZFS, check out the <a href="http://hub.opensolaris.org/bin/view/Community+Group+zfs/" target="_blank" rel="noopener">ZFS page at opensolaris.org</a>.</p>
<p>Next we need to turn the iSCSI service on.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/scsiservice.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-120" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/scsiservice.png" alt="" width="905" height="930" /></a></p>
<p>Click the &#8220;Services&#8221; button at the top of the page, then click the switch next to &#8220;iSCSI&#8221; to turn the service on.</p>
<p>Now lets configure iSCSI. We&#8217;ll start by setting up Authentication, so we can have a little security for our Virtual SAN.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/sites/fixtheexchange.com/files/field/image/iscsiauth.png" rel="lightbox"><br />
<img loading="lazy" decoding="async" class=" size-full wp-image-121" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/iscsiauth.png" alt="" width="905" height="930" /></a></p>
<p>Expand &#8220;ISCSI&#8221; click &#8220;Target Global Configuration&#8221; then click &#8220;Authentication&#8221;, then click &#8220;Add iSCSI User&#8221;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addiscsiuser.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-122" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addiscsiuser.png" alt="" width="905" height="930" /></a></p>
<p>I used &#8220;vsan&#8221; as my User, you can call it whatever you want, just remember what it is. Set and confirm a &#8220;Secret&#8221;, you can leave the bottom 3 fields blank, and click &#8220;OK&#8221;.</p>
<p>Next we need to create a Portal.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/portals.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-123" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/portals.png" alt="" width="905" height="930" /></a></p>
<p>Select &#8220;Portals&#8221;, then click &#8220;Add Portal&#8221;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addportal.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-124" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addportal.png" alt="" width="905" height="930" /></a></p>
<p>Here we can just accept the default and click OK. This means it will listen on port 3260 on all IPs for this portal.</p>
<p>Next we need to create a device extent.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/deviceextents.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-125" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/deviceextents.png" alt="" width="905" height="930" /></a></p>
<p>Click &#8220;Device Extents&#8221; then &#8220;Add Extent&#8221;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/sites/fixtheexchange.com/files/field/image/addextent.png" rel="lightbox"><br />
<img loading="lazy" decoding="async" class=" size-full wp-image-126" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addextent.png" alt="" width="905" height="930" /></a></p>
<p>Give the Extent a name, I named mine &#8220;ESXi&#8221;, because we&#8217;ll be assigning this LUN to ESXi in a later lesson. Select &#8220;SAN1/ESXI (150G)&#8221; (or whatever you named your ZFS volume earlier) from the drop down for &#8220;Disk device&#8221; then click &#8220;OK&#8221;.</p>
<p>Now we&#8217;ll setup the Target Global Configuration.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/globaltarget.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-127" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/globaltarget.png" alt="" width="905" height="930" /></a></p>
<p>Click &#8220;Target Global Configuration&#8221;, change the base name if desired (I just changed example.org to fixtheexchange.com for mine), select &#8220;CHAP&#8221; from the drop down for the &#8220;Discovery Auth Method&#8221;, and &#8220;1&#8221; as the &#8220;Discovery Auth Group&#8221;. Everything else can be kept as-is. Click &#8220;Save&#8221;.</p>
<p>The last thing we need to do is add a target.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/targets.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-128" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/targets.png" alt="" width="905" height="930" /></a></p>
<p>Click &#8220;Targets&#8221; then &#8220;Add Target&#8221;.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addtarget.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-129" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/addtarget.png" alt="" width="905" height="930" /></a></p>
<p>Give your target a name, and an alias. Again, I used ESXi here because that is what this LUN will be used for later on.<br />
Select &#8220;Disk&#8221; from the drop down for &#8220;Type&#8221;.<br />
Select &#8220;1&#8221; from the drop down for &#8220;Portal Group ID&#8221;.<br />
Select &#8220;1&#8221; from the drop down for &#8220;Initiator Group ID&#8221;.<br />
Select &#8220;1&#8221; from the drop down for &#8220;Authentication Group number&#8221;.<br />
Click &#8220;OK&#8221;.</p>
<p>The last thing we need to do is add the Extent to the Target.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="" href="http://www.fixtheexchange.com/wp-content/uploads/2011/09/associatetarget.png" rel="lightbox"><img loading="lazy" decoding="async" class=" size-full wp-image-130" title="" src="http://www.fixtheexchange.com/wp-content/uploads/2011/09/associatetarget.png" alt="" width="960" height="1200" /></a></p>
<p>Click &#8220;Associated Targets.&#8221;<br />
Click &#8220;Add Extent to Target&#8221;.<br />
Select the Target you created earlier in the &#8220;Target&#8221; drop down.<br />
Select the Extent you created earlier in the &#8220;Extent&#8221; drop down.<br />
Click &#8220;OK&#8221;.</p>
<p>That&#8217;s it! Your Virtual SAN has been configured. We now have an iSCSI LUN that we will use with ESXi in a later lesson. In Part 3 of the &#8220;Budget Laboratory&#8221; series, we&#8217;ll be installing VMware ESXi 4.1 inside of VMware Workstation 7.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.fixtheexchange.com/wp-content/uploads/2025/12/4000px_transparent-scaled.png" width="100"  height="100" alt="" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.fixtheexchange.com/author/josh/" class="vcard author" rel="author"><span class="fn">Josh Bryant</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Cybersecurity Product Leader and internationally recognized Speaker at several Information Security conferences and events with over 26 years of experience as a proven leader in Cybersecurity, Product Management, Threat Hunting, Incident Response, IT Management, IT Architecture, IT Operations, IT Engineering, and Messaging Systems, on a global scale, across a diverse set of industries in both the Public and Private sectors.</p>
</div></div><div class="saboxplugin-web "><a href="http://192.168.2.21:30040" target="_self" >192.168.2.21:30040</a></div><div class="clearfix"></div><div class="saboxplugin-socials sabox-colored"><a title="Linkedin" target="_self" href="https://www.linkedin.com/in/josh-m-bryant/" rel="nofollow noopener" class="saboxplugin-icon-color"><svg class="sab-linkedin" viewBox="0 0 500 500.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.8 250.7c0 7.6-0.4 15.2-1 22.6-0.2 2.2-0.4 4.4-0.7 6.6-0.1 0.6-0.1 1.1-0.2 1.7-0.3 2.6-0.7 5.2-1.1 7.7-0.4 2.3-0.8 4.7-1.2 7 0 0.3-0.1 0.6-0.2 0.9-0.2 1-0.4 1.9-0.5 2.9-0.2 0.8-0.4 1.6-0.5 2.5-0.1 0.3-0.1 0.5-0.2 0.8-0.7 3.3-1.5 6.5-2.3 9.7-0.6 2.3-1.2 4.5-1.9 6.8-1.5 5.3-3.2 10.5-5 15.6-26.7 73.9-87.3 131.6-163.2 154.2-3 0.9-6.1 1.8-9.2 2.6-1.5 0.4-3 0.8-4.5 1.1-3.6 0.9-7.2 1.6-10.9 2.3h-0.2c-0.2 0-0.3 0.1-0.5 0.1l-3 0.6c-1.8 0.3-3.6 0.6-5.4 0.9-0.2 0-0.3 0.1-0.5 0.1-0.9 0.1-1.9 0.3-2.8 0.4-5.5 0.8-11.1 1.3-16.7 1.7-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.3-249.4 249.3 111.7 249.3 249.4z" fill="#0077b5" /><path class="st1" d="m485 335.5c-26.7 73.9-87.3 131.6-163.2 154.2-3 0.9-6.1 1.8-9.2 2.6-1.5 0.4-3 0.8-4.5 1.1-3.6 0.9-7.2 1.6-10.9 2.3h-0.2l-148.3-148.1 35.3-142.9-32-37.6 38.1-38.7 68 68.4h11.9l9.5 9.3 70.5-3.9 135 133.3z" /><path class="st2" d="m195.6 347.6h-46.9v-150.8h46.9v150.8zm-23.5-171.4c-15 0-27.1-12.4-27.1-27.4s12.2-27.1 27.1-27.1c15 0 27.1 12.2 27.1 27.1s-12.1 27.4-27.1 27.4zm198.9 171.4h-46.8v-73.4c0-17.5-0.4-39.9-24.4-39.9-24.4 0-28.1 19-28.1 38.7v74.7h-46.8v-150.9h44.9v20.6h0.7c6.3-11.9 21.5-24.4 44.3-24.4 47.4 0 56.1 31.2 56.1 71.8l0.1 82.8z" /></svg></span></a><a title="Twitter" target="_self" href="https://x.com/FixTheExchange" rel="nofollow noopener" class="saboxplugin-icon-color"><svg class="sab-twitter" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 148 148">
  <path d="M 63.907 0.948 C 37.893 3.663 14.65 20.788 4.083 45.024 C -2.727 60.67 -3.86 78.686 0.975 95.272 C 6.947 115.953 22.396 133.424 42.387 142.162 C 58.034 148.972 76.05 150.106 92.636 145.27 C 117.461 138.113 137.009 117.731 143.424 92.408 C 153.443 52.724 128.862 12.148 89.079 2.675 C 80.342 0.602 72.646 0.058 63.907 0.948 Z M 64.893 46.801 C 71.21 55.192 76.544 62.103 76.741 62.103 C 76.938 62.103 83.504 55.192 91.252 46.801 L 105.419 31.5 L 113.463 31.5 L 111.735 33.328 C 110.749 34.361 104.332 41.322 97.47 48.775 C 90.61 56.229 83.898 63.483 82.563 64.817 L 80.194 67.334 L 98.705 91.965 C 108.874 105.538 117.215 116.789 117.215 116.99 C 117.215 117.238 111.145 117.383 103.787 117.383 L 90.314 117.334 L 77.777 100.553 C 69.14 88.954 65.092 83.965 64.697 84.265 C 64.401 84.512 57.39 92.065 49.1 101.046 L 34.045 117.383 L 30.242 117.383 C 28.122 117.383 26.395 117.283 26.395 117.138 C 26.395 116.99 34.243 108.398 43.816 98.084 C 53.345 87.768 61.243 79.131 61.339 78.984 C 61.391 78.784 53.542 68.074 43.918 55.192 C 34.293 42.359 26.395 31.747 26.395 31.646 C 26.395 31.55 32.465 31.5 39.919 31.5 L 53.442 31.5 L 64.893 46.801 Z M 64.893 46.801" />
  <path d="M 38.588 38.114 C 38.784 38.459 51.22 55.142 66.128 75.082 L 93.276 111.411 L 99.344 111.461 C 103.098 111.461 105.368 111.263 105.267 110.966 C 105.222 110.721 92.832 94.04 77.827 73.949 L 50.48 37.423 L 44.361 37.423 C 39.279 37.423 38.242 37.524 38.589 38.114 L 38.588 38.114 Z M 38.588 38.114" />
</svg></span></a><a title="Github" target="_self" href="https://github.com/FixTheExchange" rel="nofollow noopener" class="saboxplugin-icon-color"><svg class="sab-github" viewBox="0 0 500 500.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.8 250.7c0 9.9-0.6 19.7-1.7 29.2-0.1 0.6-0.1 1.1-0.2 1.7-0.3 2.6-0.7 5.2-1.1 7.7-0.4 2.3-0.8 4.7-1.2 7-0.2 1.3-0.5 2.5-0.7 3.8-0.2 1.1-0.5 2.2-0.7 3.3-1.2 5.6-2.6 11-4.2 16.5-23.4 81.3-87.1 145.6-168.2 169.8-4.5 1.3-9.1 2.6-13.7 3.7-6.5 1.6-13.2 2.8-20 3.9-0.2 0-0.3 0.1-0.5 0.1-0.9 0.1-1.9 0.3-2.8 0.4-5.5 0.8-11.1 1.3-16.7 1.7-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.3-249.4 249.3 111.7 249.3 249.4z" fill="#4078c0" /><path class="st1" d="m495.6 296.3c-0.2 1.3-0.5 2.5-0.7 3.8-0.2 1.1-0.5 2.2-0.7 3.3-1.2 5.6-2.6 11-4.2 16.5-23.4 81.3-87.1 145.6-168.2 169.8-4.5 1.3-9.1 2.6-13.7 3.7-6.5 1.6-13.2 2.8-20 3.9l-140.4-141.1-14.9-35.9-7.8-71 32.6-89.2 79.9-17.7 111.5 7.2 146.6 146.7z" /><path class="st2" d="m204 339c0 1.2-1.3 2.1-3 2.1-1.9 0.2-3.3-0.8-3.3-2.1 0-1.2 1.3-2.1 3-2.1 1.8-0.1 3.3 0.8 3.3 2.1zm-18.1-2.6c-0.4 1.2 0.8 2.5 2.5 2.8 1.5 0.6 3.3 0 3.6-1.2s-0.8-2.5-2.5-3c-1.5-0.3-3.2 0.3-3.6 1.4zm25.7-1c-1.7 0.4-2.8 1.5-2.7 2.8 0.2 1.2 1.7 1.9 3.4 1.5s2.8-1.5 2.7-2.7c-0.2-1-1.7-1.7-3.4-1.6zm38.2-222.8c-80.6 0-142.3 61.2-142.3 141.9 0 64.5 40.6 119.7 98.5 139.1 7.4 1.3 10.1-3.3 10.1-7 0-3.6-0.2-23.5-0.2-35.7 0 0-40.7 8.7-49.2-17.3 0 0-6.6-16.9-16.2-21.3 0 0-13.3-9.1 0.9-9 0 0 14.5 1.2 22.4 15 12.7 22.4 34.1 16 42.4 12.2 1.3-9.3 5.1-15.8 9.3-19.6-32.5-3.6-65.3-8.3-65.3-64.2 0-16 4.4-24 13.7-34.2-1.5-3.8-6.5-19.4 1.5-39.5 12.2-3.8 40.1 15.7 40.1 15.7 11.6-3.3 24.1-4.9 36.5-4.9s24.9 1.7 36.5 4.9c0 0 28-19.5 40.1-15.7 8 20.2 3 35.7 1.5 39.5 9.3 10.3 15 18.3 15 34.2 0 56.1-34.2 60.6-66.7 64.2 5.3 4.6 9.9 13.3 9.9 27 0 19.6-0.2 43.8-0.2 48.6 0 3.8 2.7 8.4 10.1 7 58.1-19.3 97.6-74.5 97.6-139 0.1-80.6-65.3-141.9-146-141.9zm-85.8 200.6c-0.8 0.6-0.6 1.9 0.4 3 0.9 0.9 2.3 1.3 3 0.6 0.8-0.6 0.6-1.9-0.4-3-0.9-1-2.2-1.4-3-0.6zm-6.3-4.7c-0.4 0.8 0.2 1.7 1.3 2.3 0.9 0.6 2.1 0.4 2.5-0.4s-0.2-1.7-1.3-2.3c-1.1-0.4-2-0.2-2.5 0.4zm18.9 20.7c-0.9 0.8-0.6 2.5 0.8 3.6 1.3 1.3 3 1.5 3.8 0.6 0.8-0.8 0.4-2.5-0.8-3.6-1.3-1.4-3.1-1.6-3.8-0.6zm-6.6-8.6c-0.9 0.6-0.9 2.1 0 3.4s2.5 1.9 3.3 1.3c0.9-0.8 0.9-2.3 0-3.6s-2.4-1.8-3.3-1.1z" /></svg></span></a></div></div></div><p>The post <a href="https://www.fixtheexchange.com/2011/09/06/budget-laboratory-part2-iscsi-virtual-san-with-freenas-8/">Budget Laboratory: Part 2 – iSCSI Virtual SAN with FreeNAS 8</a> first appeared on <a href="https://www.fixtheexchange.com">Fix The Exchange!</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
