V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kratosmy
V2EX  ›  程序员

aria2 直接下载到 rclone 挂载的目录问题

  •  
  •   kratosmy · 112 天前 · 944 次点击
    这是一个创建于 112 天前的主题,其中的信息可能已经有所发展或是发生改变。

    step:

    1. rclone mount onedrive 到 linux server , 路径/mnt/onedrive ,--vfs-cache-mode 设为 off ;
    2. aria2-pro 或者 cloudreve 的离线下载修改目标目录到 mnt/onedrive 。

    一直出错写不进去,是 onedrive 有限制吗?--vfs-cache-mode 设为 full 倒是可以但是转存失败,怀疑是 rclone 的缓存才导致成功的而不是直接写进去的。

    5 条回复    2024-01-12 07:50:10 +08:00
    accelerator1
        1
    accelerator1  
       112 天前
    试着加个参数“--allow-other”?
    defix
        2
    defix  
       112 天前
    Without the use of --vfs-cache-mode this can only write files sequentially, it can only seek when reading. This means that many applications won't work with their files on an rclone mount without --vfs-cache-mode writes or --vfs-cache-mode full.

    https://rclone.org/commands/rclone_mount/#vfs-cache-mode-off

    个人建议至少--vfs-cache-mode writes
    kratosmy
        3
    kratosmy  
    OP
       112 天前
    @accelerator1 尝试过
    kratosmy
        4
    kratosmy  
    OP
       112 天前
    @defix 嗯。这样小文件没问题,大文件就又不行了,大概率就是 onedrive 那边有限制,算了。
    tlsmars009
        5
    tlsmars009  
       111 天前 via Android
    我一般是 aria 下载到本地 然后 rclone move 到远程 你这种我个人感觉不太好 会造成不必要的带宽消耗与 api 请求
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   724 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:52 · PVG 04:52 · LAX 13:52 · JFK 16:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.