Loading... 今天,我将几个电影盘使用mergerfs合并成了一个存储池,但使用中发现,qbittorrent只能正常识别其中一块硬盘上的文件,其它盘会提示I/O错误,并显示“no such driver”。经过一顿搜索发现: 在使用qbittorrent和mergerfs时,可能会遇到兼容性问题。qbittorrent的新版本需要mmap功能支持,而默认情况下的MergerFS挂载选项(如direct_io)与mmap不兼容,会导致qBittorrent在访问文件时出现IO错误。 **解决方法:** 1. 调整MergerFS挂载选项,添加 `cache.files=partial`和其他必要选项,以支持mmap和其他文件操作。 示例挂载命令: ```bash ``` sudo mergerfs -o defaults,allow_other,use_ino,cache.files=partial,dropcacheonclose=true,category.create=mfs /mnt/disk1:/mnt/disk2:/mnt/disk3 /srv/mergerfs 最后修改:2025 年 06 月 05 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏