[Samba] Samba video streaming problem
Budi Janto
budijanto at studiokaraoke.co.id
Fri May 20 21:49:36 UTC 2022
Hi,
I installed Samba in FreeBSD as server to serving video streaming.
# freebsd-version
13.0-RELEASE-p11
# pkg info | grep samba
samba413-4.13.17_1 Free SMB/CIFS and AD/DC server and client
for Unix
Video storage use ZFS file system.
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool 4.91T 2.11T 4.91T /mnt/video
And smb4.conf pointing to that directory, here is my smb4.conf:
# cat /usr/local/etc/smb4.conf
[global]
bind interfaces only = Yes
directory name cache size = 0
disable spoolss = Yes
dns proxy = No
interfaces = 127.0.0.1 192.168.0.10 192.168.9.10
load printers = No
local master = Yes
log file = /var/log/samba4/log.smbd
log level = 3
map to guest = Bad User
max log size = 500
netbios name = SERVER
os level = 255
preferred master = Yes
printcap name = /dev/null
printing = bsd
security = User
server role = standalone server
server string = SERVER %v
use sendfile = Yes
workgroup = MYGROUP
[data]
guest ok = Yes
path = /mnt/video
The problem is that after 2 hours (average time) the video stream is
running, my player can't play the video anymore. Can't seem to find the
video path or maybe it's disconnected from the server (Apparently). From
log.smbd I try to include some snippets:
# grep 'STATUS' /var/log/samba4/log.smbd
[...]
nobody closed file FOLDER/VIDEO/Asley - Love.mpg (numopen=4) NT_STATUS_OK
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
nobody closed file FOLDER/VIDEO/Justin - Home.mpg (numopen=5)
NT_STATUS_OK
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_FILE_IS_A_DIRECTORY] || at
../../source3/smbd/smb2_create.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_FILE_IS_A_DIRECTORY] || at
../../source3/smbd/smb2_create.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_NOT_A_REPARSE_POINT] || at
../../source3/smbd/smb2_ioctl.c:334
[...]
Would you give me some clue to fix this error? Thanks.
--
Regards,
Budi Janto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20220521/501a7301/OpenPGP_signature.sig>
More information about the samba
mailing list