Replies: 2 comments 2 replies
-
I don't have a tool because it's a pretty straight forward process. If you can afford to remove the drive while in use simply remove the branch from mergerfs and rsync the data to the pool. If you don't want to have the data missing temporarily from the pool... create another pool with whatever settings relevant to your situation to spread files around and then rsync from the branch to the temporary pool. |
Beta Was this translation helpful? Give feedback.
-
The way I described before is perfectly safe. Mount another pool minus the branch to remove and rsync to it. You don't need to balance. Just let mergerfs do its thing. This is how I do it and it is safe. rsync writes a temp file and renames so it's atomic from the software perspective and the original pool will select one of the files afterwards just fine. You are welcome to do as you suggested but requires more work. |
Beta Was this translation helpful? Give feedback.
-
I have a large mergerfs pool containing 5 x 4TB drives. I want to free one of those drives up for other use as I have enough free space across the 4 remaining drives.
What is the best way to remove it and ensure all its files are transferred to the other drives so no files are lost?
I couldn't find a tool to do this unless I have missed it in all my reading.
du -h on the directory for that drive shows 1.3TB of data used.
I have approx 4TB of free space across the 4 drives.
Is it just a case of stopping the mergerfs mount. rsync the data to one of the drives and then balance after that?
Or remove the drive I want lice from mergerfs and rsync back the files from the removed drive to the mergerfs mount?
Any help appreciated.
Cheers
Tony
Beta Was this translation helpful? Give feedback.
All reactions