Design hard disk layout Flashcards

1
Q

What is the maximum size of a filesystem with MBR?

A

2TB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What should be used of the file system will be over 2TB?

A

GPT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name the three partition types in MBR?

A

Primary, Extended and Logical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

With MBR how many partitions are you limited to?

A

Four Primary or Three Primary and one Extended.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where is the MBR stored?

A

First sector of the disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What command will back up the MBR?

A

sfdisk -d /dev/sda > sda-backup.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command will restore the MBR?

A

sfdisk -d /dev/sda < sda-backup.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What data structure is used on GPT to guard against MBR tools being used on it?

A

Protective MBR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is used with GPT to define various metadata?

A

Header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many partitions can a GPT disk have?

A

128

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What partition holds program and data files that are unique to the computer?

A

/usr/local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is in the /mnt or /media directory?

A

Mount points for removable media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where must /etc, /bin, /sbin, /lib and /dev be mounted?

A

On the local computer partitions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What command will display information about mbr disks?

A

fdisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command will create or change partitions on a disk?

A

fdisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the Linux numbers for the primary and extended partition?

A

1 2 3 4

17
Q

What Linux number do logical partitions start at?

A

5

18
Q

What command will show information about partitions?

A

parted

19
Q

What command will display information about gpt disks?

A

parted, gparted, or gdisk

20
Q

What does LVM stand for?

A

Logical Volume Manager

21
Q

What does the LVM do?

A

Combines disks into a single logical space

22
Q

What are the three tiers of LVM?

A

PVs - Physical Volumes VGs - Volume Groups LVs - Logical Volumes