Writing to SMB, issues after moving VM off TrueNAS

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Hi All,

I ran a Ubuntu VM on TrueNAS Core for 2 years.
That Ubuntu VM mapped TrueNAS via SMB. (obviously, the same actual physical computer)
I ran qBittorrent, on top of docker on that VM.
qBittorrent wrote directly to a TrueNAS SMB share
This worked totally fine.


I recently built a nice little extra machine, running Proxmox and installed a fresh Ubuntu VM.
I mapped the same SMB paths and got docker, qBittorrent working.
Now I'm seeing a high quantity of "error" from qBittorrent, with the files being downloaded.
Unfortunately, this is totally inconsistent, some work for 5 minutes, then break, some finish, etc.
I have confirmed the torrents are ok, they work on a Windows client.

Google tells me this might be a file writing problem.
I copied my fstab from the old UbuntuVM exactly.

"//192.168.0.9/etcetcetc /mnt/etcetcetc cifs cache=none,credentials=/.smbcredentials,iocharset=utf8, 0 0"

Bear in mind, some files do complete ok unfortunately, indicating to me, that it's unlikely a permissions issue.
I can docker exec -i qbittorrent /bin/bash and even manually make files and folders


This problem began a couple of weeks ago, before I upgraded to 13, so it's not 13.
75 processes: 1 running, 74 sleeping
CPU: 5.9% user, 0.0% nice, 2.9% system, 0.0% interrupt, 91.2% idle
Mem: 1294M Active, 1605M Inact, 5736M Wired, 23G Free
ARC: 3288M Total, 760M MFU, 1293M MRU, 1180K Anon, 45M Header, 1184M Other
1099M Compressed, 3082M Uncompressed, 2.80:1 Ratio
Swap: 12G Total, 12G Free

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
6200 root 1 52 0 178M 136M kqread 3 372:59 64.12% smbd
2023 root 13 20 0 865M 765M kqread 4 30:16 2.59% bhyve
1974 root 13 20 0 545M 427M kqread 7 20:06 2.09% bhyve
408 root 33 25 0 484M 298M kqread 1 10:24 0.89% python3.9

Can anyone smart help? I realise this is a little out of the scope of a TrueNAS fault but it may well be some kind of issue on the NAS.
I have no idea where to begin.

Any idea @Patrick M. Hausen you generally seem on top of stuff?
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Screenshot attached, you can see file movement, ability to write but random drop offs.
Some of them were much higher, 50% written and all kinds of things.
um6HQSh.png
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
In the interests of being thorough.

I have now installed the Windows client for qBittorrent with the same results *and* I have downloaded an older 4.39 version of it, which some people claim, fixes the issues.
XqnfAlb.png



I'm doing to do a little more testing under Windows, with another torrent client, just to be certain.
If I can fault this on another client, I've eliminated it being my linux VM and I've eliminated it being qBittorrent.
 
Top