<?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>Solutions Log &#187; Virtualization</title>
	<atom:link href="http://solutions.unixsherpa.com/category/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.unixsherpa.com</link>
	<description>by Dan Reiland</description>
	<lastBuildDate>Fri, 16 Apr 2010 20:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Honor Guest IDE/SATA Flush Requests</title>
		<link>http://solutions.unixsherpa.com/2009/12/07/honor-guest-idesata-flush-requests/</link>
		<comments>http://solutions.unixsherpa.com/2009/12/07/honor-guest-idesata-flush-requests/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 20:43:59 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=226</guid>
		<description><![CDATA[Issue: VirtualBox ignores IDE/SATA disk flush requests. Cause: This is by design. To improve performance VirtualBox ignores these requests. This can create an issue with filesystems that do not have fsck-like tools (ZFS is an example) create a situation where the on disk information is inconsistent due to data held in RAM. Solution: To enable [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue:</strong><br />
VirtualBox ignores IDE/SATA disk flush requests.</p>
<p><strong>Cause:</strong><br />
This is by design. To improve performance VirtualBox ignores these requests. This can create an issue with filesystems that do not have fsck-like tools (ZFS is an example) create a situation where the on disk information is inconsistent due to data held in RAM.</p>
<p><strong>Solution:</strong><br />
To enable flushing for IDE disks, issue the following command:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">VBoxManage setextradata VMNAME <br />
&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;VBoxInternal/Devices/piix3ide/0/LUN#[x]/Config/IgnoreFlush&quot;</span> <span style="color: #000000;">0</span></div></div>
<p>The value [x] that selects the disk is 0 for the master device on the first channel, 1 for the slave device on the first channel, 2 for the master device on the second channel or 3 for the master device on the second channel.</p>
<p>To enable flushing for SATA disks, issue the following command:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">VBoxManage setextradata VMNAME <br />
&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;VBoxInternal/Devices/ahci/0/LUN#[x]/Config/IgnoreFlush&quot;</span> <span style="color: #000000;">0</span></div></div>
<p>The value [x] that selects the disk can be a value between 0 and 29.</p>
<p>Reference: <a href="http://www.virtualbox.org/manual/UserManual.html#id2499944">http://www.virtualbox.org/manual/UserManual.html#id2499944</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/12/07/honor-guest-idesata-flush-requests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shrink VirtualBox vdisks After Freeing Space (Windows guests)</title>
		<link>http://solutions.unixsherpa.com/2009/08/13/shrink-virtualbox-vdisks-after-freeing-space-windows-guests/</link>
		<comments>http://solutions.unixsherpa.com/2009/08/13/shrink-virtualbox-vdisks-after-freeing-space-windows-guests/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 19:35:47 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[compact]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=164</guid>
		<description><![CDATA[Issue: On dynamically allocated vdisks, freed space on a guest is never released back to the host once freed. Cause: This is by design. Resolution: The procedure for shrinking (compacting in VirtualBox parlance) is straightforward and consists of a series of steps. Delete files on the guest to achieve the desired amount of free space [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue:</strong><br />
On dynamically allocated vdisks, freed space on a guest is never released back to the host once freed.</p>
<p><strong>Cause:</strong><br />
This is by design.</p>
<p><strong>Resolution:</strong><br />
The procedure for shrinking (compacting in VirtualBox parlance) is straightforward and consists of a series of steps.</p>
<ol>
<li>Delete files on the guest to achieve the desired amount of free space</li>
<li>Zero free space out with an appropriate utility</li>
<li>Shut down guest</li>
<li>Compact disk</li>
</ol>
<p>Zeroing guest free space is simple: <a href="http://www.microsoft.com">Microsoft</a> provides an excellent utility through its <a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx">Sysinternals</a> group called <a href="http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx">SDelete</a>. Download the program, extract it from the archive, and execute it on the disk to be zeroed. <em>Note: this procedure only zeroes <strong>free</strong> space.</em></p>
<div class="codecolorer-container dos twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sdelete -c</div></div>
<p>One the zeroing procedure is completed, you may power off the guest and compact the virtual disk from the command line.</p>
<div class="codecolorer-container dos twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">VBoxManage modifyvdi /path/to/machine.vdi compact</div></div>
<p><em>Note: This was tested against VirtualBox 3.0.4 r50677</em></p>
<p>References:<br />
<a href="http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx">SDelete</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/08/13/shrink-virtualbox-vdisks-after-freeing-space-windows-guests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install VMware Tools on a Gentoo Guest</title>
		<link>http://solutions.unixsherpa.com/2009/07/08/install-vmware-tools-on-a-gentoo-guest/</link>
		<comments>http://solutions.unixsherpa.com/2009/07/08/install-vmware-tools-on-a-gentoo-guest/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 16:21:01 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=130</guid>
		<description><![CDATA[emerge pciutils mkinitrd mkdir /etc/rc.d cd /etc/rc.d for i in `seq 0 6`; do mkdir rc$i.d; done File -> Install VMware Tools mount /mnt/cdrom cd /tmp tar xvfz /mnt/cdrom/VMwareTools-3.5.0-158874.tar.gz cd vmware-tools-distrib/ ./vmware-install.pl All defaults with the exception of: /etc/rc.d -> location of the rc.d directories /etc/init.d -> location of the init scripts When prompted to [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>emerge pciutils mkinitrd</li>
<li>mkdir /etc/rc.d</li>
<li>cd /etc/rc.d</li>
<li>for i in `seq 0 6`; do mkdir rc$i.d; done</li>
<li>File -> Install VMware Tools</li>
<li>mount /mnt/cdrom</li>
<li>cd /tmp</li>
<li>tar xvfz /mnt/cdrom/VMwareTools-3.5.0-158874.tar.gz</li>
<li>cd vmware-tools-distrib/</li>
<li>./vmware-install.pl</li>
<li>All defaults with the exception of:<br />
/etc/rc.d -> location of the rc.d directories<br />
/etc/init.d -> location of the init scripts</li>
<li>When prompted to run vmware-tools-config, decline</li>
<li>rc-update add vmware-tools default</li>
<li>/usr/bin/vmware-config-tools.pl</li>
<li>Verify that everything compiles without error</li>
<li>Reboot</li>
<li>Verify that VMware tools are reported as running in the VI console</li>
</ol>
<p>Note: This was tested and found working under VMware VI 3.5.x with Gentoo x86_64, kernel 2.6.27-gentoo-r8. </p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/07/08/install-vmware-tools-on-a-gentoo-guest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Where to score xVM Guest Additions</title>
		<link>http://solutions.unixsherpa.com/2009/07/06/where-to-score-xvm-guest-additions/</link>
		<comments>http://solutions.unixsherpa.com/2009/07/06/where-to-score-xvm-guest-additions/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 16:08:22 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[xVM]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=119</guid>
		<description><![CDATA[A simple google search for "xVM Guest Additions" will yield a few links. As of 6 July 2009, Sun has made available an early access version of the additions. It may be found here.]]></description>
			<content:encoded><![CDATA[<p>A simple google search for "xVM Guest Additions" will yield a few links. As of 6 July 2009, Sun has made available an early access version of the additions.</p>
<p>It may be found <a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=Sun-xVM-guestadd-EA3-G-F@CDS-CDS_SMI">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/07/06/where-to-score-xvm-guest-additions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change the UUID of a VirtualBox vdi disk file</title>
		<link>http://solutions.unixsherpa.com/2009/05/13/change-the-uuid-of-a-virtualbox-vdi-disk-file/</link>
		<comments>http://solutions.unixsherpa.com/2009/05/13/change-the-uuid-of-a-virtualbox-vdi-disk-file/#comments</comments>
		<pubDate>Wed, 13 May 2009 14:27:46 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=87</guid>
		<description><![CDATA[You use the VBoxManage command with the clonehd argument. VBoxManage clonehd]]></description>
			<content:encoded><![CDATA[<p>You use the VBoxManage command with the clonehd argument.</p>
<pre>
VBoxManage clonehd
<input.vdi> <output.vdi>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/05/13/change-the-uuid-of-a-virtualbox-vdi-disk-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
