Hello Anne,
as your suggestion didn't help :( . I started certain further evaluation of this issue.
After this investigation it seems that Windows Server 2004 and 20H2 have issues with Deduplication and non-CSV volume inside a cluster.
Windows Server 2019 is fine. I created a new (Guest-)Cluster with a Windows Server 2019 and everything is working.
Meanwhile, I did come over the fltmc.exe
. This one helped to see what is going on with the Dedup filter.
So, as I create a new volume on a single node an fltmc.exe instances
provides the the correct output:
Dedup 180450 Dedup 0 00000003
Dedup F: 180450 Dedup 0 00000003
After I do switch the volume (the file server role) to the other server and back (same applies already to the other node)
Dedup 180450 Dedup 0 00000003
This result can be reporduced every time.
So it seems, for some reason that Dedup filter cannot be applied as the volume moves.
This behavior isn't seen if the volume is a CSV. CSVs can be moved without any issue.
So, I created a new cluster based on Windows Server 2019 and Dedup works there. After created, moving fltmc.exe instances
shows this result
Dedup 180450 Dedup 0 00000003
Dedup F: 180450 Dedup 0 00000003
For me this means that the initial issue lies at this error:
0x80565309, A required filter driver is either not installed, not loaded, or not ready for service
This error shows in more detail after a try with Enabled-DedupVolume -Volume F: -DataAccess:
Failure reason: FSCTL_DEDUP_FILE.DEDUP_SET_CHUNK_STORE_CACHING_FOR_NON_CACHED_IO failed with ERROR_INVALID_FUNCTION for volume
So something is wrong in connection of Windows Server 2004 & 20H2 with the creation of the Dedup Chunk storage.
At this point, I am sorry: I do not know how to copy data out of the 'F:\System Volume Information\Dedup\' to provide further assistance. Simply for me, those files are inaccessible. Neither Copy-Item
nor Get-Content
provide access from a remote PowerShell (CredSSP is disabled in our environment due to missing knowledge and known security issues). Well, I have solved my issue for now. Even more, with this error in background, I should deploy the file share for my company on Windows Server 2019. I wouldn't have thought before that for a file share this would be an issue, but well de-duplication isn't something easy. ;) :) (Our AD CS servers working quite well on Windows Server with upgrades.)
Moreover, I would like to try out how a Windows Server 2019 behaves inside a Cluster with those 20H2 servers, but there seems to be an incompatibility already. So no chance.
So fr me the issue is closed for now. But, well, I feel that the Microsoft QA should take a deeper look here before the next LTS release of Windows Server comes out with this bug. ;) ;) :)
The good thing for me is, I learned a lot of about volumes, drivers, filter drivers and how all those great things with CSVs work together and why a FileShare on a SOFS is a very bad idea. For sure it is. :D
Kind regards
Felix