SMB Service crashing - Diagnosing the issue & How to automatically restart it?

stele77

Dabbler
Joined
Apr 8, 2020
Messages
11
Hi!
As said in the title, the SMB service is constantly (meaning 1-2 times a day) crashing, and i have to manually restart it.
Is there a way to automate this process, and set a service to automatically restart?
The cause of the issue is also not clear; I can not find anything in the log file, which i have attached (i had to rename it from *.smbd to *.smbd.txt for the upload to work).
Other than that, everything is pretty stable and i am overall very happy how Cobia turned out.
Props to the Devs, i have used SCALE nearly since the start and it is great!

This is my setup:
TrueNAS SCALE Cobia latest version
Proxmox VM on NVME SSD for the boot drive / 20TB Toshiba PMR HDD on LSI HBA in IT Mode passed through as single drive for now (To preemt the comments: Will be upgraded to a 4 HDD RAID5 in 1-2 months, and yes i know the data is at risk, i have backups of everything important)

Host is:
AMD Ryzen 1700 8C/16T
32GB ECC RAM
1TB NVME SSD
AsRock Rack AM4 board with IPMI
3 other VMs on Host + some LXC containers

Virtualization settings:
CPU=Host
RAM: 2GB min. up to 8GB Max.
SeaBIOS i440fx
SSD=Virtio block device 32GB
LAN=Virtio
GPU=Default
 

Attachments

  • log.smbd.txt
    464.5 KB · Views: 116

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
you know that the absolut miminum for ram is 8 (for scale 16 would be better) for truenas? My guess would be that your vm is starving on ram and therefore services crash.
 
Joined
Dec 12, 2023
Messages
4
I have the same issue:
TrueNAS Cobia 23.10.0.1
Installed as VM in ESXi 8.0U2
32 GB RAM and 8 vCPUs (Xeon E5-2640 v4) allocated.
6x Seagate Exos X18 12 TB on a Avago SAS3008 connected to VM via passtrough.

Every now and then the SMB Service crashes or becomes unable to connect in TrueNAS (without log entry) and it only comes to my attention if my Nextcloud VM cannot connect via CIFS to the SMB share on the NAS VM, thus being not able to log in to Nextcloud.
Restarting the SMB Service in TrueNAS solves the issue until it occurs again.
 
Top