102.1 Design hard disk layout Flashcards
What is the directory from which all others descend?
root ( / )
What is in /var usually?
This is a variable location. Typically you will find log files and other dynamic content.
What is the /home directory?
/home is the user’s home directory, where personal files are stored.
Which file system location stores the Linux kernel and all its supporting files?
/boot
This file system location is often used by third party software vendors. What is it called?
/opt
What is SWAP space?
Swat space is temporary storage that acts like RAM.
Why is a swap file lower in performance than a dedicated swap partition?
Because it’s actually writing to a separate file within any partition, while a swap partition, all data that gets sent there is just going straight to the hard disk and not getting written to an extra file.
What is the rule of thumb for the size of a swap file?
To set the swap file space to be 1.5 to 2 times the size of RAM on the computer.
What does this mean? /dev/sda
sda means that is your first hard drive. It ‘s the “a” in “sda” that tells us this. (at least the first drive that the Kernel can recognize).
When a percentage of _____ is full is that the kernel will move the _____ used data to swap.
RAM - less
What command displays every partition and corresponding mount points in the system?
mount
What functions does the #mount command have?
- show the partitions and mount points
2. mount partitions to directories
How is /dev/sda1 interpreted/read?
These are partitions:
/dev/sda1 > first partition (1) of the first drive (a)
What is a mount point?
A mount point is when you take a partition of a disc or an entire disc and you mount it to a specific directory.
What is a block device?
A hard disk that writes large amounts of data in block sizes to a location.
Which command lists the partition information on a specific disk?
fdisk -l /dev/sda
In the output of the command fdisk -l /dev/sda, what does the star sign mean under the title “boot”?
It means this disk has the boot flag set on it so the computer knows to boot from it.
What command can you use to see how the swap partitions are set up?
swapon –summary
What does LVM stand for?
Logical Volume Manager
What does LVM do?
It allows the creation of groups of disks or partitions that can be assembled into a single or multiple file systems.