Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMB shares remain listed even after they are deleted

Featured Replies

I have an odd problem that is driving me crazy. I previously had a share called "Users". I recently deleted all data from that share and then deleted the share itself.  It no longer shows up as a user share in the web UI and it has been removed from the /etc/samba/smb-shares.conf file. I have restarted the array several times and have rebooted the machine as well.

 

No matter what I do, the share still shows up when I browse the available shares over the network, both on Mac and Windows clients. I thought that it was possibly a caching issue with the client(s) so I ran the following command from a linux client on the network:

 

smbclient -L //IP-OF-UNRAID-SERVER -U MYUSER

 

Sure enough, the "Users" share is still listed there.  When trying to connect to the "Users" share I get an error saying the share is not available (which makes sense). Anybody know what is going on here?  Any help would be greatly appreciated.

 

Edit: Running Version 6.11.5

Edited by adrayic

  • 1 year later...

I'm also dealing with this issue today.

Was wondering if you ever found a solution?

Would like to avoid a reboot if I could...

 

EDIT: After trying everything (/etc/rc.d/rc.samba restart, smbcontrol smbd reload-config, ...) I just wanted to move on and suppress the syslog entries generated every time a client (on any platform) tried to view this non-existing folder. So I just recreate the share as a Cache-only share (originally it was Cache➜Array) and 🪄  - resolved!

Apparently 6.12.10 refreshed something and cleaned things up.

Edited by GeneM
Solved.

  • 1 year later...

I'm facing exactly the same problem for at least an year across multiple different unraid versions (7.2.0-rc1 currently) and it's driving me crazy. My situation is pretty similar to the first post: I deleted a few of my old shares a few months ago; they are no longer visible in the WebUI and not listed inside the /etc/samba/smb-shares.conf. Still, I can see the names of those Samba shares when connecting to my server, no matter which device I am connected from:

CleanShot 2025-10-13 at 14.47.19@2x.png

Does anyone have suggestions on how we can narrow this issue down? I’d really appreciate any tips.

On 6/25/2024 at 9:25 PM, GeneM said:

I'm also dealing with this issue today.

Was wondering if you ever found a solution?

Would like to avoid a reboot if I could...

 

EDIT: After trying everything (/etc/rc.d/rc.samba restart, smbcontrol smbd reload-config, ...) I just wanted to move on and suppress the syslog entries generated every time a client (on any platform) tried to view this non-existing folder. So I just recreate the share as a Cache-only share (originally it was Cache➜Array) and 🪄  - resolved!

Apparently 6.12.10 refreshed something and cleaned things up.

Unfortunately, this didn't work for me. I recreated one of those deleted shares and then deleted it again, it's still there unfortunately, even after rebooting.

Edited by Heisenberg7

2 hours ago, Heisenberg7 said:

I'm facing exactly the same problem for at least an year across multiple different unraid versions (7.2.0-rc1 currently) and it's driving me crazy. My situation is pretty similar to the first post: I deleted a few of my old shares a few months ago; they are no longer visible in the WebUI and not listed inside the /etc/samba/smb-shares.conf. Still, I can see the names of those Samba shares when connecting to my server, no matter which device I am connected from:

Try updating to -rc.2, there's a new Samba feature that was enabled by default in -rc.1 that was causing issues for some users.

Hm, given that I've been dealing with this issue for months and I encountered it even when I was using version 6.12.x, I have my doubts that it's connected to the new Samba feature in 7.2.0-rc1. I went ahead and updated to 7.2.0-rc2 anyway, but unfortunately, the issue persists.

35 minutes ago, Heisenberg7 said:

it even when I was using version 6.12.x

Right, then it will be a different issue, possibly Mac specific.

Yeah, I had the same idea a while back and I remember testing it on Windows which had the same issue. Just did another double-check and I can confirm that it seems to be independent of the OS as it also happens on Windows and on Ubuntu:

CleanShot 2025-10-18 at 13.41.18.png

CleanShot 2025-10-18 at 13.42.18.png

Those marked shares were deleted months ago and are no longer visible in Unraid's list of shares:

CleanShot 2025-10-18 at 13.44.39@2x.png

I'm afraid I cannot reproduce, and other than the 7.2.0-beta1 to 7.2.0-rc.1 issues, I'm not aware of any other general SMB related issues. Post the diagnostics in case there's something visible there.

I can't believe it, but the issue is finally sorted out! I made the diagnostics files and looked for any files that contain the names of the deleted shares. Turns out, there was still an smb-extra.conf file that had those deleted shares. After I removed those entries from /boot/config/smb-extra.conf and restarted the samba service with /etc/rc.d/rc.samba restart, the problem was fixed!

Thank you for the suggestion regarding the diagnostics tool! I just wish I had taken this approach sooner, lol.

Edited by Heisenberg7

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.