Shared Flashcard Set

Details

LinuxComptia101&102 - Chapter 5
Chapter 5
82
Computer Networking
Graduate
01/25/2016

Additional Computer Networking Flashcards

 


 

Cards

Term
/dev directory
Definition
The directory off the root where device files are typically stored.
Term
/etc/fstab
Definition
A file used to specify which filesystems to mount automatically at boot time and queried by the mount command if an insufficient number of arguments are specified.
Term
/etc/mtab
Definition
A file that stores a list of currently mounted filesystems.
Term
/proc/devices
Definition
A file that contains currently used device information.
Term
bad blocks
Definition
The areas of a storage medium unable to store data properly.
Term
block
Definition
The unit of data commonly used by filesystem commands; a block can contain several sectors.
Term
block devices
Definition
The storage devices that transfer data to and from the system in chunks of many data bits by caching the information in RAM; they are represented by block device files.
Term
btrfs command
Definition
A command used to configure btrfs filesystem options and check btrfs filesystems for errors.
Term
cfdisk command
Definition
A command used to partition hard disks; displays a graphical interface in which the user can select partitioning options.
Term
character devices
Definition
The storage devices that transfer data to and from the system one data bit at a time; they are represented by character device files.
Term
cylinder
Definition
A series of tracks on a hard disk that are written to simultaneously by the magnetic heads in a hard disk drive.
Term
device file
Definition
A file used by Linux commands that represents a specific device on the system; these files do not have a data section and use major and minor numbers to reference the proper driver and specific device on the system, respectively.
Term
df (disk free space) command
Definition
A command that displays disk free space by filesystem.
Term
du (directory usage) command
Definition
A command that displays directory usage.
Term
edquota command
Definition
A command used to specify quota limits for users and groups.
Term
fdisk command
Definition
A command used to create, delete, and manipulate partitions on hard disks.
Term
filesystem
Definition
The organization imposed on a physical storage medium that is used to manage the storage and retrieval of data.
Term
filesystem corruption
Definition
The errors in a filesystem structure that prevent the retrieval of stored data.
Term
formatting
Definition
The process in which a filesystem is placed on a disk device.
Term
fsck (filesystem check) command
Definition
A command used to check the integrity of a filesystem and repair damaged files.
Term
fuser command
Definition
A command used to identify any users or processes using a particular file or directory.
Term
gdisk (GPT fdisk) command
Definition
A command used to create partitions on a GPT hard disk. It uses an interface that is very similar to fdisk.
Term
hard disk quotas
Definition
The limits on the number of files, or total storage space on a hard disk drive, available to a user.
Term
hard limit
Definition
A hard disk quota that the user cannot be exceed.
Term
Logical Volume (LV)
Definition
A volume that is managed by the LVM and comprised of free space within a VG.
Term
Logical Volume Manager (LVM)
Definition
A set of software components within Linux that can be used to manage the storage of information across several different hard disks on a Linux system.
Term
lvcreate command
Definition
A command used to create LVM logical volumes.
Term
lvdisplay command
Definition
A command used to view LVM logical volumes.
Term
major number
Definition
The number used by the kernel to identify which device driver to call to interact properly with a given category of hardware; hard disk drives, CDs, and video cards are all categories of hardware; similar devices share a common major number.
Term
minor number
Definition
The number used by the kernel to identify which specific hardware device, within a given category, to use a driver to communicate with. See also major number.
Term
mkfs (make filesystem) command
Definition
A command used to format or create filesystems.
Term
mkisofs command
Definition
A command used to create an ISO image from one or more files on the filesystem.
Term
mknod command
Definition
A command used to re-create a device file, provided the major number, minor number, and type (character or bock) are known.
Term
mkswap command
Definition
A command used to prepare newly created swap partitions for use by the Linux system.
Term
mount command
Definition
A command used to mount filesystems on devices to mount point directories.
Term
mount point
Definition
The directory in a file structure to which something is mounted.
Term
mounting
Definition
A process used to associate a device with a directory in the logical directory tree such that users can store data on that device.
Term
parted (GNU Parted) command
Definition
A command used to create partitions on a GPT or MBR hard disk.
Term
partition
Definition
A physical division of a hard disk drive.
Term
physical extent (PE) size
Definition
The block size used by the LVM when storing data on a volume group.
Term
Physical Volumes (PVs)
Definition
A hard disk partition that is used by the LVM.
Term
pvcreate command
Definition
A command used to create LVM physical volumes.
Term
pvdisplay command
Definition
A command used to view LVM physical volumes.
Term
pvscan command
Definition
A command used to view LVM physical volumes.
Term
quota command
Definition
A command used to view disk quotas imposed on a user.
Term
quotaoff command
Definition
A command used to deactivate disk quotas.
Term
quotaon command
Definition
A command used to activate disk quotas.
Term
quotas
Definition
The limits that can be imposed on users and groups for filesystem usage.
Term
repquota command
Definition
A command used to produce a report on quotas for a particular filesystem.
Term
root filesystem
Definition
The filesystem that contains most files that make up the operating system; it should have enough free space to prevent errors and slow performance.
Term
sector
Definition
The smallest unit of data storage on a hard disk; sectors are arranged into concentric circles called tracks and can be grouped into blocks for use by the system.
Term
swapoff command
Definition
A command used to disable a partition for use as virtual memory on the Linux system.
Term
swapon command
Definition
A command used to enable a partition for use as virtual memory on the Linux system.
Term
syncing
Definition
The process of writing data to the hard disk drive that was stored in RAM.
Term
track
Definition
The area on a hard disk that forms a concentric circle of sectors.
Term
tune2fs command
Definition
A command used to modify ext2 and ext3 filesystem parameters.
Term
umount command
Definition
A command used to break the association between a device and a directory in the logical directory tree.
Term
vgcreate command
Definition
A command used to create LVM VG.
Term
vgdisplay command
Definition
A command used to view LVM VG.
Term
vgextend command
Definition
A command used to add additional physical volumes to an LVM VG.
Term
vgscan command
Definition
A command used to view LVM VGs.
Term
Volume Group (VG)
Definition
A group of PVs that are used by the LVM.
Term
Which of the following commands can be used to create partitions on either a MBR or GPT hard disk?

a. gdisk

b. cfsck

c. fdisk

d. parted
Definition
Term
After a partition on a hard disk drive is formatted with a filesystem, all partitions on that hard disk drive must use the same filesystem. True or False?
Definition
Term
You want to see the filesystems that are presently in use on the system. What command could you use?

a. cat /etc/fstab

b. ls -l /etc/fstab

c. cat /etc/mtab

d. ls -l /etc/fstab
Definition
Term
Jim has just purchased two new SCSI hard disk drives and a controller card for them. He properly installs the hardware in his machine. Before he can use them for data storage and retrieval, what must he do? (Choose all that apply.)

a. Mount the two hard drives so they are accessible by the operating system.

b. Mount a filesystem to each of the hard disk drives.

c. Create one or more partitions on each of the hard disk drives.

d. Use the vi editor to edit /etc/mtab and create an entry for the controller card and the hard disk drives.

e. Mount any partitions created on the two hard drives such that they are accessible by the operating system.
Definition
Term
Given the following output from /etc/fstab, which filesystems will be automatically checked on boot by the fsck command?


a. none, as fsck must be run manually for each filesystem

b. /, /dev/pts, and /dev/shm

c. /, /proc, and swap

d. all of them, as fsck is run automatically at boot for all filesystems
Definition
Term
A user mounts a device to a mount point directory and realizes afterward there are files previously found within the mount point directory that are needed. What should this user do?

a. Nothing; the files are lost and cannot ever be accessed.

b. Nothing; the files could not have been there because you can only mount to empty directories.

c. Unmount the device from the directory.

d. Run the fsck command to recover the file.

e. Look in the lost+found directory for the file.
Definition
Term
Which command is used to display the amount of free space that exists on a filesystem?

a. fsck

b. quota

c. du

d. df
Definition
Term
What must you do to successfully run the fsck command on a filesystem?

a. Run the fsck command with the -u option to automatically unmount the filesystem first.

b. Choose yes when warned that running fsck on a mounted filesystem can cause damage.

c. Unmount the filesystem.

d. Ensure that the filesystem is mounted.
Definition
Term
Character devices typically transfer data more quickly than block devices. True or False?
Definition
Term
What does the du /var command do?

a. shows the users connected to the /var directory

b. shows the size of all directories within the /var directory

c. dumps the /var directory

d. displays the amount of free space in the /var directory
Definition
Term
What does the command dumpe2fs -h do?

a. backs up an ext2 filesystem

b. displays the number of inodes used and available in an ext2 filesystem

c. dumps an ext2 filesystem

d. is not a valid command
Definition
Term
The first floppy drive on the system is not responding. You enter the file /dev/fd0 command and receive the following output. What is the problem?

[root@server1 root]# file /dev/fd0
/dev/fd0: ACII text
[root@server1 root]#
a. The floppy drive cable has come loose.

b. There is no floppy disk in the drive.

c. The device file has become corrupt.

d. The floppy drive is seen as a character device.
Definition
Term
Which of the following statements are true? (Choose all that apply.)

a. Quotas can only limit user space.

b. Quotas can only limit the number of files a user can own.

c. Quotas can limit both user space and the number of files a user can own.

d. Hard limits can never be exceeded.

e. Hard limits allow a user to exceed them for a certain period of time.

f. Soft limits can never be exceeded.

g. Soft limits allow a user to exceed them for a certain period of time.

h. Either a hard limit or a soft limit can be set, but not both concurrently.
Definition
Term
A device file ____________. (Choose all that apply.)

a. has no inode section

b. has no data section

c. has no size

d. displays a major and minor number in place of a file size

e. has a fixed size of 300 kilobytes
Definition
Term
Which of the following statements regarding LVM structure is correct?

a. PVs are collections of VGs.

b. LVs are created from the free space available within PVs.

c. VGs are comprised of one or more PVs.

d. PVs use the space within LVs to create VGs.
Definition
Term
The lvextend command can be used to add additional unused space within a volume group to an existing logical volume. True or False?
Definition
Term
You plug a USB flash memory drive into a system that has two SATA hard disks. How will the partition on this USB flash memory drive be identified by Linux?

a. /dev/sda1

b. /dev/sda2

c. /dev/sdb1

d. /dev/sdc1
Definition
Term
Which command mounts all existing filesystems in /etc/fstab?

a. mount -f

b. mount -a

c. mount /etc/fstab

d. mount /etc/mtab
Definition
Term
A user runs the fsck command with the -a option on a filesystem that is showing signs of corruption. How would that user locate any files the system was unable to repair?

a. Look in the root of the filesystem.

b. The system prompts the user for a target location when it comes across a file it cannot repair.

c. Mount the filesystem and check the lost+found directory underneath the mount point.

d. View the contents of the directory /lost+found.
Definition
Term
Which command is used to format a partition on a hard disk drive with the ext4 filesystem?

a. format_ext4 device

b. ext4mkfs device

c. e2mkfs -t ext4 device

d. makeext4FS device
Definition
Supporting users have an ad free experience!