mergerfs move all files from one directory to another without copy/delete

  • I am trying to move everything from
    /media/pooluuid/folder1/*
    to
    /media/pooluuid/folder2/folder1/


    My current create policy is "Existing path, most free space"


    How could I do this? I basically just want to update the pointers of the files/directories that instead folder1 folder2/folder1.


    Thanks

  • I tried
    mv /media/pooluuid/folder1/* /media/pooluuid/folder2/folder1


    but the problem is when I do this, it seems mergerfs wants to recreate the files.

    Did you create /media/pooluuid/folder2/folder1 before the move? You want the path to be existing before you move the files there, and the take down may be the "...most free space"
    Perhaps you can bypass mergerFS by doing the move on the individual drives.

    Version7.0-32 (Sandworm)
    ProcessorAMD EPYC 7302P 16-Core Processor
    KernelLinux 6.1.15-1-pve
    HardwareDell R7515
  • I didn't want to mess around with it, so I just rsyncd the 10TB of data..... took awhile, but it worked....


    Thanks for the help.


    In the future it would be nice to know how to do this without copying data.....

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!