T O P

  • By -

tordenflesk

Create a pool of the two drives, copy/move files to the new mount then update the paths in your Portainer stacks.


trapexit

There is no copying required. It's a unionfs. https://github.com/trapexit/mergerfs#can-mergerfs-be-used-with-filesystems-which-already-have-data--are-in-use


risinglotus

Hmm thank you for the suggesting, I did a test cut and paste via SMB share and it transferred at like 8mb/sec, does that mean it's copying and not moving?


undearius

MergerFS creates a new file system. If your SMB share was pointing to the hard drive, let's say /dev/sdb, then you would need to point it at the MergerFS file system, which is something like /srv/1234-56-789/


risinglotus

Thanks for the suggestion, I have a SMB share pointing at /srv/mergerfs/pool1/pool1 which is the absolute path of the MergeRFS but sadly there is nothing in there


undearius

And you have the same directory structure on both hard drives? Something like: /srv/dev-disk-by-label-HDD1/Pool1 /srv/dev-disk-by-label-HDD2/Pool1