Chapter 1 Flashcards

1
Q

Use the output from the following command to answer the next question.

[root@station root]$ cat /proc/partitions
major minor #blocks name
ng use aveq

   8     0    8891650 sda
   8     1     136521 sda1
   8     2    3502170 sda2
   8     3    2096482 sda3 
   8     4          1 sda4
   8     5    2096451 sda5
A

-

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

Which of the following best explains why the partition sda4 is listed in /proc/partitions with only a size of 1?

A

The partition is being used as the extended partition, and therefore is not accessed directly.

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

Which of the following partitions could be an extended partition?

A

/dev/sdb4

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

Which of the following would be a logical partition?

A

/dev/sda5

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

Which of the following commands would list all known partitions?

A

fdisk -cul

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

Which of the following commands could be used to add the partition /dev/sda8?

A

None of the above

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

Use the following transcript to answer the next 3 questions.

[root@station root]$ fdisk -cul /dev/sdb

Disk /dev/sdb: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2f2333e8

Device Boot Start End Blocks Id System
/dev/sdb1 2048 206847 102400 83 Linux
/dev/sdb2 206848 16984063 8388608 83 Linux
/dev/sdb3 16984064 18032639 524288 82 Linux swap / Solaris
/dev/sdb4 18032640 20129791 1048576 83 Linux

A

-

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

Assuming that the system Id’s indicate the true use of the partitions, approximately how much partition space is allocated to swap space?

A

520 megabytes

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

Approximately how much space is left unallocated on the drive /dev/sdb?

A

420 megabytes

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

The administrator wants to use the space is left unallocated on the drive /dev/sdb. What options are avaialble?

A

The remaining space is not available for use

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

After editing the partition table with fdisk, what action must (usually) be taken for the kernel to recognize the new partitions?

A

The machine must be rebooted OR The partprobe command should be run

A or C

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

Which of the following fdisk commands is used to abandon all changes?

A

q

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