请不要把任何和邀请码有关的内容发到 NAS 节点。

邀请码相关的内容请使用 /go/in 节点。

如果没有发送到 /go/in,那么会被移动到 /go/pointless 同时账号会被降权。如果持续触发这样的移动,会导致账号被禁用。
rabt
V2EX  ›  NAS

求助 NAS 文件转移方案

  •  
  •   rabt · Sep 24, 2024 · 2236 views
    This topic created in 616 days ago, the information mentioned may be changed or developed.
    目前是 qb 下载、tr 保种辅种、moviepilot 自动化方案,加装了 16T 的新硬盘,如何转移之前的硬盘文件到新硬盘上?并且不影响保种和 moviepilot 呢?
    10 replies    2024-09-24 11:44:25 +08:00
    yulgang
        1
    yulgang  
       Sep 24, 2024
    rsync 拷贝?
    thetbw
        2
    thetbw  
       Sep 24, 2024
    传输可以 rsync,然后 linux 不是有软链接和硬链接吗,我不晓得他们的区别,但应该可以吧,也不会占用多余空间
    yulgang
        3
    yulgang  
       Sep 24, 2024
    @yulgang rsync -avh --progress /mnt/olddisk/ /mnt/newdisk/
    然后修改对应服务到新路径下,重启服务
    wjxd
        4
    wjxd  
       Sep 24, 2024
    @yulgang 硬链接不知道能不能处理。估计会变成存 2 份?
    fishlium
        5
    fishlium  
       Sep 24, 2024
    在 moviepilot 里面移动就可以了
    vmebeh
        6
    vmebeh  
       Sep 24, 2024
    dd 或者其他硬盘/扇区复制工具复制硬盘/分区之后再扩展分区到最大肯定不影响,连卷 guid 都一样,只是耗时长点,中间硬盘要停用
    yulgang
        7
    yulgang  
       Sep 24, 2024
    @wwd179 rsync -aAHSXvh --progress /mnt/olddisk/ /mnt/newdisk/
    这样就可以了,保留了源文件的 ACL 属性、-H 处理硬链接避免重复拷贝
    yulgang
        8
    yulgang  
       Sep 24, 2024
    @yulgang #7 但是,你要记得 rsync 过程中源数据不要有写操作了
    yulgang
        9
    yulgang  
       Sep 24, 2024
    @thetbw rsync 的-H 参数可以识别硬链接
    lany
        10
    lany  
       Sep 24, 2024 via Android
    moviepilot 的目录监控插件复制一份,然后整体迁移种子
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5825 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 02:51 · PVG 10:51 · LAX 19:51 · JFK 22:51
    ♥ Do have faith in what you're doing.