等级考试文件服务器,内核级 Samba 文件共享服务器 CIFSD 正式开始测试
反饋:環境:Arm64環境
測試1:默認配置下報錯:
[ 94.277834] ksmbd: kill_server_store:437: kill command received
[ 94.331114] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:
[ 113.961601] ksmbd: kill_server_store:437: kill command received
[ 835.181268] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:
[ 1093.833659] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:
[ 1307.474413] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:
[ 1385.562898] ksmbd: kill_server_store:437: kill command received
[ 1443.247842] ksmbd: kill_server_store:437: kill command received
[ 1473.398408] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:
smb.conf部分內容如下:
interfaces = eth0
bind interfaces only = yes
ipc timeout = 20
deadtime = 15
map to guest = Bad User
smb2 max read = 64K
smb2 max write = 64K
smb2 max trans = 64K
cache read buffers = no
cache trans buffers = no
ps -ef|grep ksmb
23186 root 1168 S /usr/sbin/ksmbd.mountd --n
23188 root 1336 S /usr/sbin/ksmbd.mountd --n
lsmod|grep ksmb
ksmbd 249856 0
netstat -an|grep 445 無結果
測試2:
把/etc/ksmbd/ksmbd.config.example 拷貝成 /etc/ksmbd/smb.conf同樣不行:
daemon.notice ksmbd: Starting Ksmbd userspace service.
smb.conf如下:
config globals
option 'description' 'Ksmbd on OpenWrt'
config share
option name 'testshare'
option path '/tmp'
option read_only 'no'
option guest_ok 'yes'
option create_mask '0666'
option dir_mask '0777'
option force_root '1'
ps -ef|grep ksmb
23974 root 1168 S /usr/sbin/ksmbd.mountd --n
lsmod|grep ksmb
ksmbd 249856 0
netstat -an|grep 445 無結果
超強干貨來襲 云風專訪:近40年碼齡,通宵達旦的技術人生總結
以上是生活随笔為你收集整理的等级考试文件服务器,内核级 Samba 文件共享服务器 CIFSD 正式开始测试的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: DDR4内存:性能提升,系统运行速度更快
- 下一篇: 内存选购攻略:b150m主板实战经验分享