Feature Request: Add External Storage Mounting Functionality
Cloudreve is very great! Thanks!
Is your feature request related to a problem? Please describe. I am a heavy user of cloud storage solutions and have gone through multiple platforms. Initially, I used NextCloud but wanted to migrate due to its failure to switch from PHP to Golang. I then considered ownCloud OCIS, its Golang-based alternative, but found its evolution too slow. Eventually, I started using Cloudreve and have been doing so for over 2 years. While I recently noticed a significant improvement in its usability—so much so that I have replaced both NextCloud and ownCloud with it—Cloudreve currently lacks a critical feature: external storage mounting. This creates a practical problem in file management, as it is impossible for a single software to handle all file storage needs. Without the ability to mount external storage, I cannot integrate existing local directories or third-party storage services (such as WebDAV, NFS, or Samba) into my Cloudreve workflow, limiting its flexibility for comprehensive file management.
Describe the solution you'd like I would like Cloudreve to add an external storage mounting feature that allows users to mount the following types of storage to a specific user directory within Cloudreve: Local directories (on the server where Cloudreve is deployed) External network storage services, including but not limited to: WebDAV servers NFS (Network File System) shares Samba (SMB/CIFS) shares Additionally, as a current free user of Cloudreve, I would greatly appreciate it if this external storage mounting feature could be included in the free plan (rather than being restricted to paid tiers). This would make the feature accessible to a wider user base and enhance Cloudreve’s competitiveness among free cloud storage solutions.
Describe alternatives you've considered Before settling on Cloudreve, I evaluated and used two primary alternative cloud storage solutions: NextCloud: As a long-term heavy user, I was familiar with its comprehensive features—including the ability to mount external storage (local directories, WebDAV, NFS, Samba, etc.). However, its continued reliance on PHP (instead of migrating to Golang, which offers better performance and efficiency for backend services) led me to seek alternatives. ownCloud OCIS: I considered this solution specifically because it is the Golang-based version of ownCloud, addressing the performance concerns I had with NextCloud’s PHP stack. While ownCloud OCIS also supports external storage mounting, its slow evolution and development progress made it an impractical long-term choice, prompting me to switch to Cloudreve. Cloudreve has now become my preferred solution due to its recent usability improvements, but the absence of the external storage mounting feature (which both NextCloud and ownCloud OCIS offer) is a key gap I hope to see filled.
Additional context I have been using Cloudreve for over 2 years and have witnessed its gradual improvement—particularly the recent significant boost in usability, which convinced me to replace my previous solutions (NextCloud and ownCloud) with it. The need for external storage mounting stems from real-world file management scenarios: Most users maintain files across multiple storage locations (e.g., local server directories for large files, WebDAV servers for remote collaboration, NFS/Samba shares for team-wide access). A single cloud storage tool cannot replace all these existing storage systems, so the ability to "mount" them into a unified Cloudreve interface is essential for streamlining workflows and avoiding the hassle of switching between multiple tools to access different files. As a free user, I value Cloudreve’s current free offering but believe adding the external storage mounting feature to the free plan would not only meet my personal needs but also attract more users who require flexible, cost-effective cloud storage solutions. Thank you for considering this request.
有道理……
不过……
webdav暂且不论…… 为什么不挂载到Cloudreve主机的本地然后添加本地策略呢……?
NFS/SMB这类协议本就不是HTTP类似的协议,安全性上来说大概率没那么适合客户端直接访问,到头来还是需要CR后端处理中转对吧……?
你是说一个用户空间里的应用程序,可以比通过内核模块更高效的处理这些外部协议………?
duplicate with #1951 #2052
关于没有计划支持SMB这件事,可以参考上面的issue的讨论
Cloudreve may not fit for you, as once file have been uploaded &
- You should not move file directly from the storage provider side, all operations must be done on Cloudreve;
- The operation like rename/move on Cloudreve wont change the name/path of physical file, it only changes the record in database.
Ref: https://docs.cloudreve.org/en/#what-is-cloudreve
Maybe a file-list program is more suitable for your scenario which will make change to physical file directly.