Re: Server setup
On Mon, Jun 14, 2021 at 04:39:11PM -0400, Polyna-Maude Racicot-Summerside wrote:
> I would like to have my system running on different partition for home,
> usr, var, tmp, etc... This is a safe route to prevent some problem (such
> as filling up a partition that risk trashing the system).
"etc."? As in, that's NOT EVEN THE ENTIRE LIST ?!?
Come on. Get real here.
You say in the subject that this is a "server". Therefore /home is not
an issue. There aren't any end users filling up their home directories
to worry about.
Separate /usr is basically no longer a supported configuration. The
usrmerge stuff, and so on... well, I won't drone on about it.
Separate /tmp is a whole can of worms all by itself. You might just
want to make that a RAM-based file system. There are a few varieties
of that.
Out of the partitions you listed, pretty much the only one that makes
sense to separate on certain kinds of servers is /var. And even then,
you might be better off separating some *subdirectory* (or multiple
subdirectories) of /var instead. It depends on what this "server" is
supposed to do. Is it a mail server? Then the mail queue might be
something you separate. A database server? Then perhaps the directory
where the database files live could be separated.
But really, it sounds like you're just blindly following some *massively*
outdated and deprecated advice which serves no real purpose in your
actual situation.
You said that you have the ability to boot the server in rescue mode
remotely. If you can do that and *shrink* the root file system, you
could reallocate some of the disk space to a separate /var, but that's
going to be a pain in the ass to do, and you shouldn't even bother unless
there's an actual justification for it.
Reply to: