We are currently at 8.5.0.6 (yes, I know, we're planning an upgrade), and do all local cache. Since cache1 is also used to contain links, it would be helpful to remove cache1 from the round-robin'ng based on percentage utilization. Anyone know if this can be done or perhaps if a feature upgrade in the future?
Thanks,
-walt
Force the cache1 filesystem to be almost full by dropping a few files full of zeros:
On Linux / UNIX:
split -b 1000m </dev/zero
Then delete one or two of the files (they'll all start with an x, followed by two letters).
This will make the filesystem ineligible for storing new files unless all other cache filesystems are full, but still allow links (because they consume very little space). If you get down to less than 1GB free, delete another of the x?? files.
Thanks for your response. Since we do over 4,000 loads per day, sometimes alot more, would seem to be cutting it close on this and would require constant monitoring.
Also, just an additional note, this is part of a volume group that cannot be expanded anymore.
-Walt
Heh. You'd be surprised how many links will fit into 1GB. :) Even if each link takes up a 4k block, it's 256,000+ links. A lot of older systems use 512 byte blocks, so it's over a million links for each GB.
And all you'd really need to do is fill up your cache1 more than any other cache filesystem for this to work.
-JD.
Thanks all. I think I will make the cache1 size just a few gig larger than the currently largest cache size.
-walt
Quote from: wwwalton on January 28, 2016, 12:47:22 PM
Thanks all. I think I will make the cache1 size just a few gig larger than the currently largest cache size.
-walt
You want the opposite -- if the cache1 filesystem has LESS free space, then newly loaded files will go elsewhere. This is why filling the cache1 filesystem with "temporary" files works.