Missing Files/Folders via SAMBA


f451

Recommended Posts

Hi, 
I have a strange issue with my 6.3.0-rc6. I don't see all the files in one of my subfolders via SAMBA but i saw them direct on the server or with the Web Interface

 

root@nas:/mnt/user/Multimedia/Audio/Hoerbuecher# testparm
Load smb config files from /etc/samba/smb.conf
WARNING: The "null passwords" option is deprecated
WARNING: The "syslog" option is deprecated
WARNING: The "syslog only" option is deprecated
Can't find include file /boot/config/smb-extra.conf
Processing section "[flash]"
Processing section "[cache]"
Processing section "[Data]"
Processing section "[Multimedia]"
Processing section "[appdata]"
Processing section "[domains]"
Processing section "[isos]"
Loaded services file OK.
WARNING: some services use vfs_fruit, others don't. Mounting them in conjunction on OS X clients results in undefined behaviour.

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
        server string = Media server
        workgroup = PRIVAT
        os level = 100
        preferred master = Yes
        syslog = 0
        syslog only = Yes
        disable spoolss = Yes
        load printers = No
        printcap name = /dev/null
        show add printer wizard = No
        unix extensions = No
        map to guest = Bad User
        null passwords = Yes
        passdb backend = smbpasswd
        security = USER
        idmap config * : backend = tdb
        hide dot files = No
        map archive = No
        include = /etc/samba/smb-shares.conf
        wide links = Yes
        acl allow execute always = Yes
        create mask = 0777
        directory mask = 0777
        invalid users = root
        aio read size = 4096
        aio write size = 4096
        use sendfile = Yes


[flash]

.....


[Multimedia]
        path = /mnt/user/Multimedia
        ea support = Yes
        valid users = lan**** sa****
        write list = lan**** sa**
        vfs objects = catia fruit streams_xattr
        fruit:encoding = native
        fruit:locking = none
        fruit:metadata = netatalk
        fruit:resource = file

 

......

 

I have stopped and restarted samba without any changes....
No Disks are excluded and all are included.

Any advice for me?
 

 

sample1.JPG

sample2.JPG

sample3.JPG

Link to comment

Login either on the console or with PutTTY.  on the command line enter   ls -al /mnt/user/Multimedia/Audio

 

Do you have two directories names the same expect for capitalization?   If so that is the problem.  Linux treats  an name and Name  as two unique file/directory names and Windows assumes that they are identical.  In fact, Windows chokes in this situation, will only recognize the first one it 'finds' and ignores the second one!

 

SECOND EDIT:   This often occurs when a Linux Docker, plugin or VM is writting files to the array. 

Edited by Frank1940
Fixed path
Link to comment

Hi Frank,
unfortunately that was not the root cause..... i have also renamed the folder to remove german "umlaute" like öäü

root@nas:~# ls -al /mnt/user/Multimedia/Audio
total 1
drwxrwxrwx 1 nobody users  72 Apr  4 08:56 ./
drwxrwxrwx 1 nobody users 144 Apr  4 03:57 ../
drwxrwxrwx 1 nobody users  96 Apr  2 03:40 Hoerbuecher/
drwxrwxrwx 1 nobody users 672 Mar 20 03:40 Musik/

 

In folder "Hoerbuecher" i have 200 Folders and i pretty sure that no docker has written anything in this folder

Link to comment

Hi,

this are the outputs from the commands :

root@nas:~# ls -lah /mnt/user/Multimedia
total 0
drwxrwxrwx 1 nobody users 144 Apr  4 03:57 ./
drwxrwxrwx 1 nobody users 176 Apr  5 03:40 ../
drwxrwxrwx 1 nobody users  72 Apr  4 08:56 Audio/
drwxrwxrwx 1 nobody users  48 Nov 17 03:40 Bilder/
drwxrwxrwx 1 nobody users 208 Apr  4 03:56 Filme/
drwxrwxrwx 1 nobody users  48 Apr  4 03:57 eBooks/
root@nas:~# ls -lah /mnt/user
total 0
drwxrwxrwx  1 nobody users 176 Apr  5 03:40 ./
drwxr-xr-x 26 root   root  520 Jan 29 22:16 ../
drwxrwxrwx  1 nobody users 160 Mar 19 12:33 .App/
drwxrwxrwx  1 nobody users  72 Apr  5 03:40 Data/
drwxrwxrwx  1 nobody users 144 Apr  4 03:57 Multimedia/
drwxrwxrwx  1 nobody users 320 Jan 29 22:16 appdata/
drwxrwxrwx  1 nobody users  72 Jan 13 19:01 domains/
drwxrwxrwx  1 nobody users 208 Jan  7 03:57 isos/
drwxrwxrwx  1 nobody users  72 Jan 14 03:40 system/

 

looks like everything is ok....stupid problem.

Link to comment

Also, have a look at the 'users'  list on your server.  I have not chosen to implement any restrictions on any of my shares so I am very hazy on details regarding what is involved.  You would again be looking for users with different capitalized.

 

Also post up your diagnostics file. 

Link to comment

Can you:

a) Check if there is a difference in the paths to the files on Disk 6 vs Disk 20 (/mnt/disk6/Multimedia/Audio vs /mnt/disk20/Multimedia/Audio)?

b) See if there is some other common connection on the files that are visible (in the partial screenshot, it looks like the folders on Drive 3 and 6 are visible, but not 8, 16, 18, and 20. Does this hold true for the rest of the files?)

Edited by SnickySnacks
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.