Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 21 |
Nodes: | 6 (0 / 6) |
Uptime: | 28:47:27 |
Calls: | 139 |
Files: | 91 |
Messages: | 42,689 |
A recipe specific for server installations, which limits the swap to let's say 1G or 2G, because the machine has enough RAM built-in.
limiting the swap size to the lower of
100% RAM size and ~5% (open to discussion) disk space.
On 07/08/2024 at 20:33, Holger Wansing wrote:
A recipe specific for server installations, which limits the swap to let's >> say 1G or 2G, because the machine has enough RAM built-in.
What would be the other partitions in this "server" recipe ?
- /var/log as suggested by José Ángel Pastrana ?
- /srv ?
limiting the swap size to the lower of
100% RAM size and ~5% (open to discussion) disk space.
Any opinions about this ?
Hi,
Am 8. August 2024 08:16:03 MESZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:
On 07/08/2024 at 20:33, Holger Wansing wrote:
A recipe specific for server installations, which limits the swap to let's >>> say 1G or 2G, because the machine has enough RAM built-in.
What would be the other partitions in this "server" recipe ?
- /var/log as suggested by José Ángel Pastrana ?
- /srv ?
I think, a separate /srv and /var would be useful.
limiting the swap size to the lower of
100% RAM size and ~5% (open to discussion) disk space.
Any opinions about this ?
A good default IMO.
While we're changing things, could we distinguish between LVM recipes
and non-LVM ones?
I tend to install servers with something like the multi recipe, except instead of devoting the bulk of the disk to /home I instead leave it unallocated (which I do by allocating a spare volume, with keep set to
avoid wasting time formatting it, and I then remove in the late script).
That then gives the flexibility of easily adding volumes or extending
them, as needed by the system.
The other thing I tend to when using multiple partitions is allocate
1.5GB to /boot so that there's enough room for a grml image for use in conjunction with the grml-rescueboot package.
Would it be worth making the upper limit for /boot be 1.5G, and using a scaling factor (if possible) that will only use that much for disks
larger than 1TB, say, as then its a small enough proportion to be no
loss even if people don't use it for grml.