Only one out of six SMB shares is really up and running.

The_Mooo

Cadet
Joined
May 7, 2020
Messages
5
Hi,

after more then 6 hours of playing try and error to get this solved, I gave up. Now it is time to ask someone who knows that stuff better than me.

Well, I have set up my freenas some time ago and it had worked like a charm. When trying to access my SMB shares yesterday, it has stopped working.
After checking (and saving) all settings in freenas only one out of six shares came up again.
Neither Windows or Freenas has done an update in between.

These should be available:

2020-05-07 15_01_30-Window.png


This is the only one which is...
2020-05-07 15_00_27-Administrator_ C__Windows_System32_cmd.exe.png



As this is driving me nuts, any hint is appreciated!

Thanks in advance
Moo
 

Attachments

  • 2020-04-06 10_08_50-Window.png
    2020-04-06 10_08_50-Window.png
    42.8 KB · Views: 240

The_Mooo

Cadet
Joined
May 7, 2020
Messages
5
Tnank you for the fast reply. Output is below. As expected, only "Stefan" is present.

Code:
Warning: settings changed through the CLI are not written to
the configuration database and will be reset on reboot.

root@freenas[~]# testparm -s
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
        aio max threads = 2
        bind interfaces only = Yes
        disable spoolss = Yes
        dns proxy = No
        enable web service discovery = Yes
        kernel change notify = No
        load printers = No
        logging = file
        max log size = 51200
        nsupdate command = /usr/local/bin/samba-nsupdate -g
        restrict anonymous = 2
        server min protocol = SMB2_02
        server role = standalone server
        server string = FreeNAS Server
        unix extensions = No
        username map = /usr/local/etc/smbusername.map
        username map cache time = 60
        idmap config *: range = 90000001-100000000
        idmap config * : backend = tdb
        allocation roundup size = 0
        directory name cache size = 0
        dos filemode = Yes
        include = /usr/local/etc/smb4_share.conf


[Stefan]
        aio write size = 0
        ea support = No
 

The_Mooo

Cadet
Joined
May 7, 2020
Messages
5
Here it is:

Code:
        nfs4:acedup = merge
        nfs4:chown = true
root@freenas[~]# midclt call sharing.smb.query | jq
[
  {
    "id": 2,
    "path": "/mnt/Datengrab/Annett",
    "home": false,
    "timemachine": false,
    "name": "Annett",
    "comment": "",
    "ro": false,
    "browsable": true,
    "recyclebin": false,
    "showhiddenfiles": false,
    "shadowcopy": true,
    "guestok": false,
    "guestonly": false,
    "abe": false,
    "hostsallow": [],
    "hostsdeny": [],
    "vfsobjects": [
      "ixnas",
      "streams_xattr"
    ],
    "vuid": "",
    "auxsmbconf": "",
    "enabled": false
  },
  {
    "id": 4,
    "path": "/mnt/Datengrab/Bab",
    "home": false,
    "timemachine": false,
    "name": "Bab",
    "comment": "",
    "ro": false,
    "browsable": true,
    "recyclebin": false,
    "showhiddenfiles": false,
    "shadowcopy": true,
    "guestok": false,
    "guestonly": false,
    "abe": false,
    "hostsallow": [],
    "hostsdeny": [],
    "vfsobjects": [
      "ixnas",
      "streams_xattr"
    ],
    "vuid": "",
    "auxsmbconf": "",
    "enabled": false
  },
  {
    "id": 3,
    "path": "/mnt/Datengrab/Benedikt",
    "home": false,
    "timemachine": false,
    "name": "Benedikt",
    "comment": "",
    "ro": false,
    "browsable": true,
    "recyclebin": false,
    "showhiddenfiles": false,
    "shadowcopy": true,
    "guestok": false,
    "guestonly": false,
    "abe": false,
    "hostsallow": [],
    "hostsdeny": [],
    "vfsobjects": [
      "ixnas",
      "streams_xattr"
    ],
    "vuid": "",
    "auxsmbconf": "",
    "enabled": false
  },
  {
    "id": 6,
    "path": "/mnt/Datengrab/Fibu",
    "home": false,
    "timemachine": false,
    "name": "FiBu",
    "comment": "",
    "ro": false,
    "browsable": true,
    "recyclebin": false,
    "showhiddenfiles": false,
    "shadowcopy": true,
    "guestok": false,
    "guestonly": false,
    "abe": false,
    "hostsallow": [],
    "hostsdeny": [],
    "vfsobjects": [
      "ixnas",
      "streams_xattr"
    ],
    "vuid": "",
    "auxsmbconf": "",
    "enabled": false
  },
  {
    "id": 5,
    "path": "/mnt/Datengrab/Nachtscherm",
    "home": false,
    "timemachine": false,
    "name": "Mam",
    "comment": "",
    "ro": false,
    "browsable": true,
    "recyclebin": false,
    "showhiddenfiles": false,
    "shadowcopy": true,
    "guestok": false,
    "guestonly": false,
    "abe": false,
    "hostsallow": [],
    "hostsdeny": [],
    "vfsobjects": [
      "ixnas",
      "streams_xattr"
    ],
    "vuid": "",
    "auxsmbconf": "",
    "enabled": false
  },
  {
    "id": 7,
    "path": "/mnt/Datengrab/Stefan",
    "home": false,
    "timemachine": false,
    "name": "Stefan",
    "comment": "",
    "ro": false,
    "browsable": true,
    "recyclebin": false,
    "showhiddenfiles": false,
    "shadowcopy": true,
    "guestok": false,
    "guestonly": false,
    "abe": false,
    "hostsallow": [],
    "hostsdeny": [],
    "vfsobjects": [
      "ixnas",
      "streams_xattr"
    ],
    "vuid": ""
    "auxsmbconf": "",
    "enabled": true
  }
]
 
 
 

The_Mooo

Cadet
Joined
May 7, 2020
Messages
5
The the command " midclt call etc.generate smb_share " did not solve my problem. I have sent you a PM.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Can you check contents of /usr/local/etc/smb4_share.conf? cat /usr/local/etc/smb4_share.conf
If your shares are there, let's try regenerating the main smb.conf midclt call etc.generate smb and then restart the SMB server service smbd onerestart
 
Top