Objective 102.1: Design Hard Disk Layout

  • Keep / small by distributing larger parts of the directory tree to other filesystems.

  • Separate a small /boot partition below cylinder 1024 for kernels.

  • Separate /var into its own partition to prevent runaway logs from filling /.

  • Separate /tmp.

  • Separate /usr if it is to be shared read-only among other systems via NFS.

  • Set swap size to be somewhere between one and two times the size of main memory.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.