<?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>vReality</title>
	<atom:link href="http://v-reality.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://v-reality.info</link>
	<description>Cloud is new virtual reality</description>
	<lastBuildDate>Fri, 20 Aug 2010 17:22:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>QLogic 10GbE CNA driver installation bug on ESX 4.1</title>
		<link>http://v-reality.info/2010/08/qlogic-10gbe-cna-driver-installation-bug-on-esx-4-1/</link>
		<comments>http://v-reality.info/2010/08/qlogic-10gbe-cna-driver-installation-bug-on-esx-4-1/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 15:45:26 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=792</guid>
		<description><![CDATA[<p>While installing ESX 4.1 hosts with QLogic CNA adapters I hit a error which prevented installation of required add-on drivers. I was using &#8220;esxupdate&#8221; method to install drivers but all I got was message that no compatible installation bundle was found, even though I was using drivers which are were on ESX 4.1 HCL. (update [...]]]></description>
			<content:encoded><![CDATA[<p>While installing ESX 4.1 hosts with QLogic CNA adapters I hit a error which prevented installation of required add-on drivers. I was using &#8220;<a href="http://v-reality.info/2010/06/using-qlogic-fcoe-adapters-with-vsphere/">esxupdate</a>&#8221; method to install drivers but all I got was message that no compatible installation bundle was found, even though I was using drivers which <del datetime="2010-08-20T17:21:37+00:00">are</del> were on ESX 4.1 HCL. (update on 20th of Aug) VMware has since updated the HCL and removed QLogic 8100 from ESX 4.1 supported CNAs</p>
<p>I double checked VMware HCL and adapter I had, Qlogic 8100 (QLE8152 to be exact), is listed as supported on ESX 4.1 with ethernet driver qlge 1.0.0.39 and FCoE driver qla2xxx 831.k1.23vmw, I had correct drivers so I filed support case to VMware.</p>
<p>While waiting for a reponse from a VMware support I started digging internals of driver zip. Inside of any VMware patch file is a metadata.zip which hosts, like name states, metadata for that particular patch in XML format. I focused my investigation on vmware.xml and in that I noticed something odd, bundle softwarePlatform version was tagged as 4.* but actual driver was tagged to be compatible with 4.0.0. Below is a snippet of XML blocks in question.</p>
<pre>&lt;platforms&gt;
 &lt;softwarePlatform locale="" productLineID="esx" version="4.*" /&gt;
 &lt;softwarePlatform locale="" productLineID="embeddedEsx" version="4.*" /&gt;
&lt;/platforms&gt;

&lt;systemReqs&gt;
 &lt;swPlatform locale="" productLineID="esx" version="4.0.0" /&gt;
 &lt;swPlatform locale="" productLineID="embeddedEsx" version="4.0.0" /&gt;
 &lt;maintenanceMode&gt;true&lt;/maintenanceMode&gt;
&lt;/systemReqs&gt;</pre>
<p>Feeling adventurous I replaced version=&#8221;4.0.0&#8243; with version=&#8221;4.*&#8221; in &lt;systemReqs&gt; block, zipped all files back together and transferred driver zip files to ESX service console.</p>
<p>With a bit excitement I ran esxupdate for FCoE driver, just to get message that bundle is obsolete as newer package is already installed. Quick &#8220;rpm -qa | grep qla&#8221; revealed that indeed there is a 831.k1.28.1-1vmw included in ESX 4.1. So ESX 4.1 actually supports QLogic FCoE out of the box, while working on service console only and relying on VMware HCL that additional drivers are required I had not noticed that FC adapters were already visible.</p>
<p>FCoE solved I ran esxupdate for remaining QLogic 10 GbE driver which this time passed successfully, after a reboot I also had two QLogic 10 GbE adapters visible!</p>
<p>I reported my findings to VMware support  and they came back with confirmation that driver should have been working with ESX 4.1 and that they have reported this error back to ESX engineers for driver fix. So, until there is fixed QLogic 10 GbE CNA driver available from VMware you can fix the driver with instructions above, but please do that with your own responsibility!</p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(792, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 0"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_792_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_792_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/08/qlogic-10gbe-cna-driver-installation-bug-on-esx-4-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VUM 4.1 &#8211; SQL Server 2008 Standard support dropped? &#8211; UPDATED</title>
		<link>http://v-reality.info/2010/07/vum-4-1-sql-server-standard-support-dropped/</link>
		<comments>http://v-reality.info/2010/07/vum-4-1-sql-server-standard-support-dropped/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 11:35:40 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=755</guid>
		<description><![CDATA[<p>There has been talks in VMware Communities and in some blog comments that vCenter Update Manager 4.1 has dropped support for SQL Server 2008 Standard so you would need SQL Server Enterprise edition instead. If you take a look at VMware vCenter Update Manager page on vSphere Compatibility Matrix released on 13th of July, [...]]]></description>
			<content:encoded><![CDATA[<p>There has been talks in VMware Communities and in some blog comments that vCenter Update Manager 4.1 has dropped support for SQL Server 2008 Standard so you would need SQL Server Enterprise edition instead. If you take a look at VMware vCenter Update Manager page on <a title="vSphere Compatibility Matrix" href="http://www.vmware.com/pdf/vsphere4/r40/vsp_compatibility_matrix.pdf" target="_blank">vSphere Compatibility Matrix</a> released on 13th of July, SQL Server 2008 Standard is indeed marked as not compatible, but 2005 SP2 still is.</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/07/vum_41_sql_server_support_matrix.png"><img class="alignnone size-full wp-image-757" title="VUM 4.1 Support Matrix" src="http://v-reality.info/wp-content/uploads/2010/07/vum_41_sql_server_support_matrix.png" alt="VUM 4.1 Support Matrix" width="710" height="318" /></a></p>
<p>I firmly believe that this is error in documentation, so SQL Server 2008 Standard support is not actually dropped on VUM 4.1, it just makes no sense at all to me that SQL Server Express 2005 is marked as supported but Standard is not, Express is so much more limited in its capabilities than Standard. Also SQL Server 2008 Standard is supported with previous releases so it has already been certified, why remove support now?</p>
<p><span style="text-decoration: line-through;">I am still waiting confirmation from VMware on this, but until there is public clarification on this issue check your upgrade plans with VMware support to be sure!</span></p>
<p>Update: I received an answer from VMware today, this is indeed an error in Compatibility Matrix, SQL Server 2008 Standard IS supported with Update Manager 4.1 and error in Compatibility Matrix will be corrected.</p>
<p>One important thing you should note is that as vCenter Server 4.1 is now full-fledged 64-bit application it requires 64-bit DSN, but Update Manager 4.1 is still 32-bit application so it requires 32-bit DSN! <a href="http://www.yellow-bricks.com/2010/07/15/32-bit-odbc-dsn-for-vum-4-1/">See discussion of this at Yellow Bricks </a></p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(755, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 1"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_755_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_755_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/07/vum-4-1-sql-server-standard-support-dropped/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ESX host upgrade to 4.1 using esxupdate</title>
		<link>http://v-reality.info/2010/07/esx-host-upgrade-to-4-1-using-esxupdate/</link>
		<comments>http://v-reality.info/2010/07/esx-host-upgrade-to-4-1-using-esxupdate/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 11:32:16 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=710</guid>
		<description><![CDATA[<p>So vSphere 4.1 is out, here is a quick example how to upgrade ESX 4.0 host to 4.1 using esxupdate on ESX Service Console.</p> <p>Download pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip and upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip files from vmware.com, you need active support subscription for that.</p> Copy both files ESX host Service Console Put host in maintenance mode Run esxupdate with &#8220;update [...]]]></description>
			<content:encoded><![CDATA[<p>So vSphere 4.1 is out, here is a quick example how to upgrade ESX 4.0 host to 4.1 using esxupdate on ESX Service Console.</p>
<p>Download pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip and upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip files from vmware.com, you need active support subscription for that.</p>
<ol>
<li>Copy both files ESX host Service Console</li>
<li>Put host in maintenance mode</li>
<li>Run esxupdate with &#8220;update &#8211;bundle=/path/to/pre-upgrade-zip-file&#8221;</li>
<li>Run esxupdate with &#8220;update &#8211;bundle=/path/to/upgrade-zip-file&#8221;</li>
<li>Reboot</li>
<li>Exit maintenance mode</li>
</ol>
<p>Tip how to put host in maintenance mode using CLI</p>
<pre># vimsh -n -e /hostsvc/maintenance_mode_enter</pre>
<p>Execute pre-upgrade patching</p>
<pre># esxupdate update --bundle=pre-upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip

pre-upgrade-from-ESX4.0-to-4.1.0-0.0.26024.. #################################### [100%]
Unpacking vmware-esx-esxupdate-4.1.0-0.0.2.. #################################### [100%]
Unpacking vmware-esx-uwlibs-4.1.0-0.0.2602.. #################################### [100%]
Unpacking glibc-common-2.5-34.2926.vmw.x86.. #################################### [100%]
Unpacking glibc-2.5-34.2926.vmw.x86_64.vib   #################################### [100%]
Unpacking glibc-2.5-34.2926.vmw.i686.vib     #################################### [100%]
Installing glibc-common                      #################################### [100%]
Installing glibc                             #################################### [100%]
Installing glibc                             #################################### [100%]
Installing vmware-esx-uwlibs                 #################################### [100%]
Installing vmware-esx-esxupdate              #################################### [100%]
Cleaning up vmware-esx-esxupdate             #################################### [100%]
Cleaning up vmware-esx-uwlibs                #################################### [100%]
Cleaning up glibc-common                     #################################### [100%]
Cleaning up glibc                            #################################### [100%]
Cleaning up glibc                            #################################### [100%]</pre>
<p>Execute upgrade patching</p>
<pre># esxupdate update --bundle=upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
Host was not updated, no changes required.
Skipping bulletin ESX410-GA-esxupdate; it is installed or obsoleted.
Unpacking rpm_vmware-esx-likewise-ad.. ########################################## [100%]
... lots of updated RPM packages ...
Cleaning up nss_ldap                   ########################################## [100%]

Running [/usr/sbin/cim-install.sh]...
ok.
Running [/usr/sbin/vmkmod-install.sh]...
ok.
Running [esxcfg-boot -b]...
ok.
The update completed successfully, but the system needs to be rebooted for the
changes to be effective.</pre>
<p>And after succesful patching reboot ESX host</p>
<pre># reboot</pre>
<p>To exit from maintenance mode using CLI run</p>
<pre># vimsh -n -e /hostsvc/maintenance_mode_exit</pre>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(710, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 34"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_710_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_710_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/07/esx-host-upgrade-to-4-1-using-esxupdate/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>EMC Unified Storage &#8211; what&#8217;s new in FLARE 30</title>
		<link>http://v-reality.info/2010/07/emc-unified-storage-whats-new-in-flare-30/</link>
		<comments>http://v-reality.info/2010/07/emc-unified-storage-whats-new-in-flare-30/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 16:02:16 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=681</guid>
		<description><![CDATA[<p>Those EMC customers who missed most EMC World 2010 announcements, like me, will find included video very exciting, it shows new storage efficiency features, and new middle range storage management GUI, coming to CLARiiON CX4 in FLARE 30. New FLARE will be released some time during this summer.</p> <p>Features shown in video are</p> New [...]]]></description>
			<content:encoded><![CDATA[<p>Those EMC customers who missed most EMC World 2010 announcements, like me, will find included video very exciting, it shows new storage efficiency features, and new middle range storage management GUI, coming to CLARiiON CX4 in FLARE 30. New FLARE will be released some time during this summer.</p>
<p>Features shown in video are</p>
<ol>
<li>New CLARiiON and Celerra management GUI called Unisphere, based on Adobe Flex technology</li>
<li>Sub-LUN tiering &#8211; &#8220;VMware DRS&#8221; equivalency for storage medium, will migrate data based on usage between Flash, FC and SATA</li>
<li>Flash cache &#8211; AKA FAST cache, up to 2 terabytes(!) of 2nd level read/write cache</li>
<li>Block level compression &#8211; told to save 30% to 50% on average on your storage consumption</li>
</ol>
<p>It is not told directly in this video but it looks like thin pools will become an standard feature on CX4, at the moment is is sold as an add-on option.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/_py3XRbryt0&amp;hl=en_US&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/_py3XRbryt0&amp;hl=en_US&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>These and new vStorage API integration features make me feel that this is a good time to be EMC customer.</p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(681, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 2"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_681_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_681_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/07/emc-unified-storage-whats-new-in-flare-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Data Recovery 1.2 Linux file level restore client</title>
		<link>http://v-reality.info/2010/07/vmware-data-recovery-1-2-linux-file-level-restore-client/</link>
		<comments>http://v-reality.info/2010/07/vmware-data-recovery-1-2-linux-file-level-restore-client/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 14:02:28 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=556</guid>
		<description><![CDATA[<p>Latest VMware Data Recovery release 1.2 brought file level restore capability (aka FLR) for Linux VMs. Windows FLR client has been officially supported since 1.1, see my previous blog post about it. I did a quick review of using Linux FLR on CentOS Linux.</p> <p>VMware Data Recovery 1.2 documentation says that Linux FLR client [...]]]></description>
			<content:encoded><![CDATA[<p>Latest VMware Data Recovery release 1.2 brought file level restore capability (aka FLR) for Linux VMs. Windows FLR client has been officially supported since 1.1, see my previous <a href="http://v-reality.info/2009/08/vmware-data-recovery-file-level-restores/">blog post</a> about it. I did a quick review of using Linux FLR on CentOS Linux.</p>
<p>VMware Data Recovery 1.2 documentation says that Linux FLR client can be used in following Linux distributions, including both 32-bit and 64-bit versions</p>
<ul>
<li> Red Hat Enterprise Linux (RHEL) 5.4/CentOS 5.4</li>
<li> Red Hat 4.8/CentOS 4.8</li>
<li> Ubuntu 8.04</li>
<li> Ubuntu 8.10</li>
<li> Ubuntu 9.04</li>
</ul>
<p>I have successfully tested it on 64-bit CentOS 5.5, and because so many versions of Ubuntu are listed I&#8217;d guess that FLR client works on any recent Debian releases also, just make sure it has support for FUSE 2.5 or later. If you have custom kernel make sure you have all FUSE dependencies  compiled in. Note that even though your Linux distribution may be 64-bit  version, 32-bit version of FUSE is required. Note the absence of any SuSE or Novell SLES distrubtions from tested and supported list, not that FLR client won&#8217;t work on them though, I am sure it will.</p>
<p>Before you begin you should know that FLR client needs to access VDR appliance TCP port 22024, if your VM and VDR appliance are in different networks make sure that any possible firewalls between them allow this. You also need root privileges on Linux VM to be able to execute FLR client.</p>
<p>To install Linux FLR  client you need to mount VMware Data Recovery appliance ISO to your Linux VM, then cd to LinuxFLR directory on that ISO and untar VMwareRestoreClient.tgz in to a directory you want to install it in, I decided to install FLR client in /opt/vdr.</p>
<p>Like previously brought up Linux FLR client uses Linux FUSE API for accessing the restore point, for FUSE to work on CentOS Linux you need to have &#8220;fuse&#8221; and &#8220;fuse-libs&#8221; packages installed.</p>
<p>On CentOS Linux with access to yum repository, required FUSE packages are installed as simply as</p>
<pre># yum -y install fuse fuse-libs</pre>
<p>Linux FLR client does not come along with SELinux so you need to either disable it or configure it in a way so it will allow FLR client to function. Disabling SELinux will have impact on Linux VM security and may violate your company security policy so you have to fully understand what you are doing if you chose to disable it, because of this I am not showing you an example how to disable SELinux.</p>
<p>Make sure that you have at least one restore point available (one backup   made),  then execute FLR client as root with &#8220;/path/to/VdrFileRestore -a <em>ip-or-name-of-vdr-appliance</em>&#8220;, note capital V on FLR executable.</p>
<p>VdrFileRestore will show you all available restore points, and query which restore point you wish to access</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_vdrfilerestore_execute.png"><img class="alignnone size-full wp-image-566" title="LinuxFLR_vdrfilerestore_execute" src="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_vdrfilerestore_execute.png" alt="" width="595" height="415" /></a></p>
<p>Type in restore point index and press enter</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_mount.png"><img class="alignnone size-full wp-image-570" title="LinuxFLR_mount" src="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_mount.png" alt="" width="595" height="415" /></a></p>
<p>Once restore point is mounted you need to open second session to this Linux host for accessing backup file set. After logged in you can see that there is now new file systems mounted to your system, restore point is mounted under root-user home directory into directory matching backup date and timestamps.</p>
<p>Because restore point is mounted to root-user home directory no-one without root privileges cannot access backup file set, which is a good security measure.</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_df_after_mount.png"><img class="alignnone size-full wp-image-571" title="LinuxFLR_df_after_mount" src="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_df_after_mount.png" alt="" width="707" height="415" /></a></p>
<p>For a system with multiple file systems you should see &#8220;Mount1, Mount2, Mount3 ..&#8221; etc directories for each mount point. This example system is a CentOS default install with /boot and / file systems, /boot is mounted to Mount1, / is mounted to Mount2. CD to mount directory which matches the file system you need to restore files from</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_cd_to_mount2.png"><img class="alignnone size-full wp-image-604" title="LinuxFLR_cd_to_mount2" src="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_cd_to_mount2.png" alt="" width="707" height="415" /></a></p>
<p>Copy files you wish to restore with normal Linux commands and at the end remember to change directory out of backup file set directory. Note that even though backup file set is mounted with read/write access any file changes or deletes from it will not change or remove files from actual VDR backup storage, file changes are simply visible in run-time restore point mount.</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_copy_files.png"><img class="alignnone size-full wp-image-605" title="LinuxFLR_copy_files" src="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_copy_files.png" alt="" width="707" height="550" /></a></p>
<p>After you have copied all files you need, and changed working directory out of backup file set, you may bring up VdrFileRestore session window and close restore point with &#8220;unmount&#8221; command</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_unmount.png"><img class="alignnone size-full wp-image-606" title="LinuxFLR_unmount" src="http://v-reality.info/wp-content/uploads/2010/07/LinuxFLR_unmount.png" alt="" width="595" height="415" /></a></p>
<p>That is simply how you can restore invidual files from VDR backup store.</p>
<p>You can embed FLR client into Linux templates but you should always use matching versions of FLR client and VDR appliance.</p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(556, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 7"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_556_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_556_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/07/vmware-data-recovery-1-2-linux-file-level-restore-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using NexentaStor ZFS storage appliance with vSphere</title>
		<link>http://v-reality.info/2010/06/using-nexentastor-zfs-storage-appliance-with-vsphere/</link>
		<comments>http://v-reality.info/2010/06/using-nexentastor-zfs-storage-appliance-with-vsphere/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 22:25:31 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=485</guid>
		<description><![CDATA[<p>NexentaStor is an storage appliance based on OpenSolaris kernel and its advanced ZFS file system. Latest free Community Edition comes with goodies like online deduplication, transparent compression and snapshots to name few. NexentaStor can share storage over NFS, CIFS, iSCSI, FTP, RSYNC, WebDAV and even FC. On this article I am concentrating using NexentaStor [...]]]></description>
			<content:encoded><![CDATA[<p>NexentaStor is an storage appliance based on OpenSolaris kernel and its advanced ZFS file system. Latest free Community Edition comes with goodies like online deduplication, transparent compression and snapshots to name few. NexentaStor can share storage over NFS, CIFS, iSCSI, FTP, RSYNC, WebDAV and even FC. On this article I am concentrating using NexentaStor NFS shares with VMware vSphere.</p>
<p>NexentaStor is available as commercially supported <a href="http://www.nexenta.com/corp/">enterprise version</a> and as community supported free to use <a href="http://www.nexentastor.org/projects/site/wiki/CommunityEdition">Community Edition</a>. Community Edition is limited to 12 terabytes of used storage, it is also lacking some optional modules available on enterprise version.</p>
<p>I downloaded NexentaStor Community Edition 3.0.3 and installed it on PC I built of some left over components I had at hand. My finished storage appliance consist of</p>
<ul>
<li>AMD Athlon 4850e dual core CPU</li>
<li>Asus M3A78 Pro motherboard</li>
<li>4 GB DDR2 RAM</li>
<li>1 x 80GB Seagate 7200.10 ATA disk as boot drive</li>
<li>5 x 500GB Seagate 7200.11 SATA disks as ZFS pool</li>
<li>Intel X25-M G2 as flash cache</li>
<li>Intel  PRO/1000 PT Quad Port Ethernet adapter</li>
</ul>
<p>Above system fits to NexentaStor hardware recommendations like a glove, 64-bit CPU, 4GB RAM, dedicated spindles for ZFS pool and dedicated boot drive.</p>
<p>Although Community Edition is free, it requires registration key which is unique for each hardware appliance is installed on. You get registration key in email by submitting machine signature to Nexenta, machine signature is generated and presented during appliance installation. I got mine registration key in email within a minute of submitting signature, which was nice.</p>
<p>NexentaStor recognized all of my storage system components correctly and installation was finished 15 minutes later. Once registration was active I was queried of management IP and WebGUI port settings, those set I launched web browser and pointed it to my new storage appliance.</p>
<h2>Configuration wizard</h2>
<p>First step at WebGUI is to set attributes such as host and domain name, NTP server and localization.</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_1.png"><img class="size-full wp-image-487 alignnone" title="NexentaStor configure wizard" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_1.png" alt="" width="443" height="243" /></a></p>
<p>Second step is network configuration,</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_2.png"><img class="alignnone size-full wp-image-490" title="NexentaStor configure wizard" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_2.png" alt="" width="440" height="390" /></a></p>
<p>including iSCSI target settings.</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_3.png"><img class="alignnone size-full wp-image-491" title="NexentaStor configure  wizard" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_3.png" alt="" width="435" height="391" /></a></p>
<p>In third and fourth step you create your ZFS volume, you may also configure any available SSD drives as secondary read cache (L2ARC), or as ZFS intent log device (ZIL) which is used for writes</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_4.png"><img class="alignnone size-full wp-image-506" title="NexentaStor configure wizard" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_4.png" alt="" width="441" height="408" /></a></p>
<h2>SSD as secondary cache</h2>
<p>Employing fast SSDs as secondary disk cache is a really neat feature. SSDs are much larger in sizes and cheaper per gigabyte than RAM and they still provide incredible amount of IOPS, for example even consumer grade SSD Intel X25-M is rated up to 35,000 IOPS on 4k reads! You need approximately 175 15kRPM spindles to deliver that amount of IOPS!</p>
<h2>Folders</h2>
<p>Now that you have your ZFS volume created, you are asked to create folders used as network shares, I created single folder named “nfs”. You can also set ZFS attributes such as deduplication and compression</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_5.png"><img class="alignnone size-full wp-image-507" title="NexentaStor configure wizard" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_wizard_5.png" alt="" width="444" height="410" /></a></p>
<h2>NFS share settings</h2>
<p>Once you save and review your configuration you are finished with configuration wizard. Now select &#8220;<strong>Data Management</strong>&#8221; from top menu, and in drop down list select “<strong>Shares</strong>”</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_shares.png"><img class="alignnone size-full wp-image-510" title="NexentaStor configure" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_shares.png" alt="" width="446" height="154" /></a></p>
<p>If you did not yet enable NFS sharing you may do it now, then click “<strong>Configure</strong>” in “<strong>NFS Server</strong>” box on left side of screen</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_nfs.png"><img class="alignnone size-full wp-image-511" title="NexentaStor configure" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_nfs.png" alt="" width="444" height="287" /></a></p>
<p>Set Server and Client Version to 3, it’s the version vSphere is using and it is recommended by Nexenta to limit NFS version to 3 when using with vSphere, click Save</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_nfs_vers.png"><img class="alignnone size-full wp-image-512" title="NexentaStor configure" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_nfs_vers.png" alt="" width="444" height="288" /></a></p>
<p>Go back to Shares view and click folder link</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_share_options.png"><img title="NexentaStor configure" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_share_options.png" alt="" width="448" height="233" /></a></p>
<p>In this view you see mount point in which folder is available to NFS client, make note of it</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/nexenta_share_mountpoint.png"><img class="alignnone size-full wp-image-514" title="NexentaStor configure" src="http://v-reality.info/wp-content/uploads/2010/06/nexenta_share_mountpoint.png" alt="" width="450" height="290" /></a></p>
<p>If you scroll down the view there is options like deduplication, checksum, compression and access time. Checksum is ZFS feature for detecting data corruption, it works only if you are using RAID-Z or ZFS mirroring, if you use hardware RAID you should disable this since it has small CPU overhead. You might disable access time as well, it is not needed with vSphere datastores and it has small disk IO overhead. You can enable or disable deduplication and compression any time you like, new setting will affect only new data written to ZFS.</p>
<h2>Mounting NFS share to vSphere</h2>
<p>I assume that you have necessary VMkernel port set at ESX so I won&#8217;t go into details with that. Open vSphere Client and mount NAS datastore, folder path is mountpoint you saw at folder settings view</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/vsphere_nas_config.png"><img class="alignnone size-full wp-image-516" title="vSphere NAS config" src="http://v-reality.info/wp-content/uploads/2010/06/vsphere_nas_config.png" alt="" width="459" height="357" /></a></p>
<p>And you have NexentaStor NFS share mounted to vSphere</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/vsphere_datastores.png"><img class="size-full wp-image-517 alignnone" title="vSphere datastores" src="http://v-reality.info/wp-content/uploads/2010/06/vsphere_datastores.png" alt="" width="742" height="197" /></a></p>
<p>NexentaStor and ESX 4.0 both support jumbo frames so you can improve NFS performance by configuring MTU up to 9000k or what is maximum supported by your NICs and/or switches.</p>
<h2>Performance</h2>
<p>I configured my ZFS volume as striped RAID-0 (since this is purely experimental, no valuable data stored in here), I have ZIL enabled and stored at ZFS pool, Intel X25-M SSD as L2ARC (flash cache) device. Compression and deduplication are off.</p>
<p>Raw throughput of NexentaStor NAS is quite good, below is an results of large file write with 8k blocks within CentOS Linux VM</p>
<pre># dd if=/dev/zero of=/sdb/test bs=8k count=838860
838860+0 records in
838860+0 records out
6871941120 bytes (6.9 GB) copied, 58.3875 seconds, 118 MB/s</pre>
<p>and same file read in 8k blocks</p>
<pre># dd if=/sdb/test of=/dev/null bs=8k
838860+0 records in
838860+0 records out
6871941120 bytes (6.9 GB) copied, 79.2254 seconds, 86.7 MB/s</pre>
<p>By looking read performance there might be something wrong with my L2ARC setup as reads are slower than writes, running iostat in storage appliance also reveals that L2ARC device is not read that much. Write performance could be improved a quite lot (to point of GigE saturation at least) by assigning second SSD drive as ZIL device, or I could just disable ZIL altogether but lose on data integrity. Well, I think I&#8217;ll investigate that on some another day.</p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(485, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 0"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_485_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_485_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/06/using-nexentastor-zfs-storage-appliance-with-vsphere/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Qlogic FCoE adapters with vSphere</title>
		<link>http://v-reality.info/2010/06/using-qlogic-fcoe-adapters-with-vsphere/</link>
		<comments>http://v-reality.info/2010/06/using-qlogic-fcoe-adapters-with-vsphere/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 18:30:25 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=397</guid>
		<description><![CDATA[<p>We did our first vSphere with FCoE deployment during past spring, FCoE is still finding its way into data centers so I though to share my experience with it.</p> <p>FCoE adapter is called CNA, Converged Network Adapter. In our case chosen CNA was Qlogic 8100 dual port model, those of you who are using [...]]]></description>
			<content:encoded><![CDATA[<p>We did our first vSphere with FCoE deployment during past spring, FCoE is still finding its way into data centers so I though to share my experience with it.</p>
<p>FCoE adapter is called CNA, Converged Network Adapter. In our case chosen CNA was Qlogic 8100 dual port model, those of you who are using IBM hardware get this adapter under “Qlogic 10Gb CNA for IBM System x” label. Qlogic 8100 adapter, like most FCoE adapters I have seen, has modular SFP+ ports so failed transceiver can be swapped without replacing whole CNA.</p>
<p>Some extra effort during installation is required because ESX 4.0 does not ship with drivers for this adapter, VMware has drivers up for download at downloads.vmware.com instead.</p>
<p>There are two required drivers for this adapter, one for SAN and one for LAN connectivity.</p>
<p>FCoE SAN driver <a href="http://downloads.vmware.com/d/details/esx_esxi40_ql_8100_10gbe_fcoe_cna_dt/ZHcqYmRqZGRidGR3" target="_blank">http://downloads.vmware.com/d/details/esx_esxi40_ql_8100_10gbe_fcoe_cna_dt/&#8230;</a></p>
<p>10 GbE LAN driver <a href="http://downloads.vmware.com/d/details/esx40_ql8100_10039_cna_dt/ZHcqYmRoKmhiZHR3Kg==" target="_blank">http://downloads.vmware.com/d/details/esx40_ql8100_10039_cna_dt/&#8230;</a></p>
<p>You have two options to install these drivers</p>
<ol>
<li>During ESX installation using driver CD provided at links above</li>
<li>Extract driver zip files from driver CDs and transfer them to installed ESX server Service Console, given that you have network access to Service Console</li>
</ol>
<p>Driver CD usage instructions are as stated at vmware.com support</p>
<blockquote>
<ol>
<li>Place the ESX installation DVD in the DVD drive of the host.</li>
<li>Accept the terms of the license agreement.</li>
<li> Select a keyboard type.</li>
<li> When prompted for Custom Drivers, select <strong>Yes</strong> to install  custom drivers.</li>
<li> Click <strong>Add</strong> to eject the ESX installation DVD.</li>
<li> Place the driver CD in the DVD drive of the ESX host.</li>
<li> Select <strong>driver module</strong> to import drivers to the ESX host.</li>
<li> Click <strong>Next</strong> to continue.<br />
A dialog box displays the following message: <tt>Load the system  drivers.</tt></li>
<li> Click <strong>Yes</strong>. After loading the driver module, continue  installing ESX. After the drivers are installed you are prompted to swap  the driver CD with the ESX installation DVD.</li>
</ol>
</blockquote>
<p>If you have already deployed the ESX server and have network access to Service Console for example using legacy ethernet, extract driver zip files from folder &#8220;offline-bundle&#8221; on driver CD and copy them to Service Console. Drivers are then installed with &#8220;esxupdate&#8221; command, see example below</p>
<pre># esxupdate --bundle=qlg.831.k1.23vmw-offline_bundle-207277.zip update

qlg.831.k1.23vmw-offline_bundle-207277.zip      ############################### [100%]
Installing vmware-esx-drivers-scsi-qla2xxx      ############################### [100%]
Cleaning up vmware-esx-drivers-scsi-qla2xxx     ############################### [100%]

Running [/usr/sbin/vmkmod-install.sh]...
ok.
The update completed successfully, but the system needs to be rebooted for the
changes to be effective.

# esxupdate --bundle=qlgc-qlge-100.18-offline_bundle-230584.zip update

qlgc-qlge-100.18-offline_bundle-230584.zip      ############################### [100%]
Unpacking vmware-esx-drivers-net-qlge-400.1.0.0.3.. ########################### [100%]
Installing vmware-esx-drivers-net-qlge          ############################### [100%]

Running [/usr/sbin/vmkmod-install.sh]...
ok.
The update completed successfully, but the system needs to be rebooted for the
changes to be effective.

[root@esx01 ~]# reboot</pre>
<p>After successful driver installation you should see Qlogic10 Gigabit Ethernet adapter</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/qlogic10gbe.png"><img class="alignnone size-full wp-image-434" title="Qlogic 10 Gigabit Ethernet adapter" src="http://v-reality.info/wp-content/uploads/2010/06/qlogic10gbe.png" alt="Qlogic 10 Gigabit Ethernet adapter" width="446" height="186" /></a></p>
<p>and Qlogic 10GbE FCoE storage adapter</p>
<p><a href="http://v-reality.info/wp-content/uploads/2010/06/qlogic10cna.png"><img class="alignnone size-full wp-image-436" title="Qlogic 10 GbE FCoE storage adapter" src="http://v-reality.info/wp-content/uploads/2010/06/qlogic10cna.png" alt="Qlogic 10 GbE FCoE storage adapter" width="444" height="155" /></a></p>
<p>There you have it, FCoE SAN and LAN adapters are ready for use. In this deployment I decided to use on-board legacy GbE ports for Service Console access  and 10 GbE FCoE for virtual machine and VMotion traffic. We might end up using only FCoE on some later deployments, but not until ESX will ship with required drivers.</p>
<h3>Problem with Qlogic FCoE adapter driver and PowerPath/VE</h3>
<p>If you use PowerPath/VE there is one issue you might face. I had problems registering PowerPath/VE license for host with Qlogic FCoE adapter, closer investigation revealed that registration was failing because ESX CIM provider was crashing on CIM modules shipping with Qlogic CNA driver.</p>
<p>Sam from QLogic posted fix for this issue, please read his comment.</p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(397, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 2"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_397_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_397_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/06/using-qlogic-fcoe-adapters-with-vsphere/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Working with Linux volumes on vSphere</title>
		<link>http://v-reality.info/2010/06/working-with-linux-volumes-n-vsphere/</link>
		<comments>http://v-reality.info/2010/06/working-with-linux-volumes-n-vsphere/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 20:58:53 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=216</guid>
		<description><![CDATA[<p>Modern Linux distributions running on VMware vSphere are capable for dynamic storage management, it is possible to create new file systems or extend existing without need to stop services and reboot servers. Here are some examples how to that, these methods work at least on Red Hat and CentOS 5.x distributions.</p> Things to consider [...]]]></description>
			<content:encoded><![CDATA[<p>Modern Linux distributions running on VMware vSphere are capable for dynamic storage management, it is possible to create new file systems or extend existing without need to stop services and reboot servers. Here are some examples how to that, these methods work at least on Red Hat and CentOS 5.x distributions.</p>
<h2>Things to consider with Linux volumes</h2>
<p>If your intention is to use all of your new disk for single file system I recommend that you do not use partitioning, use a plain disk as LVM physical volume instead, it simplifies managing volumes a lot. You could also chose not to use LVM and format new disk as is with ext3 but I do not recommend that, using LVM has many benefits which I might cover on some later articles.</p>
<p>If you need to use partitioning you should be aware of following caveats</p>
<ol>
<li>To avoid performance penalty from file system misalignment you need to match beginning of new partition with underlying storage device using fdisk expert commands</li>
<li>Using partitions makes extending file systems much more complicated compared to using plain disks instead</li>
</ol>
<p>If you fail to align file system properly with your storage, you can lose up to 15% of your available IOPS.</p>
<h2>Attach new disks without reboot</h2>
<p>After new virtual disk have been added to virtual machine you need to rescan new disks in Linux. Scan new disks with command below, replace &#8220;host0&#8243; with SCSI controller ID you added disks to</p>
<pre># echo "- - -" &gt; /sys/class/scsi_host/host0/scan</pre>
<p>use dmesg command to check what new devices have been added, watch for &#8220;Attached scsi disk&#8221; message</p>
<pre># dmesg | tail -n 10 | grep Attached
sd 0:0:1:0: Attached scsi disk sdb</pre>
<p>Now create LVM Physical Volume, Volume Group, Logical Volume and file system on your new disk</p>
<pre># pvcreate /dev/sdb
  Physical volume "/dev/sdb" successfully created
# vgcreate VolGroup01 /dev/sdb
  Volume group "VolGroup01" successfully created
# lvcreate -n LogVol00 -l+100%VG VolGroup01
  Logical volume "LogVol00" created
# mkfs.ext3 /dev/VolGroup01/LogVol00
</pre>
<p>Or if you know that you don&#8217;t need LVM you can simply format plain disk with</p>
<pre># mkfs.ext3 /dev/sdb</pre>
<p>Your new volume is ready for mounting.</p>
<h2>Resizing existing disks</h2>
<p>After virtual disk have been resized you need to rescan changes in Linux. You must know SCSI ID of disk changed, replace 0:0:1:0 in example below with correct SCSI ID</p>
<pre># echo 1 &gt; /sys/bus/scsi/devices/0\:0\:1\:0/rescan</pre>
<p>use dmesg to check that resize is successful, watch for &#8220;capacity change&#8221; message</p>
<pre># dmesg | tail -n 10 | grep change
sdb: detected capacity change from 8589934592 to 17179869184</pre>
<p>if LVM is not used resizing file system can be done with command</p>
<pre># resize2fs /dev/sdb</pre>
<p>Other ways proceed to extend LVM volume</p>
<h2>Extending LVM volume and file system, easy way with no partitions</h2>
<p>Rescan LVM physical volume size change with pvresize, replace sdb with correct device</p>
<pre># pvresize /dev/sdb</pre>
<p>Extend LVM logical volume to new full size of volume group</p>
<pre># lvextend -l+100%VG /dev/VolGroup01/LogVol00</pre>
<p>Now you can resize mounted ext3 file system</p>
<pre># resize2fs /dev/VolGroup01/LogVol00</pre>
<p>And you are done</p>
<h2>Extending LVM volume and file system, hard way with partitions in use</h2>
<p>You cannot resize LVM physical device on partition without reboot, when using single disk your only option is to create new partition on space created by extending disk and use partprobe command to reload partition table without need to reboot. You could also create new disk and extend Volume Group to that.</p>
<p>Create a new partition to existing disk</p>
<pre># fdisk /dev/sdb
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (3134-3916, default 3134):
Using default value 3134
Last cylinder or +size or +sizeM or +sizeK (3134-3916, default 3916):
Using default value 3916

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.</pre>
<p>Run partprobe to reload partition table</p>
<pre># partprobe /dev/sdb</pre>
<p>Create new LVM physical volume to new partition</p>
<pre># pvcreate /dev/sdb2</pre>
<p>Add new physical volume to existing Volume Group</p>
<pre># vgextend VolGroup01 /dev/sdb2</pre>
<p>Extend Logical Volume up to maximum size of Volume Group</p>
<pre># lvextend -l+100%VG /dev/VolGroup01/LogVol00</pre>
<p>Finally you can resize mounted ext3 file system</p>
<pre># resize2fs /dev/VolGroup01/LogVol00</pre>
<p>Done. See how much work there is when using partitions? There is absolutely no point at all to create partition table for standard ext3 file system when intention is to use whole disk for single file system.</p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(216, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 0"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_216_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_216_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2010/06/working-with-linux-volumes-n-vsphere/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vizioncore releases vConverter for unlimited free use</title>
		<link>http://v-reality.info/2009/09/vizioncore-vconverter-sc-for-unlimited-free-use/</link>
		<comments>http://v-reality.info/2009/09/vizioncore-vconverter-sc-for-unlimited-free-use/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 12:48:10 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=209</guid>
		<description><![CDATA[<p>Vizioncore released today their vConverter SC tool for unlimited free use. vConverter SC can do physical to virtual migrations for VMware ESX, Microsoft Hyper-V and Citrix XenServer platforms.</p> <p>http://vizioncore.com/products/vConverter/vConverterSC.php</p> ]]></description>
			<content:encoded><![CDATA[<p>Vizioncore released today their vConverter SC tool for unlimited free use. vConverter SC can do physical to virtual migrations for VMware ESX, Microsoft Hyper-V and Citrix XenServer platforms.</p>
<p><a href="http://vizioncore.com/products/vConverter/vConverterSC.php">http://vizioncore.com/products/vConverter/vConverterSC.php</a></p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(209, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 0"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_209_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_209_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2009/09/vizioncore-vconverter-sc-for-unlimited-free-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Data Recovery, file level restores</title>
		<link>http://v-reality.info/2009/08/vmware-data-recovery-file-level-restores/</link>
		<comments>http://v-reality.info/2009/08/vmware-data-recovery-file-level-restores/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 06:41:57 +0000</pubDate>
		<dc:creator>Tomi Hakala</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://v-reality.info/?p=129</guid>
		<description><![CDATA[<p>VMware Data Recovery (VDR) backup solution has support for file level restore, or FLR as VMware calls it in context of VDR product. Even though FLR is still experimental feature it hasn&#8217;t failed me yet. FLR is currently available only for Windows XP, Vista, 2003 and 2008 virtual machines, there is no word about [...]]]></description>
			<content:encoded><![CDATA[<p>VMware Data Recovery (VDR) backup solution has support for file level restore, or FLR as VMware calls it in context of VDR product. Even though FLR is still experimental feature it hasn&#8217;t failed me yet. FLR is currently available only for Windows XP, Vista, 2003 and 2008 virtual machines, there is no word about Linux support but it is most likely coming.</p>
<p>To use FLR functionality you need command line FLR client on Windows VM protected by VDR appliance. FLR client is just a single executable <em>vdrFileRestore.exe</em> which is available at same download page you got VDR appliance from.</p>
<p><span id="more-129"></span></p>
<p>If you are not familiar with VDR appliance let me explain it shortly. After that I&#8217;ll show how FLR works.</p>
<p>VMware Data Recovery is a pre-installed Linux appliance which is imported into your vSphere cluster. VDR has GUI which will integrate with help of plugin onto vSphere client. VDR backup works by creating restore points for each of your VM virtual disks you wish to backup. Restore point is kind of full copy of virtual machine state at that current point in time when backup was created. VDR utilizes de-duplication on backup storage and it is very efficient to save backup storage space. VDR can use CIFS share or virtual disk as backup medium, that makes restoring data very quick. There is no support for tape backups.</p>
<p><img class="alignnone size-full wp-image-169" title="VDR Restore Points" src="http://v-reality.info/wp-content/uploads/2009/08/vdr_restore_points.png" alt="VDR Restore Points" width="568" height="432" /></p>
<p>FLR client works by mounting restore point into Windows VM as read only disk, from that disk you can restore invidual files or whole directories by copying them with standard Windows explorer.</p>
<p>To start using FRL download and copy <em>vdrFileRestore.exe</em> into your Windows VM, place it into some directory and make sure it is on PATH environment.</p>
<p>Make sure you have restore points available for you VM and execute <em>vdrFileRestore.exe -a &#8220;IP or DNS name of your VDR&#8221;</em> on Windows command line. FLR client uses unique BIOS id to identify which restore points it should make available for mounting for each VM.</p>
<p><img class="alignnone size-full wp-image-160" title="FLR Restore Points" src="http://v-reality.info/wp-content/uploads/2009/08/flr_restore_points.png" alt="FLR Restore Points" width="661" height="340" /></p>
<p>FLR client will query which restore point in time you wish to mount</p>
<p>After you selected restore point FLR client will do some of its magic and backup of your Windows drives will show up in your VM as additional drives, FLR client will tell you which drive backup is available at which drive letter.</p>
<p><img class="alignnone size-full wp-image-164" title="FLR Restore Points Mounted" src="http://v-reality.info/wp-content/uploads/2009/08/flr_restore_points_mounted.png" alt="FLR Restore Points Mounted" width="656" height="465" /></p>
<p>After you copied files you need, type &#8220;unmount&#8221; and press enter. This will close restore point mounts and FLR client will exit.</p>
<div class="thanks_button_div" style="float: left; margin-right: 10px;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(129, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 0"
                class="thanks_button thanks_custom_button "
                style="background-image:url(http://v-reality.info/wp-content/uploads/2010/07/thankyou_button.png);width:110px; height:30px; font-family: calibri,arial,sans-serif; font-size: 15px; font-weight: bold;; color:#ffffff;"
                id="thanksButton_129_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_129_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://v-reality.info/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div>]]></content:encoded>
			<wfw:commentRss>http://v-reality.info/2009/08/vmware-data-recovery-file-level-restores/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
