Sequential filling up of disks and drive spindown #1245
-
I've got a server with both SSDs and HDDs, and I want them all under one folder, with one the data moving from one disk to the other only after the previous one is full. As far as I know, this is MergerFS's default behavior. This sequential writing is important because I want to keep the drives idle as much as possible. Also, unrelated to MergerFS, is there a difference between the power consumption an SSD in the idle state and in the woken-up-but-not-doing-any-operations state (if there is such a state)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
mergerfs does no automatic moving of files. It does placement at create time.
You can't do that that way. https://github.com/trapexit/mergerfs/wiki/Limit-Drive-Spinup
Yes. How else would it know where the file is located? Something must at some point find where the file is located and keep track of it. Users can completely change things out of band and there is no real way to know that without looking. Looking means spinup most of the time. Any interaction with the drive that isn't cached by the OS leads to spinup.
It depends on the state of the system. If the drive is in use, no. If it isn't, yes.
It will depend on the device. You have to read about the device in question. If the ssd has low power modes then it will use less power when idle. Every ssd is different is design, features, etc. |
Beta Was this translation helpful? Give feedback.
-
In my practice, I have a 2*16T and 2*4T HDD mergerfs pool in my NAS. Most of my files are in one of the 16T HDD. I can tell that with a decent Linux setup and enough RAM (e.g., 32GB for me), the filesystem cache of Linux should not make the other 3 drives spinned up frequently, at least in my case. |
Beta Was this translation helpful? Give feedback.
mergerfs does no automatic moving of files. It does placement at create time.
You can't do that that way. https://github.com/trapexit/mergerfs/wiki/Limit-Drive-Spinup
Yes. How else would it know where the file is located? Som…