Summary: | SMBFS transfer very slow and sometimes hangs indefinitely | ||
---|---|---|---|
Product: | Base System | Reporter: | Jean Cyr <jean.m.cyr> |
Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Many People | CC: | brace01, jean.m.cyr, junchoon, laszlo |
Priority: | Normal | ||
Version: | 10.0-RELEASE | ||
Hardware: | i386 | ||
OS: | Any |
Description
Jean Cyr
2014-09-28 06:47:32 UTC
In addition when the copies lock up, all three will be in permanent '90wrq' state. I'm running into the same issue on the latest FreeBSD. 9642 root 1 20 0 78340K 13476K 90wrq 7 0:06 0.00% rsync 9644 root 1 20 0 78380K 11544K select 4 0:06 0.00% rsync The 9642 process cannot even be killed by 'kill -9 9642'. I'm mounting the Windows 10 share with: mount_smbfs -N -E UTF-8:UTF-8 -L en_US.UTF-8 -I 192.168.1.197 //BRACE01@COMEX/mu sic /mnt/vol1/mnt/windows/music The rsync command is: nohup rsync -arv -og --delete --chown=816:816 /mnt/vol1/mnt/windows/music/ /mnt/ vol1/jails/subsonic_1/var/music >> /mnt/vol1/cloud1/music_rsync.log & It runs for awhile but when it gets to the larger files (~100mb each) it gets into this catatonic state as mentioned by Jean. I've had this work previously but the Windows 10 machine was using a LAN cable and is currently on WiFi. I'm thinking it might have something to do with this. Any solutions? (In reply to brace01 from comment #2) Does the latest patch for Bug 90815 [1] help? If the problem is caused by charset conversion of filename, possibly it helps. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=90815 The year is 2022, I still have the same problem. (In reply to László Károlyi from comment #4) Did you try my suggestion at comment #3? There's no feedback both here and Bug 90815. Unfportunately, patch on Bug 90815 is NOT committed. One good news is that rmacklem@ is working on updating smbfs to support SMBv2 and later. [1] Hopefully, remaining problems could be fixed with it. Pray for his work goes successful. [1] https://lists.freebsd.org/archives/freebsd-current/2022-January/001426.html (In reply to Tomoaki AOKI from comment #5) Hey, I haven't tried patching anything since the server is a production server using GENERIC kernel and I don't think it's a good idea to play around with this over there. As for the SMBv2 implementation, I'll keep my fingers crossed. (In reply to László Károlyi from comment #6) FYI: smbfs is NOT built in GENERIC kernel at least for 11.0 and later. It's built as module smbfs.ko and kldload'ed when needed. MARKED AS SPAM |