<?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>danejeffrey.com &#187; vcb</title>
	<atom:link href="http://danejeffrey.com/blog/tag/vcb/feed/" rel="self" type="application/rss+xml" />
	<link>http://danejeffrey.com/blog</link>
	<description>Good ways to break things.</description>
	<lastBuildDate>Fri, 09 Mar 2012 06:54:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My Favourite Topic (or Yet Another Lesson in Snapshot-ology)</title>
		<link>http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/</link>
		<comments>http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 07:18:17 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[vcb]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=307</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/' addthis:title='My Favourite Topic (or Yet Another Lesson in Snapshot-ology) '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Another snapshot post. Who new snapshots could be this awesome. Again, the situation is VCB failing to remove the snapshot it took of a VM when the backup job that kicked it off failed (because of lack of disk space in this case). First, vcbSnapshot was used to try and remove it via the VCB [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/' addthis:title='My Favourite Topic (or Yet Another Lesson in Snapshot-ology) ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/' addthis:title='My Favourite Topic (or Yet Another Lesson in Snapshot-ology) '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Another snapshot post. Who new snapshots could be this awesome.</p>
<p>Again, the situation is VCB failing to remove the snapshot it took of a VM when the backup job that kicked it off failed (because of lack of disk space in this case).</p>
<p>First, vcbSnapshot was used to try and remove it via the VCB proxy manually. For one reason or another, this failed and a Consolidate Helper- 0 snapshot is left behind. In the VI Client, it will show no snapshots in Snapshot Manager but a check of the VMDK targets show that the VM is indeed pointing to delta disks.</p>
<p>Tried taking a new snapshot manually to confirm the .vmsd file is not corrupt. The chain appeared good. Used:<br />
<code>vmare-cmd <vm_name>.vmx removesnapshots</code><br />
and received the error:<br />
<code>unable to access file <unknown> since it is locked</code></p>
<p>While looking into the problem, found these excellent resources for the undocumented vmkfstools -D switch which dumps file info to /var/log/vmkernel. It can be used to identify the owner of a file lock which could be causing the above error when trying to commit back the snapshot delta files:</p>
<p><a href="http://vi3.org/download/guides/english/vi3/StoppingaVMandReleasingFiles.pdf">http://vi3.org/download/guides/english/vi3/StoppingaVMandReleasingFiles.pdf</a><br />
<a href="http://blog.core-it.com.au/?p=477">http://blog.core-it.com.au/?p=477</a></p>
<p>In this case, however, I didn&#8217;t go through the process &#8211; instead took the coward&#8217;s way out and used: <code>service mgmt-vmware restart</code> on the host that the VM was running on and then used vmware-cmd to commit the snapshots &#8211; worked fine this time.</p>
<p>So, I would expect that if I had used the -D switch on the VMDK&#8217;s attached to the VM, the owner would have eventually been the ESX Host Agent which would be locking the file on behalf of the VCB request. Must remember to go through the process next time to find out for sure&#8230;</p>
<img src="http://danejeffrey.com/blog/?ak_action=api_record_view&id=307&type=feed" alt="" /><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/' addthis:title='My Favourite Topic (or Yet Another Lesson in Snapshot-ology) ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Consolidated Backup (VCB) 1.5 Update 2 / U2 Released</title>
		<link>http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/</link>
		<comments>http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 10:21:19 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vcb]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=291</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/' addthis:title='VMware Consolidated Backup (VCB) 1.5 Update 2 / U2 Released '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>VMware Consolidate Backup (VCB) 1.5 U2 was released March 11, 2010. Release notes here. The release looks to be only fixes / resolved issues. Most (all?) known issues remain, didn&#8217;t take a look at it in depth. Since data protection vendors are starting to release vStorage API for Data Protection products (Veeam Backup &#038; Replication, [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/' addthis:title='VMware Consolidated Backup (VCB) 1.5 Update 2 / U2 Released ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/' addthis:title='VMware Consolidated Backup (VCB) 1.5 Update 2 / U2 Released '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>VMware Consolidate Backup (VCB) 1.5 U2 was released March 11, 2010. Release notes <a href="http://www.vmware.com/support/vsphere4/doc/vsp_vcb_15_u2_rel_notes.html">here</a>. The release looks to be only fixes / resolved issues. Most (all?) known issues remain, didn&#8217;t take a look at it in depth. </p>
<p>Since data protection vendors are starting to release <a href="http://www.vmware.com/products/vstorage-apis-for-data-protection/">vStorage API for Data Protection</a> products (Veeam Backup &#038; Replication, Symantec NetBackup 7), VCB would likely begin to be phased out in many environments. Not that the vStorage API is a replacement for VCB as such, but it could be a good fit in many environments.</p>
<img src="http://danejeffrey.com/blog/?ak_action=api_record_view&id=291&type=feed" alt="" /><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/' addthis:title='VMware Consolidated Backup (VCB) 1.5 Update 2 / U2 Released ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

