Design hard disk layout Flashcards
What is the maximum size of a filesystem with MBR?
2TB
What should be used of the file system will be over 2TB?
GPT
Name the three partition types in MBR?
Primary, Extended and Logical
With MBR how many partitions are you limited to?
Four Primary or Three Primary and one Extended.
Where is the MBR stored?
First sector of the disk
What command will back up the MBR?
sfdisk -d /dev/sda > sda-backup.txt
What command will restore the MBR?
sfdisk -d /dev/sda < sda-backup.txt
What data structure is used on GPT to guard against MBR tools being used on it?
Protective MBR
What is used with GPT to define various metadata?
Header
How many partitions can a GPT disk have?
128
What partition holds program and data files that are unique to the computer?
/usr/local
What is in the /mnt or /media directory?
Mount points for removable media
Where must /etc, /bin, /sbin, /lib and /dev be mounted?
On the local computer partitions
What command will display information about mbr disks?
fdisk
What command will create or change partitions on a disk?
fdisk