Leander Schäfer
2014-May-05 11:22 UTC
[Samba] recycle: ... returned No such file or directory
Hi, recently I see lots of logs like this. I figured, that many have umlaute in their name - but not all. My local FS displays the umlaute correctly - but it is not displayed correctly in the logfiles. Also, when I browse through shares via Windows or MacOSx all files with umlaute seem to be displayed correctly. May 5 08:27:54 Storage-01 smbd[39207]: recycle: stat for /mnt/Share/.Trashes/Projekte/Bauvorhaben 2014/Bahngel??nde/Bilder/2 Baubilder/IMG_0223.JPG:AFP_AfpInfo returned No such file or directory May 5 08:27:56 Storage-01 smbd[39207]: [2014/05/05 08:27:56.500661, 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) May 5 08:29:26 Storage-01 smbd[39207]: recycle: stat for /mnt/Share/.Trashes/Projekte/Bauvorhaben 2014/Bahngel??nde/Bilder/2 Baubilder/Copy #1 of DSC04806.JPG:AFP_AfpInfo returned No such file or directory May 5 08:29:30 Storage-01 smbd[39207]: [2014/05/05 08:29:30.286152, 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) May 5 08:44:25 Storage-01 smbd[16465]: recycle: stat for /mnt/Share/.Trashes/Firmen/Allgemein/Bilder/Hof Bilder/IMG_0042.JPG:AFP_AfpInfo returned No such file or directory May 5 08:45:32 Storage-01 smbd[16465]: [2014/05/05 08:45:32.488777, 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) May 5 08:47:41 Storage-01 smbd[16465]: recycle: stat for /mnt/Share/.Trashes/Technik/Elektrotechnik/01 Erneuerbare Energien/Photovoltaik/PV Bahnhof Stra?M-^_e 6/Bilder/DSC04893.JPG:AFP_AfpInfo returned No such file or directory May 5 08:47:42 Storage-01 smbd[16465]: [2014/05/05 08:47:42.631792, 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) I have following settings in my smb4.conf [ ... ] # Charset unix charset = UTF-8 dos charset = cp1252 [ ... ] FS below is a ZFS
Leander Schäfer
2014-May-05 15:22 UTC
[Samba] recycle: ... returned No such file or directory
I also ensured my system's locale is set correctly root at Storage-01 [~]$ locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_COLLATE=C LC_TIME="de_DE.UTF-8" LC_NUMERIC=C LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_ALL I don't get the source of the problem here?! According to my understanding everything is set correctly, yet it looks like I'm missing some locale-settings - or this is a bug?! Lately I more and more think it is a bug, because I haven't had this logs with the previous samba41. Now I'm running Version 4.1.7 ... and I keep on getting those weired logs even though nothing else on the system has changed ... ;/ Any idea what to do here or where to continue debugging? Thanks Kind Regards Leander Am 05.05.14 13:22, schrieb Leander Sch?fer:> Hi, > > recently I see lots of logs like this. I figured, that many have > umlaute in their name - but not all. My local FS displays the umlaute > correctly - but it is not displayed correctly in the logfiles. > Also, when I browse through shares via Windows or MacOSx all files > with umlaute seem to be displayed correctly. > > May 5 08:27:54 Storage-01 smbd[39207]: recycle: stat for > /mnt/Share/.Trashes/Projekte/Bauvorhaben 2014/Bahngel??nde/Bilder/2 > Baubilder/IMG_0223.JPG:AFP_AfpInfo returned No such file or directory > May 5 08:27:56 Storage-01 smbd[39207]: [2014/05/05 08:27:56.500661, > 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) > > May 5 08:29:26 Storage-01 smbd[39207]: recycle: stat for > /mnt/Share/.Trashes/Projekte/Bauvorhaben 2014/Bahngel??nde/Bilder/2 > Baubilder/Copy #1 of DSC04806.JPG:AFP_AfpInfo returned No such file or > directory > May 5 08:29:30 Storage-01 smbd[39207]: [2014/05/05 08:29:30.286152, > 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) > > May 5 08:44:25 Storage-01 smbd[16465]: recycle: stat for > /mnt/Share/.Trashes/Firmen/Allgemein/Bilder/Hof > Bilder/IMG_0042.JPG:AFP_AfpInfo returned No such file or directory > May 5 08:45:32 Storage-01 smbd[16465]: [2014/05/05 08:45:32.488777, > 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) > > May 5 08:47:41 Storage-01 smbd[16465]: recycle: stat for > /mnt/Share/.Trashes/Technik/Elektrotechnik/01 Erneuerbare > Energien/Photovoltaik/PV Bahnhof Stra?M-^_e > 6/Bilder/DSC04893.JPG:AFP_AfpInfo returned No such file or directory > May 5 08:47:42 Storage-01 smbd[16465]: [2014/05/05 08:47:42.631792, > 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch) > > I have following settings in my smb4.conf > [ ... ] > # Charset > unix charset = UTF-8 > dos charset = cp1252 > [ ... ] > > FS below is a ZFS
Leander Sch?fer wrote:> > I have following settings in my smb4.conf > [ ... ] > # Charset > unix charset = UTF-8 > dos charset = cp1252---- BTW -- are you really using DOS?? Setting that for Windows NT might cause problems. Only charset param I have in my smb.conf(3.6.22) is: display charset=UTF-8
Helmut Hullen
2014-May-10 06:32 UTC
[Samba] recycle: ... returned No such file or directory
Hallo, Leander, Du meintest am 05.05.14:> recently I see lots of logs like this.What have you changed recently? (ok - I know that's perhaps difficult to find)> I figured, that many have > umlaute in their name - but not all.But then it's possible that this problem is not related to the umlauts.> My local FS displays the umlaute > correctly - but it is not displayed correctly in the logfiles. > Also, when I browse through shares via Windows or MacOSx all files > with umlaute seem to be displayed correctly.Just for playing with possibilities: create a file "?ber b?se L?nder" copy it try to delete the copy rename it to (perhaps) "?ber b?se L?nder" try to delete it> May 5 08:27:54 Storage-01 smbd[39207]: recycle: stat for > /mnt/Share/.Trashes/Projekte/Bauvorhaben 2014/Bahngel??nde/Bilder/2 > Baubilder/IMG_0223.JPG:AFP_AfpInfo returned No such file or directory > May 5 08:27:56 Storage-01 smbd[39207]: [2014/05/05 08:27:56.500661, > 0] ./source3/modules/vfs_recycle.c:408(recycle_do_touch)I'm using Samba since years, I've never seen a "recycle" error message. Where resides "Storage-01" - sounds like NAS ... Runs the machine some kind of backup which moves files?> FS below is a ZFSCan you create another share somewhere in your system with another file system? --------------------------- Searching for "samba recycle_do_touch" showed some older messages where the problem seemed to be related with "time" - don't know if that's helpful. Viele Gruesse! Helmut
Apparently Analagous Threads
- 2x Samba4 Bugs - "mount error(5): Input/output error" & "recycle: stat for ... AFP_AfpInfo returned No such file or directory"
- unknown tag type 64 / recycle: stat for *:AFP_AfpInfo returned No such file or directory
- Extended attributes not working on mac
- remove_index appends suffix "_index" to the given name!
- MacOS clients - best options