102 Design hard disk layout Flashcards
disk partitioning (Basic Desktop)
“Basic Desktop:
/ (root)
/boot (100mb)
swap (swap file is 1 or 2 times the RAM)
“
disk partitioning (Network workstation)
“Network workstation:
/ (root)
/boot (100mb)
/Home (possible NFS or SMB)
swap (swap file is 1 or 2 times the RAM)”
disk partitioning (Server)
“Network workstation:
/Home (possible NFS or SMB)
/var
/usr/bin/apache
swap (swap file is 1 or 2 times the RAM)”
swap space
“swap partition or a swap file - that Linux treats as an extension of memory
“
Knowledge of basic features of LVM
“An alternative to partitions for some functions is logical volume management (LVM).
To use LVM, you set aside one or more partitions and assign them partition type codes of 0x8e.
You then use a series of utilities, such as pvcreate, vgcreate, lvcreate, and lvscan, to manage the partitions (known as physical volumes in this scheme), to merge them into volume groups, and to create and manage logical volumes within the volume groups.”
/ (root)
the root directy. Top of the file system
/bin (along with sbin on some systems)
Critical system executable needed to boot the system or run it
/var
“a place to store files for administration.
Commonly stores log files and temp storage space for some services (such as spooling for mail, printers).”
/home
location of user directories
/dev
devices connected to the system, such as terminals, disks, cd-roms, modems…etc.
/etc
System configuration files, including accounts, and passwords, network addresses and names, system start up settings.
/lib
The home of various shared libraries for programs
/mnt
create empty directories—for user-mountable media.
/proc
“This is an unusual directory because it doesn’t correspond to a regular directory or partition.
Instead, it’s a virtual filesystem that’s created dynamically by Linux to provide access to certain types of hardware information that aren’t accessible via /dev.”
/tmp
temp files created by applications