CompTIA Server+ SK0-004 Exam Question: Mounting an Ext4 eSATA Drive on Linux Server

Mounting an Ext4 eSATA Drive on a Linux Server

Prev Question Next Question

Question

A technician has connected a previously formatted ext4 eSATA drive to a Linux server.

Given the following output: Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 382818 cylinders, total 1953525168 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: 0x0009f31a - Device Boot Start End Blocks Id System /dev/sdb1 * 20481 953525168 976761560 83 Linux Which of the following commands should the technician use to make the partition available under /data/drive0?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

D.

The correct answer is D. mount /dev/sdb1 /data/drive0

Explanation: The output given shows that the device /dev/sdb has a partition /dev/sdb1 with the Linux filesystem (identified by the partition type 83). To make the partition available under /data/drive0, the technician needs to mount it using the mount command.

The mount command syntax is as follows: mount [options] device_name mount_point

In this case, the device name is /dev/sdb1 and the mount point is /data/drive0. Therefore, the command to make the partition available under /data/drive0 is: mount /dev/sdb1 /data/drive0

Option A (fdformat) is incorrect because it formats a disk and cannot be used to mount a partition.

Option B (ext2) is also incorrect because it is not a valid command for mounting a partition.

Option C (net use) is a Windows command and cannot be used on a Linux server.

Option E (fdisk) is used to partition a disk and list the partitions, but cannot be used to mount a partition. The correct option would be to use the mount command as explained above.