dianlight / hassio-addons

Hassio.io
MIT License
139 stars 48 forks source link

Why automount add share with name in capital letters? #243

Closed Mareckil closed 2 months ago

Mareckil commented 4 months ago

Addon

SambaNAS

Your request

Hi I need share name in lowercase letters, but SambaNAS create it in capitals, even if I manually deleted share and recreated it with name in lowercase letters, after reboot it comes up again with capitals preventing my manual definition from start. How to fix it?

dianlight commented 4 months ago

Cifs is not case sensitive is case preserving so upper or lower share name is the same. Why do you need a lower share name? Keep in mind that smb protocol 1 e 2 supports only uppercase share name, lower case name is an aesthetic thing introduced in smb version 3.

L

Mareckil commented 4 months ago

I need to use my usb drive for frigate so I used samba nas to mount my drive as /media/frigate but it /does it as /media/FRIGATE unfortunately frigate doesn't like it and crashes

dianlight commented 4 months ago

So is not the share name but the mount point name. Your problem, correct me if I'm wrong, is with frigate addon. I'm not in plan to implement a solution for frigate addon and I don't use it. In my opinion mount points need to preserve share names. In an old issue I found a solution with a change in the frigate configuration. I think you can find support on the frigate side.

L.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

juampick commented 4 weeks ago

Hello, having the same issue here. My drive is frigate in lowercase, and Samba NAS is mounting it as FRIGATE. How Can I change that?

juampick commented 4 weeks ago

This is the solution: https://github.com/dianlight/hassio-addons/issues/230 just for reference. @Mareckil . The trick is actually disabling the automount and doing manually the mapping.