3 ms·
> It's gotten to the point where I give /var/log its own disk partition now, Putting /var on its own partition has always been recommended. When default insta
by quesera 5y ago
> It's gotten to the point where I give /var/log its own disk partition now,
Putting /var on its own partition has always been recommended.
When default installer/partitioners fail to do so, I assume it's a habit picked up from desktop-oriented Linux distros.
Logging to /opt would clearly be a bug of the brown M&M variety -- it would make me question other decisions made by the developers.
- lanstin 5y agoIf you have a standard cloud image and want it to use all the disk given to it, one big xfs partition is easier than a bunch of various little partitions for the sake of not filling the root partition. Hopefully everything log rotates well and you have disk full metrics/alarms when they don't. And the architecture should be if the node goes bad for any reason just replace it (with hysteresis so you don't kill all the zookeepers at once when new traffic and bad rotation/rentention fills the disks all at once)
- quesera 5y agoYour "easier" has a lot of complicating qualifications. :) I'd describe single-partition as "slightly simpler, but requiring additional support mitigations, and less effective at the primary job of keeping systems running". I prefer: One partition for / which is required to have an operable system for diagnosis of problems One partition for /var which is expected to grow with limited predictability One partition for the rest, which should be largely static depending on function, but sometimes surprises you regardless. ... With elastic scaling compute nodes and centralized logging, most of these issues are subsumed into the enormous support infrastructure and can be ignored. But some applications don't map well to that environment.