Skip to main content

Move files and fodler from a pool to another one (more complex than I thought)

Ok.

So I have this situation.

I use Freenas with 2 pools.

  • One for my media and files
  • Other one for downloading legitimate torrent files

I use a software I don't recall the name (call it thing*daar) to handle the search and download of the torrent files. It download them using a torrent client (Transmission) and copy them when finish to the pool where the files are.

But that make no real sense since it needs to copy the file so I have it twice and that I cannot use symlinks because NFS does not allow this in 2 separate pools.

As backup of those two pools, I use syncthing that sunc those 2 "folders" into another NAS (based on openmediavault and a RPI4).

So I need to plan the move carefully

  • Stop syncthing to sync for a while
  • Move the files from pool A to pool B to have this folder structure:
    Before:
    \_POOL_A
      \_Download
    \_POOL_B
      \_Media
    After:
    \_POOL_B
      \_Downloads_A
      \_Media
  • Reconfigure my transmission docker config tthat use NFS to point this new location
    Transnmission will be maybe a little confused about this so maybe we will need to re-locate the download if it complains
  • Do a file cleanup (so remove any duplicate and/or created symlinks from Download_A to Media
  • Reconfigure syncthing to only sync 1 folder/pool instead of 2

I guess that I need to list here the different components/vms and how they access the pools

  • transmission vm
    • nas_ip:/mnt/vol1/pool_a >> /downloads
  • jellyfinrancher vmpod thing*daar
    • /media >> storage | nfs_media (nas_ip:/mnt/vol1/media)
  • synchting freenas
  • synchting raspberrypie
  • rancher pod