happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
9k stars 1.98k forks source link

nfs系统文件如何迁移到fastdfs? #352

Open xiongshiyan opened 4 years ago

xiongshiyan commented 4 years ago

以前上传下载系统是通过nfs的,一台机器java上传,nfs自动同步,另外一台nginx提供web下载,现如何将已经存在的文件存储到fastdfs呢? 我试了直接放过去是无法访问的,400错误,我猜想是文件名不满足校验导致的。难道只能把这些文件一个个地通过专有api上传吗?

happyfish100 commented 4 years ago

需要使用FastDFS API逐个文件迁移过来。

sjqzhang commented 4 years ago

可以用go-fastdfs ,极速迁移功能,无需api

xiongshiyan commented 4 years ago

可以用go-fastdfs ,极速迁移功能,无需api

请问有指导文档吗?@sjqzhang

sjqzhang commented 4 years ago

可以看一下这个视频 https://www.bilibili.com/video/av92526484