[Samba] truecrypt on synology as subfolder

Jeremy Allison jra at samba.org
Fri Apr 29 23:06:36 UTC 2016

On Sat, Apr 30, 2016 at 12:26:35AM +0200, Xen wrote:
> Just a small question.
> ==============
> I was really just meaning to ask whether there are issues with
> running truecrypt inside a samba share.
> My system had never had any issues but now I was writing to a folder
> that is a truecrypt mount inside a samba share and the smbd process
> writing into it blocked or is still "D" waiting for IO and I cannot
> kill it.
> So the question was whether there are issues with running truecrypt
> inside a tree being served by smbd, but I now know that for a fact
> there are :p.
> Still, if you have anything to say on it, please do so.
> Copying a file to my mounted samba share did not work, the files are
> created by they remain at 0 size. Then apparently smbd blocks in IO
> and never continues, never recovers. I cannot kill the process, I
> will have to reboot the NAS but it won't unmount filesystems so I
> need a hard reset.

That sounds like a kernel bug. Samba only uses normal open/pread/pwrite/
close calls which should work on top of truecrypt as far as I know.

More information about the samba mailing list