samba stops working randomly

FTP Server, File Server, DDNS, SAMBA, AFP, NFS
Post Reply
alex75
New here
Posts: 5
Joined: Thu Jul 08, 2021 4:37 am

samba stops working randomly

Post by alex75 »

Dear community,

I'm using a TS-863U-RP with the latest fw (4.5.4.1715) 4GB RAM as backup repository for Veeam.
I created some shares for store backup files. It works fine but sometimes (every 2-3 days) the shares stop working and they are unaccessible from veeam and any other workstation in the LAN.
The WebGUI starts respond slowly and I never able to submit a normal reboot. The only way to restore functionality is reboot the NAS via SSH by 'kill 1' command. Unfortunately it causes a check file system after reboot. :oops:

I tried also with /etc/init.d/smb.sh restart but it stucks and I can't get any feedback in the ssh session.

Here my /etc/smb.conf

Code: Select all

[global]
passdb backend = smbpasswd
workgroup = MYCOMPANY
security = ADS
server string =
encrypt passwords = Yes
username level = 0
map to guest = Never
max log size = 10
socket options = TCP_NODELAY SO_KEEPALIVE
os level = 20
preferred master = no
dns proxy = No
smb passwd file=/etc/config/smbpasswd
username map = /etc/config/smbusers
guest account = guest
directory mask = 0777
create mask = 0777
oplocks = yes
locking = yes
disable spoolss = no
load printers = yes
veto files = /.AppleDB/.AppleDouble/.AppleDesktop/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/:2e*/.@__qini/.Qsync/.@upload_cache/.qsync/.qsync_sn/.@qsys/.streams/.digest/
delete veto files = yes
map archive = no
map system = no
map hidden = no
map read only = no
deadtime = 10
restrict anonymous = 2
server role = auto
use sendfile = yes
unix extensions = no
store dos attributes = yes
client ntlmv2 auth = yes
dos filetime resolution = no
follow symlinks = yes
wide links = yes
force unknown acl user = yes
template homedir = /share/homes/DOMAIN=%D/%U
inherit acls = no
domain logons = no
min receivefile size = 256
case sensitive = auto
domain master = auto
local master = no
enhance acl v1 = yes
remove everyone = no
conn log = no
kernel oplocks = no
min protocol = LANMAN1
smb2 leases = yes
durable handles = yes
kernel share modes = no
posix locking = no
lock directory = /share/CACHEDEV1_DATA/.samba/lock
state directory = /share/CACHEDEV1_DATA/.samba/state
cache directory = /share/CACHEDEV1_DATA/.samba/cache
printcap cache time = 0
acl allow execute always = yes
server signing = disabled
streams_depot:delete_lost = yes
streams_depot:check_valid = no
fruit:nfs_aces = no
fruit:veto_appledouble = no
winbind expand groups = 1
winbind scan trusted domains = yes
pid directory = /var/lock
printcap name = /etc/printcap
printing = cups
show add printer wizard = no
realm = mycompany.loc
ldap timeout = 5
password server = DC1.local DC2.local
pam password change = yes
winbind enum users = Yes
winbind enum groups = Yes
winbind cache time = 3600
idmap config * : backend = tdb
idmap config * : range = 400001-500000
idmap config MYCOMPANY : backend = rid
idmap config MYCOMPANY : range = 10000001-20000000
invalid users = guest
default volume path = /share/CACHEDEV1_DATA
winbind max clients = 2000
winbind max domain connections = 1
kerberos method = secrets and keytab
server schannel = yes
server kernel smbd support = no
max protocol = SMB2_10
wins support = no
name resolve order = host bcast
vfs objects =  catia fruit qnap_macea streams_depot

[printers]
use client driver = yes
writable = no
browsable = no
printable = yes
guest ok = yes
path = /var/spool/smb

[Web]
comment = System default share
path = /share/CACHEDEV1_DATA/Web
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = yes
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "admin","veeam"
valid users = "root","admin","veeam"
inherit permissions = yes
shadow:showprevious = yes
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/Web/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/Web
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:53:85

[Public]
comment = System default share
path = /share/CACHEDEV1_DATA/Public
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = yes
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list = @"everyone"
write list = "admin","veeam"
valid users = "root",@"everyone","admin","veeam"
inherit permissions = yes
shadow:showprevious = yes
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/Public/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/Public
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:53:87

[veaambackup37]
comment = per gw server veeamproxy37
path = /share/CACHEDEV1_DATA/veaambackup37
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "admin","veeam"
valid users = "root","admin","veeam"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/veaambackup37/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/veaambackup37
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:53:91

[veeambackup38]
comment = per gw server veeamproxy38
path = /share/CACHEDEV1_DATA/veeambackup38
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "admin","veeam"
valid users = "root","admin","veeam"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/veeambackup38/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/veeambackup38
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:53:94

[dumpdb]
comment = utilizzata per il bk DB
path = /share/CACHEDEV1_DATA/dumpdb
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = @"MYCOMPANY\Domain Admins","veeam"
valid users = "root",@"MYCOMPANY\Domain Admins","veeam"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/dumpdb/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/dumpdb
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:53:96

[veeambackup39]
comment = per backup da esxi-39
path = /share/CACHEDEV1_DATA/veeambackup39
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "admin","veeam"
valid users = "root","admin","veeam"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/veeambackup39/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/veeambackup39
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:53:98

[veeambackup-vmxl]
comment =
path = /share/CACHEDEV2_DATA/veeambackup-vmxl
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "admin","veeam"
valid users = "root","admin","veeam"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV2_DATA/_.share/veeambackup-vmxl/.snapshot
shadow:basedir = /share/CACHEDEV2_DATA/veeambackup-vmxl
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:54:00

[AzureScaleOutRep36]
comment =
path = /share/CACHEDEV1_DATA/AzureScaleOutRep36
browsable = no
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "admin","veeam"
valid users = "root","admin","veeam"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/AzureScaleOutRep36/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/AzureScaleOutRep36
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:54:02

[tempformovingbk]
comment =
path = /share/CACHEDEV1_DATA/tempformovingbk
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "admin","veeam"
valid users = "root","admin","veeam"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/tempformovingbk/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/tempformovingbk
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
create time = 2019:12:24:14:47:54:05

[AzureScaleOutRepVMXL]
comment = sul VEEAMREP02
path = /share/CACHEDEV2_DATA/AzureScaleOutRepVMXL
browsable = no
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = @"administrators","veeam","admin"
valid users = "root",@"administrators","veeam","admin"
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV2_DATA/_.share/AzureScaleOutRepVMXL/.snapshot
shadow:basedir = /share/CACHEDEV2_DATA/AzureScaleOutRepVMXL
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
create time = 2020:02:03:09:23:16:27
mangled names = yes
hide unreadable = no
access based share enum = no

[veeambackup35]
comment =
path = /share/CACHEDEV1_DATA/veeambackup35
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = "veeam","admin"
valid users = "root","veeam","admin"
q type = 0
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/veeambackup35/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/veeambackup35
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
create time = 2021:06:23:10:03:46:75
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
strict sync = no

[veeambackup36]
comment =
path = /share/CACHEDEV1_DATA/veeambackup36
browsable = yes
oplocks = yes
ftp write only = no
recycle bin = no
recycle bin administrators only = no
qbox = no
timemachine = no
public = yes
invalid users = "guest"
read list =
write list = @"administrators","veeam","admin"
valid users = "root",@"administrators","veeam","admin"
q type = 0
inherit permissions = yes
shadow:showprevious = no
shadow:snapdir = /share/CACHEDEV1_DATA/_.share/veeambackup36/.snapshot
shadow:basedir = /share/CACHEDEV1_DATA/veeambackup36
shadow:sort = desc
shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
smb encrypt = disabled
create time = 2021:06:23:10:43:27:09
strict allocate = yes
streams_depot:check_valid = yes
aio read size on sequential = 4097
mangled names = yes
hide unreadable = no
access based share enum = no
strict sync = no
Just today I tried to disable SMBv3 because my feeling is like an issure related to recent firmwares. It worked fine for about 2 years. So smb2status now is:

Code: Select all

smbd (samba daemon) Version 4.10.18
smbd (samba daemon) is running.
max protocol SMB 2.1 enabled.
/etc/config/uLinux.conf

Code: Select all

[System]
Model = TS-X63U
Internal Model = TS-X63
Server comment =
Version = 4.5.4
Build Number = 20210630
Number = 1715
Time Zone = Europe/Amsterdam
Enable Daylight Saving Time = TRUE
Workgroup = MYCOMPANY
Code Page = 437
System Device = /dev/sdi
Test Mode = FALSE
Auto Create Raid = raid0
Wan Access = TRUE
Lan Access = TRUE
Web Access Port = 8080
E2KEY Support = FALSE
Rsync Support = FALSE
Rsync Model = QNAP
FS Type = ext3
Auto PowerOn = FALSE
Quota Type = vfsv0
Write Connection Log = 1
VM = 1
Enable Live Update = FALSE
Qsirch = 1
SMTP Cloud Url = https://connector.myqnapcloud.com
Build Date = 2021-06-30
Server Name = VEEAMREP01
UPNP_UUID = 879fd688-5ef7-4b3d-8383-02ad1b7c7d2d
Password constraints = 0
LoginTheme410 = 1
LoginBgNum = 1
Date Format Index = 1
auto_data_scrubbing = 1
Latest Check Live Update = 2021/07/07 10:34:45
Booting = 0
showVersion = 1
show_link = 1
Latest Live Update = 2021/07/05 00:25:37
Update Remind Time = 0
auto_check_ext_fw_version = 0
Redundant Power Enable = TRUE
agree_beta = 0

[Test]
Test Program = /sbin/test/Self-test-main

[NTP]
USE NTP Server = TRUE
NTP Server IP = it.pool.ntp.org
Enable NTP Server = FALSE
Server1 IP =
Server2 IP =
Sercer3 IP =
Interval = 7
TimeUnit = DAY

[Alert]
Alert Level = 0
SMTP IP = 0.0.0.0
Alert Mail = ,
SMS Mode = 0
SMTP_FW_UPDATE = 0
SMS_FW_UPDATE = 0
Migrated = 2019/04/01 16:15:19
Sender = veeamrep01@mycompany.it
ProviderIdx = 0
Allow Analytics = FALSE

[Network]
Interface Number = 5
DNS = 0.0.0.0
WINS IP = 0.0.0.0
WINS Enable = False
BONDING Support = False
BONDING NICs = 0
BONDING01 = Interface1
BONDING02 = Interface2
Domain Name Server 1 = 192.168.116.5
Domain Name Server 2 = 192.168.116.6
Advanced Bonding Support = TRUE
IPV6 = TRUE
new_struct = 1
DNS type = manual

[bond0]
Bonding Mode = 1
Configure = False
Use DHCP = TRUE
Usage = DHCP
IP Address = 169.254.100.100
Subnet Mask = 255.255.0.0
Broadcast = 192.168.255.255
Gateway = 169.254.100.100
Speed = auto
MTU = 1500

[bond1]
Bonding Mode = 1
Configure = False
Use DHCP = TRUE
Usage = DHCP
IP Address = 169.254.100.100
Subnet Mask = 255.255.0.0
Broadcast = 192.168.255.255
Gateway = 169.254.100.100
Speed = auto
MTU = 1500

[eth0]
Configure = False
Use DHCP = TRUE
Usage = DHCP
IP Address = 169.254.100.100
Subnet Mask = 255.255.0.0
Broadcast = 192.168.255.255
Gateway = 169.254.100.100
Speed = auto
MTU = 1500

[eth1]
Configure = False
Use DHCP = TRUE
Usage = DHCP
IP Address = 169.254.100.100
Subnet Mask = 255.255.0.0
Broadcast = 192.168.255.255
Gateway = 169.254.100.100
Speed = auto
MTU = 1500

[eth2]
Configure = False
Use DHCP = TRUE
Usage = DHCP
IP Address = 169.254.100.100
Subnet Mask = 255.255.0.0
Broadcast = 192.168.255.255
Gateway = 169.254.100.100
Speed = auto
MTU = 1500

[eth3]
Configure = False
Use DHCP = TRUE
Usage = DHCP
IP Address = 169.254.100.100
Subnet Mask = 255.255.0.0
Broadcast = 192.168.255.255
Gateway = 169.254.100.100
Speed = auto
MTU = 1500

[Samba]
Enable = TRUE
SO_SNDBUF = 262144
SO_RCVBUF = 131072
LAST_FACTORY_DEFAULT = TRUE
SMB3 = FALSE
Large MTU = TRUE
SMB2 = TRUE
AIO = FALSE
SMB2 LEASES = TRUE
SMB2 DURABLE HANDLES = TRUE
Version = Version 4.10.18
HomeLink = FALSE
Windows Previous Version = 0
DC List = DC1.local,DC2.local
idmap_rid = TRUE
Main_Domain_Rid_Range = 10000001-20000000
Trust_Domain_User_Index = 30000001
Max_User_Per_Trust_Domain = 10000000
Max_Trust_Domain = 10
User = userservice
OU =
signing = 2
ksmbd = FALSE

[Appletalk]
Enable=FALSE
Default Zone=*

[SNMP]
Server Enable = FALSE

[WebFS]
Enable = TRUE
Web Root Path = /WWW
clean_upload_cache = yes
Share_Link_Db = /share/CACHEDEV1_DATA/.system/wfm/share_link.db

[QWEB]
Enable = 1
Port = 80
Enable_WebDAV = 1
Enable_User_Permission = 1
MaxClients = 2048
Clients = 2048
MinClients = 64
Enable_SSL = 1
SSL_Port = 8081
Expose_PHP_Check = 1

[QPHOTO]
Enable = FALSE
MSV2_SUPPORT = FALSE
UseSysAccount = 1

[BTDownload]
Enable = FALSE
Max_Running = 3
Version = 1.0

[NVR]
Enable = FALSE
Support = FALSE
NSS_MAX_CH_NUM = 24
NSS Enabled = no

[Storage]
Auto Init = FALSE
Disk Drive Number = 12
Drive 1 = sda
Drive 2 = sdb
Drive 3 = sdc
Drive 4 = sdd
Drive 5 = sde
Drive 6 = sdf
Drive 7 = sdg
Drive 8 = sdh
Drive 9 = sdi
Drive 10 = sdj
Drive 11 = sdk
Drive 12 = sdl
Disk Check On Boot = Error
Auto Fix Disk Check Errors = TRUE
Support RAID 5 = FALSE
SUPPORT HOTSWAP = TRUE
Support Hot Spare = FALSE
Support LVM = FALSE
RAID5_READ_AHEAD = 2048
RAID1_READ_AHEAD = 4096
RAID0_READ_AHEAD = 1024

[Disk]
Drive 1 EXIST = 1
Drive 2 EXIST = 0
Drive 3 EXIST = 0
Drive 4 EXIST = 0
Drive 5 EXIST = 0
Drive 6 EXIST = 0
Drive 7 EXIST = 0
Drive 8 EXIST = 0

[FTP]
ServerName = ProFTPD
Enable = False
Port = 21
MaxInstances = 30
User = guest
Group = guest
DefaultRoot = /share
MaxAnonymous = 10

[DHCP Server]
Enable = FALSE
Start Range = 192.168.1.100
End Range = 192.168.1.200
Max Lease Time = 86400

[Printers]
Support = FALSE
Enable = False
Name =
Comment = Printer port on NAS
Phy exist = 0
Phy exist2 = 0
Phy exist3 = 0
Phy exist4 = 0
Phy exist5 = 0

[LOGO]
Show PIC Index = 1
PIC Counter = 10
Default LOGO Image Path = /etc/config/logo/default_logo_img.gif
Upload LOGO Image Path = /etc/config/logo/upload_logo_img.gif
PIC1 LOGO Image Path = /etc/config/logo/pic1_logo_img.gif
PIC2 LOGO Image Path = /etc/config/logo/pic2_logo_img.gif
PIC3 LOGO Image Path = /etc/config/logo/pic3_logo_img.gif
PIC4 LOGO Image Path = /etc/config/logo/pic4_logo_img.gif
PIC5 LOGO Image Path = /etc/config/logo/pic5_logo_img.gif
LOGO Image Size Limitation = 20480

[UPS]
Support = TRUE
Serial UPS = FALSE
Snmp UPS = TRUE
Daemon Type = 1
UPS IP = 0.0.0.0
Enable = FALSE
UPS Type = PhxTec-A1000
Shutdown System In = 5
ValidCOM = 1
AC Power = OK
Battery Power = OK
Server Mode = FALSE

[Misc]
Disk StandBy Timeout = 30
Disk StandBy Timeout Enable = TRUE
Disk Free Size Alert = 3072
Disk Free Size Alert Enable = TRUE
Buzzer Warning Enable = TRUE
Wake On Lan = TRUE
Enable Write Cache = 0
System Started = TRUE
SSS_CONVERT = yes
Password Changed = TRUE
Configured = TRUE
Buzzer Quiet Enable = FALSE
Autorun = FALSE
FAN action = Smart
Custom Temp = 0
System Custom Temp type = 0
system low temp = 35
system high temp = 45
system stop temp = 25

[HWTEST]
mini PCI = Agere Systems

[MySQL]
Enable = FALSE
DB_Init = FALSE
DB_Upgrade = TRUE

[LOGIN]
SSH Enable = TRUE
SSH Port = 22
TELNET Enable = FALSE
TELNET Port = 13131

[Index]
Qphoto_LOGO = FALSE
Qdownlod_LOGO = FALSE

[iSCSI]
Company Info = 2004-04.com.qnap
Model Name = TS-X63
Uni String = F3389E

[UPnP Service]
Enable = TRUE

[END_FLAG]

[Network Recycle Bin]
Enable = FALSE
Clean Time = 15:10
Reten Day Enable = TRUE
Reten Day = 180
Exclude Extension Enable = TRUE
Exclude Extension = tmp;temp;wtmp;blk;dat;qold;qtmp
Create_Dir = TRUE

[SDM]
Enabled = TRUE

[Bonjour Service]
SSH = 0
HTTPS = 0
UPNP = 0
FTP = 0
Web = 1
SAMBA = 1
AFP = 0
QMobile = 1
CSCO = 0

[PgSQL]
Enable = FALSE

[NetDevMonitor]
version = 2
process_id = 6247
startup_bitmap = 0x1f
last_current_bitmap = 0x1f
flag_CurrentNetChange = 0
eth0_mac = 00:08:9b:f3:38:9e
eth1_mac = 00:08:9b:f3:38:9f
eth2_mac = 00:08:9b:f3:38:a0
eth3_mac = 00:08:9b:f3:38:a1
eth4_mac = 00:08:9b:f3:77:2b
last_startup_bitmap = 0x1f
last_eth0_mac = 00:08:9b:f3:38:9e
last_eth1_mac = 00:08:9b:f3:38:9f
last_eth2_mac = 00:08:9b:f3:38:a0
last_eth3_mac = 00:08:9b:f3:38:a1
last_eth4_mac = 00:08:9b:f3:77:2b
flag_NetDeviceChange = 0
current_bitmap = 0x1f

[SSL Import]
cert_type = 0

[Stunnel]
Enable = 1

[MUSICSTATION]
Enable = FALSE
UseSysAccount = 1

[PHOTOSTATION]
Enable = FALSE
UseSysAccount = 1

[VIDEOSTATION]
Enable = FALSE

[iTune]
Enable = FALSE

[TwonkyMedia]
Enable = FALSE

[NFS]
Enable = FALSE
Enable_V4 = FALSE
Manage_gids = FALSE

[usb copy]
lock flag = 0
OTB_V2 = 1
copy func = 3
unmount_usb_5s = 1
beep = 1
Camera Import Enable = FALSE
multidisk = 1

[Push Notification]
PUSH_FW_UPDATE = 0

[App Center]
migration_nc_notice = 1
migration_app_update = 2

[QRAID1]
device name =

[Qsync]
view_root = /share/CACHEDEV1_DATA/.qbox_view/
root = /share/CACHEDEV1_DATA/.qbox
Migration = FALSE
Server_Limit = 128

[Versioning]
Root = /share/CACHEDEV1_DATA/.versioning/
Enable = FALSE
QBox = FALSE

[LOGS]
HTTP = 0
FTP = 0
TELNET = 0
SSH = 1
AFP = 0
SAMBA = 0
iSCSI = 0
RADIUS = 0
VPN = 0
COMPRESS = 0
Migrated = 2021/03/05 12:50:05

[LDAP]
Enable = FALSE

[QPKG Management]
Have_Invalid_QPKG = FALSE

[Ban Engine]
Ban Enabled = 1
Account Ban Enabled = 1
Notice = 1

[Disk Data Collection]
Enabled = 0

[MultimediaConsole]
Migrated = 0

[HybridBackup]
Migrated = 1
Have you any idea? There's something else to check?
Any suggestion is appreciated :| Thanks in advance
torch1
Know my way around
Posts: 137
Joined: Thu Jul 04, 2019 4:53 am

Re: samba stops working randomly

Post by torch1 »

Suggest you install Wireshark https://www.wireshark.org/ on one of your devices and see what is going on with your network and samba.
alex75
New here
Posts: 5
Joined: Thu Jul 08, 2021 4:37 am

Re: samba stops working randomly

Post by alex75 »

torch1 wrote: Thu Jul 08, 2021 8:23 am Suggest you install Wireshark https://www.wireshark.org/ on one of your devices and see what is going on with your network and samba.
ok, but the NAS is accessible via SSH. Is there a log inside to check?
torch1
Know my way around
Posts: 137
Joined: Thu Jul 04, 2019 4:53 am

Re: samba stops working randomly

Post by torch1 »

There are logs /var/log/ but they will probably not help. As I suggested on another thread, you should have Highest SMB3 / Lowest SMB2. SMB3 works fine in latest firmware - my Macs all connect (and remain connected for TimeMachine backups) using SMB 3.1.1.

Wireshark will let you see the conversation between client & server.
alex75
New here
Posts: 5
Joined: Thu Jul 08, 2021 4:37 am

Re: samba stops working randomly

Post by alex75 »

Update:

today trying an access to resource monitor I get this error
Image

Could be it the root cause of this problem?
alex75
New here
Posts: 5
Joined: Thu Jul 08, 2021 4:37 am

Re: samba stops working randomly

Post by alex75 »

I'm looking for upgrade RAM on my NAS but as immediately workaround I scheduled QBoost memory optimization:

/bin/echo 1 > /proc/sys/vm/drop_caches

it seems to work without outages from 7 days
Post Reply

Return to “File Sharing”