Comp TIA Linux+ - Ch. 5
The storage devices that transfer data to and from the system one data bit at a time
character devices
A series of tracks on a hard disk that are written to simultaneously by the magnetic heads in a hard disk drive
cylinder
What does the command dumpe2fs -h do?
displays the number of inodes used and available in an ext2 filesystem
A hard disk quota that the user cannot exceed
hard limit
A command used to re-create a device file, provided the major number, minor number, and type (character or block) are known
mknod command
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?
mount the filesystem and check the lost+found directory underneath the mount point
Which of the following commands can be used to create partitions on either a MBR or GPT hard disk?
parted
a physical division of a hard disk drive
partition
The process of writing data to the hard disk drive that was stored in RAM
syncing
Given the following output from th /etc/fstab, which filesystems will be automatically checked on boot by the fsck command?
/, /proc and swap
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?
False
Which of the following statements are true?
Quotas can limit both user space and the number of files a user can own. Hard limits can never be exceeded Soft limits allow a user to exceed them for a certain period of time
A command used to identify any users or processes using a particular file or directory
fuser command
The filesystem that contains most files that make up the operating system; it should have enough free space to prevent errors and slow performance
root filesystem
What must you do to successfully run the fsck command on a filesystem?
Unmount the filesystem
The process in which a filesystem is placed on a disk drive
formatting
Which command mounts all existing filesysems in /etc/fstab?
mount -a
What does the du /var command do?
shows the size of all directories within the /var directory
Which command is used to format a partiton on a hard disk drive with the ext4 filesystem?
mkfs-t ext4 device
You plug a USB flash memory drive into a system that has two SATA hard disks. What will the partition on this USB flash memory drive be recognized as to the Linux system?
/dev/sdc1
Character devices typically transfer data more quickly than block devices. True or False?
False
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?
The device file has become corrupt
The lvextend command can be used to add additional unused space within a volume group to an existing logical volume. True or False?
True
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?
Use the fdisk command to create one or more partitions on each of the hard disk drives. Mount any partitions created on the two hard dries such that they are accessible by the operating system. Format any partitions created with a valid filesystem recognized by Linux
Which of the following statements regarding LVM structure are correct?
VGs are comprised of one or more PVs
The storage devices that transfer data to and from the system in chunks of many data bits by caching the information in RAM
block devices
You want to see the filesystems that are presently in use on the system. What command could you use?
cat/etc/mtab
Which command is used to display the amount of free space that exists on a filesystem?
df
A device file __________________
has no data section, displays a major and minor number in place of size
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?
unmount the device from the directory