<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to backup VM with two delta file through VDDK in Virtual Disk Development Kit Discussions</title>
    <link>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879500#M2336</link>
    <description>&lt;P&gt;Yes, snapshot MoRef is needed to open quiesced snapshot file in some circumstances, like double snapshot files.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 08:04:37 GMT</pubDate>
    <dc:creator>dbackup</dc:creator>
    <dc:date>2021-11-23T08:04:37Z</dc:date>
    <item>
      <title>How to backup VM with two delta file through VDDK</title>
      <link>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2878946#M2333</link>
      <description>&lt;P&gt;Hello, I have a &lt;SPAN class=""&gt;&lt;SPAN&gt;Virtual Machine on ESXi 7.0:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Guest OS: Microsoft Windows Server 2016 (64-bit)&lt;BR /&gt;Compatibility: VmHardware.HWVersion.long.vmx-19&lt;BR /&gt;VMware Tools: Running, version:11333 (Current)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has only one disk on SCSI controller 0:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;Type: Thick Provision Lazy Zeroed&lt;BR /&gt;Disk File: [d2] 2016/2016.vmdk&lt;BR /&gt;Disk Mode: Dependent&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;quiesced snapshot part&lt;/H1&gt;&lt;P&gt;After creating a&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;EM&gt;&lt;STRONG&gt;quiesced &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;snapshot, I found that it had two delta files(aka child disks) which is strange because only one delta file should be generated:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic1.png" style="width: 999px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/92128i2D34765F20733E2C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="pic1.png" alt="pic1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vCenter shows that the virtual machine is now using &lt;STRONG&gt;[d2] 2016/2016-000001.vmdk:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.png" style="width: 508px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/92129i96FD53CE4219BF46/image-dimensions/508x289/is-moderation-mode/true?v=v2" width="508" height="289" role="button" title="pic2.png" alt="pic2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And &lt;STRONG&gt;Managed Object Browser &lt;/STRONG&gt;shows that the disk recorded in the snapshot is &lt;STRONG&gt;[d2] 2016/2016-000002.vmdk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic3.png" style="width: 999px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/92130i6DF7BF2929E51C77/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="pic3.png" alt="pic3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Obviously I can't open them &lt;STRONG&gt;READ ONLY &lt;/STRONG&gt;through VDDK 7.0.3, NBD transport mode:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;KLog: NBD_ClientOpen: attempting to create connection to vpxa-nfc://[d2] 2016/2016-000001.vmdk@192.168.88.230:902&lt;BR /&gt;KLog: Setting NFC log level to 1&lt;BR /&gt;KLog: Setting NFC log level to 1&lt;BR /&gt;KLog: NFC Async IO session is established for '[d2] 2016/2016-000001.vmdk' with log level 1.&lt;BR /&gt;KLog: Opening file [d2] 2016/2016-000001.vmdk (vpxa-nfc://[d2] 2016/2016-000001.vmdk@192.168.88.230:902)&lt;BR /&gt;KWarning: [NFC ERROR]NfcAioRcvErrorMsg: Error from server: NfcAioProcessOpenFileMsg: Failed to open '[d2] 2016/2016-000001.vmdk': DiskLib error 49: Thin/TBZ/Sparse disks cannot be opened in multiwriter mode&lt;BR /&gt;KLog: Fail to open file [d2] 2016/2016-000001.vmdk&lt;BR /&gt;KLog: DISKLIB-DSCPTR: : "vpxa-nfc://[d2] 2016/2016-000001.vmdk@192.168.88.230:902" : Failed to open NBD extent.&lt;BR /&gt;KLog: DISKLIB-LINK : "vpxa-nfc://[d2] 2016/2016-000001.vmdk@192.168.88.230:902" : failed to open (Thin/TBZ/Sparse disks cannot be opened in multiwriter mode).&lt;BR /&gt;KLog: DISKLIB-CHAIN : "vpxa-nfc://[d2] 2016/2016-000001.vmdk@192.168.88.230:902" : failed to open (Thin/TBZ/Sparse disks cannot be opened in multiwriter mode).&lt;BR /&gt;KLog: DISKLIB-LIB : Failed to open 'vpxa-nfc://[d2] 2016/2016-000001.vmdk@192.168.88.230:902' with flags 0xe Thin/TBZ/Sparse disks cannot be opened in multiwriter mode (49).&lt;BR /&gt;KLog: VixDiskLib: Detected DiskLib error 49 (Thin/TBZ/Sparse disks cannot be opened in multiwriter mode).&lt;BR /&gt;KLog: VixDiskLib: Failed to open disk vpxa-nfc://[d2] 2016/2016-000001.vmdk@192.168.88.230:902!52 26 a2 59 d8 1d 32 3e-af 4e c9 d9 18 f1 5e b5. Error 1 (Unknown error) (DiskLib error 49: Thin/TBZ/Sparse disks cannot be opened in multiwriter mode) at 6469.&lt;BR /&gt;KLog: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [d2] 2016/2016-000001.vmdk. Error 1 (Unknown error) (DiskLib error 49: Thin/TBZ/Sparse disks cannot be opened in multiwriter mode) at 7133.&lt;BR /&gt;KLog: VixDiskLib: VixDiskLib_Open: Cannot open disk [d2] 2016/2016-000001.vmdk. Error 1 (Unknown error) at 7211.&lt;BR /&gt;Failed to open&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;KLog: VixDiskLib: VixDiskLib_OpenEx: Open a disk.&lt;BR /&gt;KLog: 2021-11-19T16:19:01.733+08:00 error -[05958] [Originator@6876 sub=vimaccess] GetFileName: Cannot create disk spec for disk [d2] 2016/2016-000002.vmdk.&lt;BR /&gt;KLog: --&amp;gt;&lt;BR /&gt;KLog: VixDiskLib: Error occurred when obtaining the file name for [d2] 2016/2016-000002.vmdk. Error 1 (Unknown error) (Cannot create disk spec for disk.) at 3344.&lt;BR /&gt;KLog: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [d2] 2016/2016-000002.vmdk. Error 1 (Unknown error) at 7133.&lt;BR /&gt;KLog: VixDiskLib: VixDiskLib_Open: Cannot open disk [d2] 2016/2016-000002.vmdk. Error 1 (Unknown error) at 7211.&lt;BR /&gt;Failed to open&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I &lt;STRONG&gt;CAN &lt;/STRONG&gt;open [d2] 2016/2016.vmdk to read, so I backup the whole [d2] 2016/2016.vmdk disk(not just allocated blocks) through VDDK.&lt;/P&gt;&lt;P&gt;Finally, I restored the disk to the virtual machine. And try to use it to start the virtual machine, but the blue screen is directly displayed when starting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pc4.png" style="width: 574px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/92132i1778881BCC6F125E/image-dimensions/574x420/is-moderation-mode/true?v=v2" width="574" height="420" role="button" title="pc4.png" alt="pc4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;none quiesced snapshot part&lt;/H1&gt;&lt;P&gt;So I created a none quiesced snapshot instead. And it has only ONE delta file as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pc5.png" style="width: 999px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/92134i7933C97D0371A50A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="pc5.png" alt="pc5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I backup [d2] 2016/2016.vmdk through VDDK 7.0.3 and restore to the virtual machine again. And the operating system can be turned on normally this time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;question&lt;/H1&gt;&lt;P&gt;How do I back up this virtual machine with a quiesced snapshot?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 08:40:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2878946#M2333</guid>
      <dc:creator>dbackup</dc:creator>
      <dc:date>2021-11-19T08:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup VM with two delta file through VDDK</title>
      <link>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879266#M2334</link>
      <description>&lt;P&gt;It turns out that i forgot to set up snapshotRef in VixDiskLib_ConnectEx, problem solved.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 07:10:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879266#M2334</guid>
      <dc:creator>dbackup</dc:creator>
      <dc:date>2021-11-22T07:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup VM with two delta file through VDDK</title>
      <link>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879463#M2335</link>
      <description>&lt;P&gt;Did you just have to pass in the snapshot ref name, like "snapshot-1234" into connectEX? I seem to be getting the same errors trying to open snapshot files from quiesced snapshots even when I supply the snapshot ref.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 22:35:24 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879463#M2335</guid>
      <dc:creator>ocdata</dc:creator>
      <dc:date>2021-11-22T22:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup VM with two delta file through VDDK</title>
      <link>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879500#M2336</link>
      <description>&lt;P&gt;Yes, snapshot MoRef is needed to open quiesced snapshot file in some circumstances, like double snapshot files.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 08:04:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879500#M2336</guid>
      <dc:creator>dbackup</dc:creator>
      <dc:date>2021-11-23T08:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup VM with two delta file through VDDK</title>
      <link>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879650#M2337</link>
      <description>&lt;P&gt;In my case, the issue was resolved by using VDDK 6.7 to backup a quiesced snapshot image on a vSphere server running 6.7. The moref snapshot field passed to *ConnectEx appears to have no effect in either 6.7 or 7.0.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 02:23:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Virtual-Disk-Development-Kit/How-to-backup-VM-with-two-delta-file-through-VDDK/m-p/2879650#M2337</guid>
      <dc:creator>ocdata</dc:creator>
      <dc:date>2021-11-24T02:23:37Z</dc:date>
    </item>
  </channel>
</rss>

