I have done some more checking today on the customers Samba server. I have a script that runs every night and removes deleted files that are older than 30 days. Right now there are approx 1700 files (and directories) deleted the last 30 days. Most, if not all, is office-type files like pdf, xls, doc etc. (Clients run Windows 10, DC is Win server 2019 and Samba server Ubuntu 20.04) The weird thing is that all XLS files are 165 bytes in size, DOC files 162 bytes and PDF?s mostly 0 (as per my earlier post). Let me show some examples here drwxrwx---+ 8 bengt domain users 4096 Dec 18 13:17 Marknad & S?lj drwxrwx---+ 11 bengt domain users 4096 Nov 18 09:48 Personal drwxrwx---+ 3 bengt domain users 4096 Jul 10 06:34 Planering & Beredning drwxrwx---+ 4 bengt domain users 4096 Aug 26 14:14 Produkter drwxrwx---+ 3 bengt domain users 4096 Sep 14 18:40 Projekt & Order drwxrwx---+ 4 cad cam domain users 4096 Dec 18 18:15 Teknik -rw-rw----+ 1 root root 919 Dec 19 17:58 ./files.txt -rw-rw----+ 1 root root 5 Dec 19 17:58 ./count.txt total 128 -rwxrwx---+ 1 cad cam domain users 165 Nov 18 13:12 ~$Plan extern v1.2.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 20 10:41 ~$Plan extern v1.3.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 22 12:27 ~$Plan extern v1.4.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 23 11:56 ~$Plan extern v1.5.xlsx -rwxrwx---+ 1 cad cam domain users 165 Dec 3 14:38 ~$Plan extern v1.7.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 18 13:12 Copy #1 of ~$Plan extern v1.2.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 24 07:51 Copy #1 of ~$Plan extern v1.5.xlsx -rwxrwx---+ 1 cad cam domain users 165 Dec 16 14:03 Copy #1 of ~$Plan extern v1.7.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 18 15:36 Copy #2 of ~$Plan extern v1.2.xlsx -rwxrwx---+ 1 cad cam domain users 165 Dec 18 13:42 Copy #2 of ~$Plan extern v1.7.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 19 11:11 Copy #3 of ~$Plan extern v1.2.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 20 10:06 Copy #4 of ~$Plan extern v1.2.xlsx drwxrwx---+ 2 cad cam domain users 4096 Nov 16 19:00 Fr?s-nc -rwxrwx---+ 1 cad cam domain users 0 Nov 20 10:41 Plan extern v1.3.xlsx -rwxrwx---+ 1 cad cam domain users 0 Nov 22 12:27 Plan extern v1.4.xlsx -rwxrwx---+ 1 cad cam domain users 0 Nov 23 11:56 Plan extern v1.5.xlsx -rwxrwx---+ 1 cad cam domain users 0 Dec 3 14:38 Plan extern v1.7.xlsx drwxrwx---+ 10 cad cam domain users 4096 Dec 1 15:33 Ritningar -rwxrwx---+ 1 cad cam domain users 165 Nov 22 12:27 ./Teknik/~$Plan extern v1.4.xlsx -rwxrwx---+ 1 cad cam domain users 0 Nov 22 12:27 ./Teknik/Plan extern v1.4.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 24 07:51 ./Teknik/Copy #1 of ~$Plan extern v1.5.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 23 11:56 ./Teknik/~$Plan extern v1.5.xlsx -rwxrwx---+ 1 cad cam domain users 0 Nov 20 10:41 ./Teknik/Plan extern v1.3.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 18 15:36 ./Teknik/Copy #2 of ~$Plan extern v1.2.xlsx -rwxrwx---+ 1 cad cam domain users 165 Dec 18 13:42 ./Teknik/Copy #2 of ~$Plan extern v1.7.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 18 13:12 ./Teknik/Copy #1 of ~$Plan extern v1.2.xlsx -rwxrwx---+ 1 cad cam domain users 0 Nov 23 11:56 ./Teknik/Plan extern v1.5.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 20 10:41 ./Teknik/~$Plan extern v1.3.xlsx -rwxrwx---+ 1 cad cam domain users 165 Nov 18 13:12 ./Teknik/~$Plan extern v1.2.xlsx -rwxrwx---+ 1 cad cam domain users 0 Dec 3 14:38 ./Teknik/Plan extern v1.7.xlsx total 64 drwxrwx---+ 2 cad cam domain users 4096 Nov 20 19:00 Anchor drwxr-x---+ 2 cad cam domain users 4096 Oct 3 19:00 BaskSpj?ll drwxr-x---+ 3 cad cam domain users 4096 Dec 1 15:33 Calderys drwxr-x---+ 4 cad cam domain users 4096 Dec 10 11:14 Cortus drwxr-x---+ 3 cad cam domain users 4096 Sep 14 14:13 Cortus Josefine Delmeby 200904 drwxr-x---+ 2 cad cam domain users 4096 Sep 2 19:00 Gunnar drwxr-x---+ 3 cad cam domain users 4096 Aug 14 10:24 H?gan?s Sweaden drwxr-x---+ 5 cad cam domain users 4096 Nov 17 07:47 H?gan?s Sweden total 8 drwxr-x---+ 2 cad cam domain users 4096 Dec 3 15:04 Trumma total 8 -rwxrwx---+ 1 cad cam domain users 0 Dec 3 15:04 Trumma Drawing v1.pdf -rwxrwx---+ 1 cad cam domain users 0 Dec 1 15:33 Trumma.dxf -rwxrwx---+ 1 cad cam domain users 0 Dec 1 15:33 ./Teknik/Ritningar/Calderys/Trumma/Trumma.dxf -rwxrwx---+ 1 cad cam domain users 0 Dec 3 15:04 ./Teknik/Ritningar/Calderys/Trumma/Trumma Drawing v1.pdf total 24 drwxr-x---+ 3 cad cam domain users 4096 Nov 17 07:24 Fredrik Johansson 201008 Fab12 Plattform drwxr-x---+ 3 cad cam domain users 4096 Nov 17 07:47 Pulver drwxr-x---+ 3 cad cam domain users 4096 Oct 21 07:35 Svampen total 8 otal 780 drwxr-x---+ 2 cad cam domain users 4096 Dec 18 18:15 25648-Skydd drwxr-x---+ 2 cad cam domain users 4096 Dec 18 18:15 26,458 Vinsdkydd Elsk?p -rwxrwx---+ 1 cad cam domain users 212893 Dec 9 17:20 Copy #1 of Varmare v2.png -rwxrwx---+ 1 cad cam domain users 0 Dec 9 17:22 Varmare Drawing v2.pdf -rwxrwx---+ 1 cad cam domain users 0 Dec 9 17:20 Varmare v2.png -rwxrwx---+ 1 cad cam domain users 453799 Dec 10 11:11 Varmare v3.png total 0 -rwxrwx---+ 1 cad cam domain users 0 Dec 9 17:22 ./Teknik/Ritningar/Cortus/Varmare Drawing v2.pdf -rwxrwx---+ 1 cad cam domain users 212893 Dec 9 17:20 ./Teknik/Ritningar/Cortus/Copy #1 of Varmare v2.png -rwxrwx---+ 1 cad cam domain users 453799 Dec 10 11:11 ./Teknik/Ritningar/Cortus/Varmare v3.png total 0 -rwxrwx---+ 1 cad cam domain users 0 Dec 9 17:20 ./Teknik/Ritningar/Cortus/Varmare v2.png total 0 total 8 Anders ?stling D?mmegatan 11 SE-25442 Helsingborg Sweden Phone: +46 768 716 165 Skype: anders.ostling at outlook.com
On 2020/12/19 09:14, Anders ?stling via samba wrote:> The weird thing is that all XLS files are 165 bytes in size, DOC files 162 bytes and PDF?s mostly 0 (as per my earlier post). >when a prog creates a tmp file then deletes it with a newer version, you can end up with many small+partial bits. I wouldn't worry about it, though, you could look in the server dir corresponding to those files and see if the same files are present (likely), in which case, the app probably tried creating these small files, then deleted these small ones, and renamed the real one to the final name. (Just from my own experience)...