I am having a little trouble with Veracrypt and ntfs-3g.
Before I talk about that, I have confirmed the ability to use Veracrypt with msdosfs. Veracrypt seems to do the right thing when a reboot happens. Changes to the encrypted volume are synced properly.
msdosfs is a device that is in the kernel. ntfs-3g is userland if I understand things correctly.
I can mount and read an ntfs-3g volume with veracrypt. I can change the mounted volume, for example, by deleting a file. I can confirm the file is deleted via 'ls -la'. I cannot get that change to persist. I cannot unmount the volume using 'veracrypt -d'. A reboot of the system with a mounted ntfs-3g volume does not result in changes to the volume being synced. sync(8) seems to have no effect. When the volume is remounted after reboot, the previously deleted file is still there.
I took a loot at ps -ax. I observed:
The [md0] process is waiting for disk activity. Also, it is odd that there are two veracrypt processes.
I am new to using fuse so there is probably something I am missing here.
Does anyone have any ideas on how I can get my mounted veracrypt ntfs volumes to sync their changes to disk?
Regards,
Jason C. Wells
Before I talk about that, I have confirmed the ability to use Veracrypt with msdosfs. Veracrypt seems to do the right thing when a reboot happens. Changes to the encrypted volume are synced properly.
msdosfs is a device that is in the kernel. ntfs-3g is userland if I understand things correctly.
I can mount and read an ntfs-3g volume with veracrypt. I can change the mounted volume, for example, by deleting a file. I can confirm the file is deleted via 'ls -la'. I cannot get that change to persist. I cannot unmount the volume using 'veracrypt -d'. A reboot of the system with a mounted ntfs-3g volume does not result in changes to the volume being synced. sync(8) seems to have no effect. When the volume is remounted after reboot, the previously deleted file is still there.
I took a loot at ps -ax. I observed:
Code:
1396 - I 0:00.00 veracrypt --filesystem=ntfs-3g --fs-options mountprog=/usr/local/bin/ntfs-3g /dev/da0p1 /home/jcw/test-ntfs
1399 - Is 0:00.06 veracrypt --filesystem=ntfs-3g --fs-options mountprog=/usr/local/bin/ntfs-3g /dev/da0p1 /home/jcw/test-ntfs
1401 - DL 0:00.00 [md0]
1406 - Is 0:00.00 /usr/local/bin/ntfs-3g /dev/md0 /usr/home/jcw/test-ntfs
The [md0] process is waiting for disk activity. Also, it is odd that there are two veracrypt processes.
I am new to using fuse so there is probably something I am missing here.
Does anyone have any ideas on how I can get my mounted veracrypt ntfs volumes to sync their changes to disk?
Regards,
Jason C. Wells