Unable to start SMB Service

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
Good Morning,
I've done a fair bit of searching (both here and Google) and I'm unable to find a solution that corrects my issue.

Problem:
When starting the SMB service (Services > SMB), I get an error that says "SMB service failed to start."

Troubleshooting Attempted:
After trying to start the SMB service (via CLI) I got an error stating that smb4.conf couldn't be read.
I checked this path and didn't find the following file /usr/local/etc/smb4.conf, so that's missing.
I have also:
- Rebooted several times
- Destroyed all shares and rebuilt them
- Verified I have more than enough available HDD space.

Any help would be greatly appreciated.
 

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
I wanted to include some commands that I ran and hopefully that will help point someone in the right direction (commands run are in bold):

service samba_server start
[: ==: unexpected operator
/usr/local/etc/rc.d/samba_server: WARNING: /usr/local/etc/smb4.conf is not readable.

service samba_server onestop
[: ==: unexpected operator
winbindd not running? (check /var/run/samba4/winbindd.pid).
smbd not running? (check /var/run/samba4/smbd.pid).
nmbd not running? (check /var/run/samba4/nmbd.pid).
[: ==: unexpected operator

service samba_server onestart
[: ==: unexpected operator
/usr/local/etc/rc.d/samba_server: WARNING: /usr/local/etc/smb4.conf is not readable.
root@freenas[/usr/local/etc]#

testparm
Load smb config files from /usr/local/etc/smb4.conf
Error loading services.


Let me know if I can provide any additional information.
 

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
Anodos, the legend! I've seen you help other folks with their issues so I'm delighted you are looking at my ticket. ^_^
(Fan boy-ing aside)

OS Version:
FreeNAS-11.2-U7
(Build Date: Nov 19, 2019 0:4)

df -T (I apologize in advance for the formatting. I think I'm too stupid to figure out how to get it to look nice)
Filesystem Type 1K-blocks Used Avail Capacity Moun ted on
freenas-boot/ROOT/default zfs 225505247 776154 224729093 0% /
devfs devfs 1 1 0 100% /dev
tmpfs tmpfs 16776960 10572 16766388 0% /etc
tmpfs tmpfs 2097152 8 2097144 0% /mnt
tmpfs tmpfs 8576977408 37080 8576940328 0% /var
fdescfs fdescfs 1 1 0 100% /dev /fd
StoragePool zfs 18852294888 12243052710 6609242177 65% /mnt /StoragePool
StoragePool/iocage zfs 6609246957 4779 6609242177 0% /mnt /StoragePool/iocage
StoragePool/iocage/download zfs 6609242353 176 6609242177 0% /mnt /StoragePool/iocage/download
StoragePool/iocage/download/11.2-RELEASE zfs 6609520553 278376 6609242177 0% /mnt /StoragePool/iocage/download/11.2-RELEASE
StoragePool/iocage/images zfs 6609242353 176 6609242177 0% /mnt /StoragePool/iocage/images
StoragePool/iocage/jails zfs 6609242369 192 6609242177 0% /mnt /StoragePool/iocage/jails
StoragePool/iocage/jails/couchpotato zfs 6609242705 527 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato
StoragePool/iocage/jails/couchpotato/root zfs 6610572501 1330323 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root
StoragePool/iocage/jails/emby zfs 6609242761 583 6609242177 0% /mnt /StoragePool/iocage/jails/emby
StoragePool/iocage/jails/emby/root zfs 6612521867 3279690 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root
StoragePool/iocage/jails/radarr zfs 6609242865 687 6609242177 0% /mnt /StoragePool/iocage/jails/radarr
StoragePool/iocage/jails/radarr/root zfs 6610915062 1672885 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root
StoragePool/iocage/jails/subsonic zfs 6609242689 511 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic
StoragePool/iocage/jails/subsonic/root zfs 6611021071 1778893 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root
StoragePool/iocage/jails/transmission zfs 6609242889 711 6609242177 0% /mnt /StoragePool/iocage/jails/transmission
StoragePool/iocage/jails/transmission/root zfs 6610470313 1228135 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root
StoragePool/iocage/log zfs 6609242409 232 6609242177 0% /mnt /StoragePool/iocage/log
StoragePool/iocage/releases zfs 6609242353 176 6609242177 0% /mnt /StoragePool/iocage/releases
StoragePool/iocage/releases/11.2-RELEASE zfs 6609242353 176 6609242177 0% /mnt /StoragePool/iocage/releases/11.2-RELEASE
StoragePool/iocage/releases/11.2-RELEASE/root zfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/releases/11.2-RELEASE/root
StoragePool/iocage/templates zfs 6609242353 176 6609242177 0% /mnt /StoragePool/iocage/templates
StoragePool/.system zfs 6609242369 192 6609242177 0% /var /db/system
StoragePool/.system/cores zfs 6609249746 7569 6609242177 0% /var /db/system/cores
StoragePool/.system/samba4 zfs 6609242409 232 6609242177 0% /var /db/system/samba4
StoragePool/.system/syslog-ae1f6b9a44d94d15a639a40c1e91b328 zfs 6609242849 671 6609242177 0% /var /db/system/syslog-ae1f6b9a44d94d15a639a40c1e91b328
StoragePool/.system/rrd-ae1f6b9a44d94d15a639a40c1e91b328 zfs 6609272748 30570 6609242177 0% /var /db/system/rrd-ae1f6b9a44d94d15a639a40c1e91b328
StoragePool/.system/configs-ae1f6b9a44d94d15a639a40c1e91b328 zfs 6609242657 479 6609242177 0% /var /db/system/configs-ae1f6b9a44d94d15a639a40c1e91b328
StoragePool/.system/webui zfs 6609242353 176 6609242177 0% /var /db/system/webui
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/boot nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/boot
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/rescue nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/rescue
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/include nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/include
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/share nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/share
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libdata nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/libdata
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib32 nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/couchpotato/root/usr/lib32
devfs devfs 1 1 0 100% /mnt /StoragePool/iocage/jails/couchpotato/root/dev
fdescfs fdescfs 1 1 0 100% /mnt /StoragePool/iocage/jails/couchpotato/root/dev/fd
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/boot nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/boot
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/rescue nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/rescue
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/include nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/include
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/share nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/share
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libdata nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/libdata
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib32 nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/subsonic/root/usr/lib32
devfs devfs 1 1 0 100% /mnt /StoragePool/iocage/jails/subsonic/root/dev
fdescfs fdescfs 1 1 0 100% /mnt /StoragePool/iocage/jails/subsonic/root/dev/fd
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/boot nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/boot
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/rescue nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/rescue
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/include nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/include
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/share nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/share
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libdata nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/libdata
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib32 nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/transmission/root/usr/lib32
devfs devfs 1 1 0 100% /mnt /StoragePool/iocage/jails/transmission/root/dev
fdescfs fdescfs 1 1 0 100% /mnt /StoragePool/iocage/jails/transmission/root/dev/fd
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/boot nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/boot
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/rescue nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/rescue
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/include nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/include
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/share nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/share
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libdata nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/libdata
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib32 nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/radarr/root/usr/lib32
devfs devfs 1 1 0 100% /mnt /StoragePool/iocage/jails/radarr/root/dev
fdescfs fdescfs 1 1 0 100% /mnt /StoragePool/iocage/jails/radarr/root/dev/fd
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/boot nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/boot
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/rescue nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/rescue
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/bin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/bin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/include nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/include
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/lib
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libexec nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/libexec
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/sbin nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/sbin
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/share nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/share
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/libdata nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/libdata
/mnt/StoragePool/iocage/releases/11.2-RELEASE/root/usr/lib32 nullfs 6610811923 1569745 6609242177 0% /mnt /StoragePool/iocage/jails/emby/root/usr/lib32
/mnt/StoragePool/Movies nullfs 18852294888 12243052710 6609242177 65% /mnt /StoragePool/iocage/jails/emby/root/mnt/Movies
/mnt/StoragePool/TV_Series nullfs 18852294888 12243052710 6609242177 65% /mnt /StoragePool/iocage/jails/emby/root/mnt/TV_Series
/mnt/StoragePool/Backup/_inprogress nullfs 18852294888 12243052710 6609242177 65% /mnt /StoragePool/iocage/jails/emby/root/mnt/youtube_dl/_inprogress
devfs devfs 1 1 0 100% /mnt /StoragePool/iocage/jails/emby/root/dev
fdescfs fdescfs 1 1 0 100% /mnt /StoragePool/iocage/jails/emby/root/dev/fd
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Post output of the following:
Code:
midclt call smb.config
midclt call sharing.smb.query

python /usr/local/libexec/nas/generate_smb4_conf.py

You can enclose output of [ code ] tags.
 
Last edited:

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
Outputs below:

midclt call smb.conf
Code:
[ENOMETHOD] Method "conf" not found in "smb"
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1080, in _method_lookup
    methodobj = getattr(serviceobj, method_name)
AttributeError: 'SMBService' object has no attribute 'conf'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
    result = await self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1101, in call_method
    serviceobj, methodobj = self._method_lookup(message['method'])
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1082, in _method_lookup
    raise CallError(f'Method "{method_name}" not found in "{service}"', CallError.ENOMETHOD)
middlewared.service_exception.CallError: [ENOMETHOD] Method "conf" not found in "smb"


midclt call sharing.smb.query
[]

python /usr/local/libexec/nas/generate_smb4_conf.py
Code:
Traceback (most recent call last):
  File "/usr/local/libexec/nas/generate_smb4_conf.py", line 1761, in <module>
    main()
  File "/usr/local/libexec/nas/generate_smb4_conf.py", line 1696, in main
    smb4_do_migrations(client)
  File "/usr/local/libexec/nas/generate_smb4_conf.py", line 1643, in smb4_do_migrations
    os.chmod(sentinel_directory, 0o700)
OSError: [Errno 122] Unknown error: 122: '/data/sentinels/samba'
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I had a typo in one of the middleware commands "midclt call smb.config", but the smb4_conf generation error is more telling. What is the output of the following:
Code:
getfacl /data
getfacl /data/sentinels
getfacl /data/sentinels/samba
 

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
getfacl /data
Code:
# file: /data
# owner: www
# group: www
            owner@:rwxp--aARWcCos:-------:allow
            group@:r-x---a-R-c--s:-------:allow
         everyone@:r-x---a-R-c--s:-------:allow


getfacl /data/sentinels
Code:
# file: /data/sentinels
# owner: root
# group: www
            owner@:rwxp--aARWcCos:-------:allow
            group@:r-x---a-R-c--s:-------:allow
         everyone@:r-x---a-R-c--s:-------:allow


getfacl /data/sentinels/samba
Code:
getfacl: /data/sentinels/samba: stat() failed: Unknown error: 122


midclt call smb.config
Code:
{"id": 1, "netbiosname": "freenas", "netbiosname_b": "truenas-b", "netbiosalias": "", "workgroup": "WORKGROUP", "description": "FreeNAS Server", "enable_smb1": false, "doscharset": "CP437", "unixcharset": "UTF-8", "loglevel": "MINIMUM", "syslog": false, "localmaster": true, "domain_logons": false, "timeserver": true, "guest": "nobody", "admin_group": "nogroup", "filemask": "", "dirmask": "", "nullpw": false, "smb_options": "", "unixext": true, "zeroconf": true, "hostlookup": true, "allow_execute_always": true, "obey_pam_restrictions": true, "ntlmv1_auth": false, "bindip": [], "cifs_SID": "S-1-5-21-433126590-1066560626-127046807"}
 

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
zpool status
Code:
  pool: StoragePool
 state: ONLINE
  scan: scrub repaired 0 in 0 days 07:16:03 with 0 errors on Sun Dec 29 07:16:05 2019
config:

        NAME                                            STATE     READ WRITE CKSUM
        StoragePool                                     ONLINE       0     0     0
          raidz2-0                                      ONLINE       0     0     0
            gptid/f5be7cde-d93e-11e9-8fb2-d05099d0837d  ONLINE       0     0     0
            gptid/f6f3be42-d93e-11e9-8fb2-d05099d0837d  ONLINE       0     0     0
            gptid/f819067e-d93e-11e9-8fb2-d05099d0837d  ONLINE       0     0     0
            gptid/f8e2a19d-d93e-11e9-8fb2-d05099d0837d  ONLINE       0     0     0
            gptid/fa111a38-d93e-11e9-8fb2-d05099d0837d  ONLINE       0     0     0
            gptid/fb752765-d93e-11e9-8fb2-d05099d0837d  ONLINE       0     0     0

errors: No known data errors

  pool: freenas-boot
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 3K in 0 days 00:00:36 with 68 errors on Sun Dec 29 03:45:36 2019
config:

        NAME        STATE     READ WRITE CKSUM
        freenas-boot  DEGRADED     0     0   232
          ada0p2    DEGRADED     0     0   928  too many errors

errors: 51 data errors, use '-v' for a list
 

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
I do currently have an SSD as the boot device.
TBH, Ever since a clean install, I always have a corrupted boot device.
Meaning, I've never not had a corrupted boot device.
This may be my 7th or 8th install of FreeNAS on different systems.

I've tried a single SSD, two SSD's in a RAID 1 configuration and even a 1TB 5400RPM spinny drive just so I could see if I could get around it.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I do currently have an SSD as the boot device.
TBH, Ever since a clean install, I always have a corrupted boot device.
Meaning, I've never not had a corrupted boot device.
This may be my 7th or 8th install of FreeNAS on different systems.

I've tried a single SSD, two SSD's in a RAID 1 configuration and even a 1TB 5400RPM spinny drive just so I could see if I could get around it.
Then you should probably check other hardware components for errors (like your RAM).
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Did you ever download and verify a fresh image as a starting point?
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Very good - you certainly have been having an unusual experience. I hope you can track it down.
 

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
Thanks, friend!
I plan on taking Anodos' recommendations and checking RAM/etc when I get home from work. Then, if that doesn't fly, maybe a clean install and see where that takes me.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
What brand of SSD are you using for your boot drive? There are known compatibility issues with the controller on some Sandisk and WD green SSD's.
 

JMegs

Dabbler
Joined
Dec 10, 2019
Messages
13
I was infact using a SanDisk brand drive with 3 of the tests.
I also had my original setup with 2 of the SanDisk SSDs in RAID01... errors galore.
I switched out the SanDisk(s), fresh install on a different SDD and now I have no errors on my boot-pool.
In addition, I moved the boot drive to an Intel, as opposed to a Marvell, SATA port.

Also, because of the fresh install SMB started right up, no issues.
I don't mind doing fresh installs since my storage pool is on different drives.
So a fresh install is just 'import pool', change a few things and back to good.
Thanks again to all for reminding me to 'check my gear'.
 
Top