V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
kratosmy
V2EX  ›  程序员

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

  •  
  •   kratosmy · Jan 11, 2024 · 2123 views
    This topic created in 846 days ago, the information mentioned may be changed or developed.

    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 replies    2024-01-12 07:50:10 +08:00
    accelerator1
        1
    accelerator1  
       Jan 11, 2024
    试着加个参数“--allow-other”?
    defix
        2
    defix  
       Jan 11, 2024
    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
       Jan 11, 2024
    @accelerator1 尝试过
    kratosmy
        4
    kratosmy  
    OP
       Jan 11, 2024
    @defix 嗯。这样小文件没问题,大文件就又不行了,大概率就是 onedrive 那边有限制,算了。
    ISOtropy
        5
    ISOtropy  
       Jan 12, 2024 via Android
    我一般是 aria 下载到本地 然后 rclone move 到远程 你这种我个人感觉不太好 会造成不必要的带宽消耗与 api 请求
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5301 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 05:45 · PVG 13:45 · LAX 22:45 · JFK 01:45
    ♥ Do have faith in what you're doing.