I had an existing, encrypted data-only partition. I needed to shrink slightly (to make room for a different partition), so I decrypted it in-place, then resized it. Now I'm trying to re-encrypt it in-place. Whenever I try, Veracrypt says "cannot shrink the filesystem" (to make space for the volume header).
The first suggestion it gives is to make sure there's enough free space. There's more than 150 gigs free.
The second suggestion it gives is to run scandisk. Scandisk reports no errors.
The remaining solution given by VeraCrypt is to basically create a whole separate encrypted partition, and copy the data back and forth. It's 4TB of data - besides being impractically slow, I don't have another 4TB of local storage laying around (my personal backups are on a remote NAS).
How can I get this re-encrypted, like it was just yesterday? I really wish I hadn't decrypted it, now I can't figure out how to get back to where I was....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had an existing, encrypted data-only partition. I needed to shrink slightly (to make room for a different partition), so I decrypted it in-place, then resized it. Now I'm trying to re-encrypt it in-place. Whenever I try, Veracrypt says "cannot shrink the filesystem" (to make space for the volume header).
How can I get this re-encrypted, like it was just yesterday? I really wish I hadn't decrypted it, now I can't figure out how to get back to where I was....
User solved problem by shrinking using Windows Disk Management instead of gparted.
https://github.com/veracrypt/VeraCrypt/issues/1423#issuecomment-2380051670