MacOS creates new connections to Samba with a dash and number

  • Hello, I use OMV7 on a Raspberry Pi 4.

    I mostly access the samba shares with my Mac Mini M1 running MacOS17.


    The smb server is titled 'omv' so I can see the server on the network as 'omv - SMB/CIFS'.


    The problem is over time the Mac will disconnect from the shares and when I go to reconnect a new share is created with a dash and number behind it.

    This forces me to re-enter my credentials because the name of the shares has changed.


    It will change to 'omv-3 - SMB/CIFS' and the number will continue to increase until I reboot the mac and it starts over.


    This is how my nsmb.conf file is configured. I found these suggestions on various sites.


    I should mention I do not have this problem on my Windows machine.

  • crashtest

    Approved the thread.
  • I assume to actually mean MacOS15, not 17, and since 15 (Sequoia) was only released 10 days ago, you may have to wat a bit for some help since it is so new and Apple is notorious for making major changes from os version to os version.


    That said, I have built several omv systems for people that have macs connecting to them running os versions from the later 10.x up to 13 (Ventura) for sure or perhaps even 14 (Sonoma), on both wired and wireless connections, and have never seen that problem. I have seen other problems related to the way apple has modified samba, but never that problem.


    My question to you is: Was this problem happening on a previous OS version, assuming that your sequoia install is an update and not the only os on a brand new mac? If the problems is new since an OS upgrade, someone running sequoia will have to try to help, but that may take a while.


    Also, perhaps the issue is not an omv issue though. Are you connecting from Wifi or a wired connection. If wifi, perhaps your wifi is dropping periodically. If wired, try re-seating your ethernet cable or replacing it. I also recall older macos upgrades that caused strange network problems until a patch was released and from what I see, os15.1 is in beta 5 right now so will probably be out shortly. With an update coming that close after release, there will probably be several major bug fixes, so the problem may be addressed with it.

  • BernH Sorry, was thinking of my iPad while writing that. I am on MacOS 14.6.1 Sonoma.


    I only just recently purchased this Mac Mini M1 so I can't say if the problem exists on later or new OSes. I am planning on upgrading to Sequoia this weekend.


    I am connected using a wired connection, and all the devices on my network have static ip addresses.

  • BernH Sorry, was thinking of my iPad while writing that. I am on MacOS 14.6.1 Sonoma.


    I only just recently purchased this Mac Mini M1 so I can't say if the problem exists on later or new OSes. I am planning on upgrading to Sequoia this weekend.


    I am connected using a wired connection, and all the devices on my network have static ip addresses.

    I don't personally run mac, but I have them at my office and several friends are using them on omv systems I set up for them. I can tell you that the 9 or 10 systems I have at the office do not experience the problem, but they are all currently running Ventura, but have also been on older os's too.


    One of my buddies was on Sonoma, and I believe he just updated to Sequoia, but he doesn't normally stay connected to the samba shares of OMV so I don't know if he might be seeing a similar issue if he were to stay connected.


    None of the systems I have deployed are running on a Raspberry Pi, so that is another variable that I can't advise you on.


    As I mentioned above, try a different ethernet cable, just on the off chance you have one that is causing intermittent problems either do to broken connections or perhaps has been squished and has it's twists messed up or it's internal jackets deformed changing the cable capacitance.


    The other thing I would suggest on the mac, since you are wired, is to make sure that the wired connection is in the first slot of the service priority screen, and to either turn off the wifi connection completely or at the very least, make sure it is not connected to your wifi network (forget the connection), without the wifi connection, you will still be able to use the apple sync/links from other devices.


    The reasoning for these two points are that Mac OS always tries to make it's connections through the device that is in the first slot of the service priority, so if that isn't your wired connection, you could be seeing problems there (I have seen this be an issue, particularly on the newer systems where wifi is in the first position because apple seems to think that everything is wireless now). Also having 2 different connections to the same machine on a single network (wired and wireless), can cause routing problems on your network, and can also cause problems like you are describing simply because the other network devices don't know which connection to your mac they should be using.

  • I will give your suggestions a try and report back.

  • BernH Fingers Crossed. It looks like maybe the wifi connection was the issue. I thought I needed to be connected to the same wifi network for continuity stuff but I didn't, it seems.


    It has been a day and a half and no new connections have appeared.


    Thank you for your help!

  • BernH Fingers Crossed. It looks like maybe the wifi connection was the issue. I thought I needed to be connected to the same wifi network for continuity stuff but I didn't, it seems.


    It has been a day and a half and no new connections have appeared.


    Thank you for your help!

    You are welcome. Hopefully the good results continue. Glad to help.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!