DEEPIN访问NAS太慢?试试用NFS
Tofloor
poster avatar
枯燥生活来点依达拉奉
deepin
2019-10-08 01:50
Author
本帖最后由 lytim24 于 2019-10-7 17:52 编辑

用 openmediavault 自建NAS主机,开启 SMB 服务,千兆路由,笔记本 720 兆无线网卡,windows 下速度还可以 40+m/s ,但切换到 deepin 后,实在是太难用了。。。
每次开机,网络邻居都找不到,挂载时都要用 smb:// 打开,而且最高才 8m/s ,找了一圈都没有很好的解决办法

索性试试其他文件访问协议,例如NFS(Network File System),在NAS中开启服务
在 deepin 的 /etc/fstab 中添加对应的共享文件夹:
  1. 192.168.3.15:/MyFiles /mnt/MyFiles nfs _netdev 0 0
Copy the Code

保存,重启,之后文件夹自动挂载在 /mnt 下了
速度又回来了~~


Reply Favorite View the author
All Replies
avatar
zwq133
deepin
2019-10-08 02:53
#1
deepin的网上邻居功能得看运气!我的台式机没问题,但是笔记本就和你一样的情况了
台式机的SMB速度:


Reply View the author
avatar
jigglywiggly
deepin
2019-10-08 03:37
#2
Deepin's file browser is very slow for me on network shares. I recommend adding a CIFS mount to /etc/fstab and then using Dolphin to browse. Dolphin for whatever reason is significantly faster than Deepin's browser for network shares. I never compared file transfer speeds however.
Reply View the author
avatar
枯燥生活来点依达拉奉
deepin
2019-10-08 08:27
#3
https://bbs.deepin.org/post/183524
Deepin's file browser is very slow for me on network shares. I recommend adding a CIFS mount to /etc ...

I thought it's incompatible to mount SMB network shares at first, maybe not. It seems necessary to compare their transfer speeds next time.
Reply View the author
avatar
枯燥生活来点依达拉奉
deepin
2019-10-08 08:29
#4
https://bbs.deepin.org/post/183524
deepin的网上邻居功能得看运气!我的台式机没问题,但是笔记本就和你一样的情况了
台式机的SMB速度:

台式机是有线连接嘛?
Reply View the author
avatar
china9494520
deepin
2019-10-08 16:57
#5
我也碰到了类似问题,能不能详细的讲解一下怎么用?
Reply View the author
avatar
edeas
deepin
2019-10-08 17:33
#6
  1. #!/bin/bash
  2. dde-file-manager smb://192.168.19.180
Copy the Code


但我的群晖NAS在Win下可以满速的。100MB/S才正常。
Reply View the author
Comments
lytim24
2019-10-08 20:16
不知道是兼容不好,还是设置没好。网上找 smb 的配置要调的参数太多了,而且调了好像也没效果,用 NFS 能达到 Win 下的速度
avatar
枯燥生活来点依达拉奉
deepin
2019-10-08 20:09
#7
https://bbs.deepin.org/post/183524
我也碰到了类似问题,能不能详细的讲解一下怎么用?

1. NAS 上打开 NFS 服务了嘛?
2. 用管理员身份打开 /etc/fstab 文件
3. 文件末尾新添行,写入:
  1. 192.168.3.15:/MyFiles /mnt/MyFiles nfs _netdev 0 0
  2. # NAS 的 ip : /共享文件夹名  /mnt/挂载文件夹的名字可自定 nfs_netdev 0 0
Copy the Code

4. 重启,打开系统盘 /mnt 即可看到
Reply View the author
avatar
china9494520
deepin
2019-10-09 01:15
#8
https://bbs.deepin.org/post/183524
1. NAS 上打开 NFS 服务了嘛?
2. 用管理员身份打开 /etc/fstab 文件
3. 文件末尾新添行,写入:

不好意思啊,我是小白。请问一下,你代码里面的IP是本机的?还是对方机器的?
这个代码的意思是,我和目标IP机器之间的传输使用新的协议对吗?和别的机器之间如果有传输的话,还是IP协议对吗?
Reply View the author
avatar
枯燥生活来点依达拉奉
deepin
2019-10-09 08:05
#9
https://bbs.deepin.org/post/183524
不好意思啊,我是小白。请问一下,你代码里面的IP是本机的?还是对方机器的?
这个代码的意思是,我和目 ...

1. 这里 IP 是对方的
2. 对方的机器要能开启 NFS 文件服务
3. NFS 服务器必须在可访问范围内,最简单的就是局域网
Reply View the author
avatar
china9494520
deepin
2019-10-09 16:56
#10
https://bbs.deepin.org/post/183524
1. 这里 IP 是对方的
2. 对方的机器要能开启 NFS 文件服务
3. NFS 服务器必须在可访问范围内,最简单的就 ...

好的,明白了。
Reply View the author
avatar
zwq133
deepin
2019-10-10 04:53
#11
https://bbs.deepin.org/post/183524
台式机是有线连接嘛?

是啊是啊!
Reply View the author
avatar
一切随缘
deepin
2019-12-17 22:04
#12
本帖最后由 zhou2755 于 2019-12-17 14:10 编辑
https://bbs.deepin.org/post/183524
1. NAS 上打开 NFS 服务了嘛?
2. 用管理员身份打开 /etc/fstab 文件
3. 文件末尾新添行,写入:

我也遇到了一样的问题,修改了fstab文件添加
192.168.1.99:/volume2/temp /mnt/nas nfs _netdev 0 0
重启以后 /mnt/nas 目录是空的
Reply View the author
avatar
看见如果
deepin
2019-12-18 00:43
#13
smb本来就是微软家的
Reply View the author
avatar
ghostry
deepin
2019-12-18 01:12
#14
估计不一定是软件问题,

我的omv,Samba和nfs都在60MB/s出头.
Reply View the author
avatar
kingskill
deepin
2019-12-18 07:45
#15
https://bbs.deepin.org/user/101846 aida过来看看撒~~~
Reply View the author
avatar
aida
deepin
2019-12-18 18:56
#16
我猜很可能是网卡驱动的问题,因为文件协议对传输速度影响并不明显

小概率是文件管理设计逻辑问题,建议在终端执行 sudo deepin-feedback-cli 命令提交在工作目录中生成的日志包

Reply View the author