ResilientChangeTrackingEnabled = true has no effect
See original GitHub issueIf RCT is not enabled, it can’t be enabled using the ResilientChangeTrackingEnabled
property:
using var v = VirtualDisk.Open(@"F:\Hyper-V\Windows XP\Virtual Hard Disks\Windows XP.vhdx", false, false, true);
v.ResilientChangeTrackingEnabled = false;
Does nothing (And it does not throw any error).
From a C++ program, invoking the native function works:
HANDLE vhdHandle;
_VIRTUAL_STORAGE_TYPE storageType{};
DWORD res = OpenVirtualDisk(&storageType, L"F:\\Hyper-V\\Windows XP\\Virtual Hard Disks\\Windows XP.vhdx",
VIRTUAL_DISK_ACCESS_ALL, OPEN_VIRTUAL_DISK_FLAG_NONE, NULL, &vhdHandle);
SET_VIRTUAL_DISK_INFO setDiskInfo{};
setDiskInfo.ChangeTrackingEnabled = true;
setDiskInfo.Version = SET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE;
SetVirtualDiskInformation(vhdHandle, &setDiskInfo);
Please note that ResilientChangeTrackingEnabled = false
(disabling RCT) actually works 😅, so RCT can be disabled, but not enabled.
Issue Analytics
- State:
- Created 9 months ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Windows Server 2019 Hyper-V VM I/O Performance Problem
My server setup is similar to the original, with 2019 Windows Server ... the issue is that Resilient Changed Tracking (RCT) gets enabled...
Read more >HyperV: How to enable Resilient change tracking for ...
Hello I am trying to create a Net 5.0 application for Hyper-v Backup and I would like to use Resilient Change Tracking for...
Read more >Virtual machine backups with resilient change tracking (RCT)
For Microsoft Windows Server 2016 or later versions, the resilient change tracking (RCT) feature is used to back up virtual machines (VMs).
Read more >What Is Resilient Change Tracking in Microsoft Hyper-V?
The resilient change tracking references Hyper-V's ability to be able to keep track of changes even if we have a hard crash or...
Read more >Dell EMC Avamar for Hyper-V User Guide
When the Change CSV ownership option is not selected. ... Select Resilient Change Tracking (RCT) Configuration to use RCT during backup operations.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is now fixed
Yep. Under 32-bit builds the structure aligns correctly so setting the structure field to
1
works. I’ll fix it so it works on both 32 and 64 bit. Thanks for your help.