<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities: Message List - Recovering from broken snapshot chain?</title>
    <link>http://communities.vmware.com/community/vmtn/vi/esx3.5?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 07 Mar 2007 21:58:17 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2007-03-07T21:58:17Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/593289?tstart=0#593289</link>
      <description>We just published KB article 1646892 on the topic. Just FYI...&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://kb.vmware.com/kb/1646892"&gt;http://kb.vmware.com/kb/1646892&lt;/a&gt;</description>
      <pubDate>Wed, 07 Mar 2007 21:58:17 GMT</pubDate>
      <author>SV</author>
      <guid>http://communities.vmware.com/message/593289?tstart=0#593289</guid>
      <dc:date>2007-03-07T21:58:17Z</dc:date>
      <clearspace:dateToText>2 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/537776?tstart=0#537776</link>
      <description>I have posted a more official writeup on my blog about this thread.&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.gorillapond.com/2006/11/26/foot-wounds/"&gt;http://www.gorillapond.com/2006/11/26/foot-wounds/&lt;/a&gt;</description>
      <pubDate>Thu, 21 Dec 2006 18:32:40 GMT</pubDate>
      <author>jones.matt</author>
      <guid>http://communities.vmware.com/message/537776?tstart=0#537776</guid>
      <dc:date>2006-12-21T18:32:40Z</dc:date>
      <clearspace:dateToText>2 years, 11 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/520456?tstart=0#520456</link>
      <description>Excellent piece of work!  Will keep this as a reference, for sure.&lt;br /&gt;
&lt;br /&gt;
I find the whole multi-level VMDK snapshot-thing very innovative but extremely prone to confusion.&lt;br /&gt;
&lt;br /&gt;
Recently had a customer asign both the original VMDK &lt;b&gt;and&lt;/b&gt; one of the snapshots to the same virtual machine.  Talk about confusion.</description>
      <pubDate>Mon, 27 Nov 2006 06:38:11 GMT</pubDate>
      <author>jhanekom</author>
      <guid>http://communities.vmware.com/message/520456?tstart=0#520456</guid>
      <dc:date>2006-11-27T06:38:11Z</dc:date>
      <clearspace:dateToText>3 years, 12 hours ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/520175?tstart=0#520175</link>
      <description>This only worked because I &lt;b&gt;did not modify&lt;/b&gt; the disk in ANY way other than stated above!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Boot GPartEd ISO in new VM with plain (wwcs-read180.vmdk) drive attached&lt;br /&gt;
Shrink partition back to 10GB&lt;br /&gt;
&lt;br /&gt;
Create blank 10GB drive to hold 10GB partition:&lt;br /&gt;
vmkfstools -c 10G -d thick wwcs-read180-10g.vmdk&lt;br /&gt;
&lt;br /&gt;
Copy drive contents using DD, bs and count are set for 10GB drive&lt;br /&gt;
dd if=wwcs-read180-flat.vmdk of=wwcs-read180-10g-flat.vmdk bs=1048576 count=10240&lt;br /&gt;
&lt;br /&gt;
Move broken drive out of the way, name new drive to old name:&lt;br /&gt;
vmkfstools -E wwcs-read180.vmdk wwcs-read180-30gbad.vmdk&lt;br /&gt;
vmkfstools -E wwcs-read180-10g.vmdk wwcs-read180.vmdk&lt;br /&gt;
&lt;br /&gt;
Open snapshot depending on broken VMDK, note parentCID variable:&lt;br /&gt;
nano wwcs-read180-000001.vmdk&lt;br /&gt;
Example: parentCID=b7c9e128&lt;br /&gt;
&lt;br /&gt;
Open fixed VMDK, set CID to value from parentCID.&lt;br /&gt;
nano wwcs-read180.vmdk&lt;br /&gt;
Example: CID=b7c9e128&lt;br /&gt;
&lt;br /&gt;
Boot Up&lt;br /&gt;
&lt;br /&gt;
Change SCSI type? No&lt;br /&gt;
&lt;br /&gt;
Hooray!&lt;br /&gt;
&lt;br /&gt;
I'll be doing a FULL backup and reinstalling this application soon on a fresh VM, I don't trust it after all the hackery I've put it though.&lt;br /&gt;
&lt;br /&gt;
Helpful for how to shink a VMDK: &lt;a class="jive-link-external" href="http://www.vmware.com/community/message.jspa?messageID=423911"&gt;http://www.vmware.com/community/message.jspa?messageID=423911&lt;/a&gt;</description>
      <pubDate>Sat, 25 Nov 2006 22:26:39 GMT</pubDate>
      <author>jones.matt</author>
      <guid>http://communities.vmware.com/message/520175?tstart=0#520175</guid>
      <dc:date>2006-11-25T22:26:39Z</dc:date>
      <clearspace:dateToText>3 years, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/520078?tstart=0#520078</link>
      <description>Databases are always a tricky lot.  Technically ESXranger may have helped you here, but the fact of the matter is any database is going to have issues if you simply copy the files hot, without putting it into a certain mode.  Oracle has RMAN, etc.&lt;br /&gt;
&lt;br /&gt;
Your best bet may be to simply write a script that runs mysqldump , and dumps to a localfilesystem, that is a flat file, then Ranger or VCB would backup the running VM and the dump.</description>
      <pubDate>Sat, 25 Nov 2006 15:07:26 GMT</pubDate>
      <author>soleblazer</author>
      <guid>http://communities.vmware.com/message/520078?tstart=0#520078</guid>
      <dc:date>2006-11-25T15:07:26Z</dc:date>
      <clearspace:dateToText>3 years, 2 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/520002?tstart=0#520002</link>
      <description>That's the rub.. BackupExec wasn't catching an embedded MySQL database in a piece of software on that server. The vendor's documentation didn't mention any special backup instructions or considerations, and now I'm screwed. I guess I have some bad news to give Monday morning!&lt;br /&gt;
&lt;br /&gt;
On a related note: Would ESXRanger or VCB been able to properly backup the MySQL database while the VM was running and the database in use?</description>
      <pubDate>Sat, 25 Nov 2006 03:06:43 GMT</pubDate>
      <author>jones.matt</author>
      <guid>http://communities.vmware.com/message/520002?tstart=0#520002</guid>
      <dc:date>2006-11-25T03:06:43Z</dc:date>
      <clearspace:dateToText>3 years, 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/519876?tstart=0#519876</link>
      <description>Unfortunately if you tried to boot the base VMDK it'll probably have been modified, meaning the snapshot deltas cannot be applied. Youir best bet is probably to restore from backup I'm afraid.</description>
      <pubDate>Fri, 24 Nov 2006 18:57:03 GMT</pubDate>
      <author>mittell</author>
      <guid>http://communities.vmware.com/message/519876?tstart=0#519876</guid>
      <dc:date>2006-11-24T18:57:03Z</dc:date>
      <clearspace:dateToText>3 years, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/519853?tstart=0#519853</link>
      <description>Any tips on how to restore the base VMDK? &lt;br /&gt;
&lt;br /&gt;
Perhaps reduce the NTFS partition to 10GB, then use vmkfstools to shrink the VMDK? Sounds easy in theory, but I don't know exactly where to start.</description>
      <pubDate>Fri, 24 Nov 2006 18:07:02 GMT</pubDate>
      <author>jones.matt</author>
      <guid>http://communities.vmware.com/message/519853?tstart=0#519853</guid>
      <dc:date>2006-11-24T18:07:02Z</dc:date>
      <clearspace:dateToText>3 years, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/519076?tstart=0#519076</link>
      <description>This is a difficult one, the answer is it's going to be quite hard to get it working but you might be able to bodge the VM to accept a snapshot delta if you've restored the base VMDK to it's previous un-modified state. &lt;br /&gt;
&lt;br /&gt;
Take a look at this thread: &lt;a class="jive-link-external" href="http://www.vmware.com/community/thread.jspa?threadID=62412&amp;#38;tstart=0"&gt;http://www.vmware.com/community/thread.jspa?threadID=62412&amp;#38;tstart=0&lt;/a&gt;</description>
      <pubDate>Thu, 23 Nov 2006 09:40:40 GMT</pubDate>
      <author>mittell</author>
      <guid>http://communities.vmware.com/message/519076?tstart=0#519076</guid>
      <dc:date>2006-11-23T09:40:40Z</dc:date>
      <clearspace:dateToText>3 years, 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Recovering from broken snapshot chain?</title>
      <link>http://communities.vmware.com/message/518974?tstart=0#518974</link>
      <description>Here's the situation: I have modified the base VMDK of a snapshot set, breaking the entire chain.&lt;br /&gt;
&lt;br /&gt;
Here's how I shot myself in the foot:&lt;br /&gt;
1. Shutdown VM&lt;br /&gt;
2. Extend base VMDK from 10GB to 30GB&lt;br /&gt;
3. Attach base VMDK to utility VM and extend volume using diskpart&lt;br /&gt;
4. Shutdown utility VM&lt;br /&gt;
5. Fail to boot server because of my bonehead move&lt;br /&gt;
&lt;br /&gt;
Is there a way to recover? I've already restored the server, but I need just a few files I know are after the last snapshot. If I can just recover those files, I will just copy them to the newly restored VM manually.&lt;br /&gt;
&lt;br /&gt;
Thanks for any help or words of advice you can provide!</description>
      <pubDate>Thu, 23 Nov 2006 02:05:05 GMT</pubDate>
      <author>jones.matt</author>
      <guid>http://communities.vmware.com/message/518974?tstart=0#518974</guid>
      <dc:date>2006-11-23T02:05:05Z</dc:date>
      <clearspace:dateToText>3 years, 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
  </channel>
</rss>

