Empty disk and moving data to other disks before removing it #1216
-
Hi, I have an 8 disk snapraid configuration, 2 drives are parity and 6 are pooled with mergerfs. Mergerfs is amazing and I've been using it for several years with zero issues. Today the SMART info is telling me that one of my disks is failing. I have plenty of space in the other disks to move the data, without the need to immediately replace the failing drive. Is there any function in mergerfs that would allow me to empty this disk and basically "balance" the data across the other disks. Or any other suggestions on how to proceed? For now I'm thinking:
Is this the best strategy and is rsync -av the best command or are there other suggestions/switches that I should use? Thank you in advance for any suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Glad it's been working for you. Nothing built in. You are in the ballpark but there is a better strategy.
done This always seemed to me to be the most obvious and flexible method of performing this procedure but many don't think of it. I'm likely to write something that does this general process at some point. The reason I haven't up to this point is often people just have different ideas on how they want to replace a filesystem and it'd be a project in itself to accommodate for it all. We'll see if I can just build something simple that works for most people into the product. But that will come after v3 finishes likely. |
Beta Was this translation helpful? Give feedback.
-
Amazing! Thanks for the great and fast response! To be honest I couldn't figure out how to use the runtime control API (is that mergerfs.ctl?) so I ended up changing the mounting option for that drive in fstab and remount. |
Beta Was this translation helpful? Give feedback.
-
Thanks again! Everything worked as you described. |
Beta Was this translation helpful? Give feedback.
Glad it's been working for you.
Nothing built in.
You are in the ballpark but there is a better strategy.
done
This always seemed to me to be the most obvious and flexible method of performing this procedure but many…