Server Lesson 3 Quiz
Which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory?
--loop
The mkfs command can be issued with what switch in order to specify a filesystem type?
-t
Which device file below represents the first primary partition on the second PATA hard disk drive?
/dev/hdb1
What character device file represents the second serial port on a system (COM2)?
/dev/ttyS1
Select the two commands in fdisk's interactive mode that can be used to show known partition types and view the current partition table:
1 p
1. The process in which a filesystem is placed on a disk device. 2. A command used to re-create a device file, provided the major number, minor number, and type (character or block) are known. 3. The filesystem that contains most files that make up the operating system; it should have enough free space to prevent errors and slow performance. 4. The storage devices that transfer data to and from the system one data bit at a time. 5. A series of tracks on a hard disk that are written to simultaneously by the magnetic heads in a hard disk drive. 6. The process of writing data to the hard disk drive that was stored in RAM. 7. A hard disk quota that the user cannot exceed. 8. A physical division of a hard disk drive. 9. A command used to identify any users or processes using a particular file or directory 10. The storage devices that transfer data to and from the system in chunks of many data bits by caching the information in RAM
1. formatting 2. mknod command 3. root filesystem 4. character devices 5. cylinder 6. syncing 7. hard limit 8. partition 9. fuser command 10. block devices
What hex code is associated with a Linux swap type partition?
82
Each device attached to a system can be represented by multiple device files.
False
In Linux, you are restricted to using only one type of filesystem on a system.
False
Volumes can contain a filesystem but they can't be mounted to directories within the Linux filesystem hierarchy.
False
The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
True
When you insert a DVD while in a GUI environment, it is automatically mounted by the system to a directory underneath the /media directory that is named for the label on the DVD.
True
A device that transfers data in a character-by-character fashion is referred to as what type of device?
character
Which command below provides the easiest method for monitoring free space on mounted filesystems?
df
Select the command below that shows the size of a directory and its contents in kilobytes:
du
The quotas for certain users can be edited by using which command?
edquota
Select the command that can be used to create partitions that will be stored in an MBR after installation:
fdisk
Errors on a filesystem are common on most filesystems. What do these errors indicate?
filesystem corruption
What command can be used to check different kinds of filesystems on Linux for errors?
fsck
What two commands below can be used to edit a GPT based hard disk's partitions?
gdisk parted
Select the command that can be used to check an ext2, ext3, or ext4 filesystem:
mke2fs
Select the two commands below that can be used to prepare a swap partition and then enable it for use:
mkswap swapon
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?
mount -a
What command below can be used to create a new physical volume?
pvcreate
In what filesystem are most of the operating system files contained?
root
In the event that you wish to disable a swap partition, what command must be used?
swapoff
Data is read from physical hard drives in concentric circles known as which of the following?
tracks
What file system below is used by software programs that write to a CD-RW or DVD-RW drive?
udf
What two commands can be used to show information about physical volumes and logical volumes respectively?
vgdisplay . lvdisplay
Select the commands that can be used to extend a volume group and logical volume respectively:
vgextend lvextend
In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit?
w