Brandon Evans - 2018-07-26

So I am having a problem creating a Veracrypt encrypted file container on my NAS. When I try to create it, I go through all the normal steps, but a minute or two after clicking the final Format button, it errors out with the message "The handle is invalid. Source: volTransformThreadFunction:2738", and then says "Failed to create volume".

This only seems to happen with very large volumes; over 5TB. I can successfully create 1 TB or 2 TB volumes from the same machine on to the same storage. The volume on the NAS where I am trying to create this container is formatted as NTFS. It is a 17TB volume with 12TB currently free.

I have tried rebooting the NAS where I am trying to create the volume (several times), and rebooting and reinstalling Veracrypt on the machines I am trying to use to create the volume.

I have tried using AES, Serpent, and Twofish. I have tried SHA-512, SHA-256, and Whirlpool for the Hash agorithm. I have tried formatting it as exFAT and NTFS. I have tried most of these different options from all of the following machines: a VM running Windows Server 2016, a VM running Windows 7, a VM running Windows 10, and two different physical machines running Windows 10, both with brand new clean installs of Windows.

Whatever I try, I get the exact same error message every time I try to create a volume over 4TB.

Anybody know what this error means or how to get around it?