NOS - 120 LESSON 5

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

du directory usage command

A command that displays directory usage.

fuser command

A command used to identify any users or processes using a particular file or directory.

tune2fs command

A command used to modify ext2 and ext3 filesystem parameters.

cfdisk command

A command used to partition hard disks; it displays a graphical interface in which the user can select partitioning options.

has no data section displays a major and minor number in place of a file size

A device file _______________________. (Choose all that apply.)

e2label

Changes label on ext partition

/, /proc, and swap the one at the end

Given the following output from /etc/fstab, which filesystems will be automatically checked on boot by the fsck command?

lsusb

List USB devices

partprobe

Request that the operating system re-read the partition table. The operating system kernel reads the partition table and recognizes the table changes.

pvscan

Scans all disks for physical volumes and displays the result.

bad blocks

The areas of a storage medium unable to store data properly.

swapon

To activate a swap space that has been initialized, you can execute:

quotaon

Turns quota on

Universally Unique identified

UUID

quotaoff

Used to deactivate quotas.

lvdisplay

Used to view LVM logical volumes.

mkswap

set up a Linux swap area

repquota

summarizes file system quotas

umount command

unmount disk

/proc/devices

A file that contains currently used device information.

/etc/mtab

A file that stores a list of currently mounted filesystems.

False

After a partition on a hard disk is formatted with a filesystem, all partitions on that hard disk drive must use the same filesystem. True or False?

pvcreate

Command to initialize a physical volume for logical volume use

lvscan

Command to scan all disks for logical volumes

mkisofs

Create an hybrid ISO9660/JOLIET/HFS filesystem

lvcreate

Creates a new logical volume in a volume group

mount point

Drive that functions like a folder mounted into another drive.

edquota

Edit a quota

resize2fs

Extends a logical volume group filesystem

fsck

File system consistency check and repair

Create one or more partitions on each of the SSDs. Mount any partitions created on the two SSDs such that they are accessible by the operating system. Format any partitions created on the SSDs with a valid filesystem recognized by Linux.

Jim has just installed two new SAS SSDs in his system. 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.)

umount /media/cdromeject /media/cdrom

John has been using the cdrom on his computer that is running the Linux operating system. He pushes the eject button on the front of the drive, but it doesn't eject the disk. Which of the following commands should he run? (Choose all that apply.)

lsblk

List block devices

displays the number of used and available inodes for an ext2/ext3/ext4 filesystem

What does the command dumpe2fs -h do?

mount -a

Which command mounts all existing filesystems in /etc/fstab?

/etc/fstab

Which file should be configured so that quotas are enabled at boot time?

A filesystem UUID A device path such as /dev/sdb2 A filesystem label

Which of the following can be used to mount a filesystem? (Choose all that apply.)

quotacheck

Which of the following commands can be used to scan a filesystem for disk usage, create, check, and repair quota files?

gdisk

Which of the following commands can only be used to create partitions on a GPT hard disk?

mkfs exfat /dev/sdb1

Which of the following commands cannot be used to create an exFAT filesystem on a USB thumb drive that is recognized as /dev/sdb?

/boot

Which of the following is required as a separate partition in order to use LVM?

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.

Which of the following statements are true? (Choose all that apply.)

VGs are comprised of one or more PVs

Which of the following statements regarding LVM structure is correct?

/dev/sdc1

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?

df -T cat /etc/mtab

You want to see the filesystems that are in use on the system. What command could you use? (Choose all that apply.)

lvextend

command is used to increase the size of an LV, e.g. to use space extended onto an existing VG

swapoff

deactivates swap partition

mkfs

make file system command

qouta command

make qoutas

mount command

mount device

pseudo filesystem

no actual files but only virtual entries

xfs_admin

parameter modification

-i 14d

Callie wants to make sure that a filesystem is checked every 20 days. Which of the following options, when used with the tune2fs command, would set a full filesystem check to run every 14 days?

displays the total size of the /var directory

What does the du -s /var command do?

Unmount the filesystem.

What must you do to successfully run the fsck command on a filesystem?

device file

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.

Unmount the device from the directory.

A user mounts a device to a mount point directory and realizes afterward she needs files previously found within the mount point directory. What should this user do?

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

A user runs the fsck command with the -f option on an ext4 filesystem that is showing signs of corruption. How would that user locate any files the system was unable to repair?

disk quotas

An option on NTFS volumes that enables administrators to limit how much disk space a user can occupy with his or her files.

pvdisplay

display attributes of a physical volume

False

Character devices typically transfer data more quickly than block devices. True or False?

mknod

Make block or character special files

filesystem corruption

The errors in a filesystem structure that prevent the retrieval of stored data.

root filesystem

The filesystem that contains most files that make up the operating system; it should have enough free space to prevent errors and slow performance.

True

The lvextend command can be used to add unused space within a volume group to an existing logical volume. True or False?

gdisk

Which of the following commands will prompt to convert an MBR partition to GPT, thus destroying all existing MBR partitions on a disk?

xfs_repair /dev/sdb1

Which command can be used to repair an XFS filesystem?

df

Which command is used to display the amount of free space that exists on a filesystem?

e2mkfs -t ext4 device

Which command is used to format a partition on a hard disk drive with the ext4 filesystem?

du

Which of the following commands when run from the /, or root, directory will return a very long list of many pages of results?

/dev/sdb3

Which of the following would be the device file for the third partition on the second SATA drive on a Linux system?

Journaling File System

is one that keeps track of the information written to the hard drive in a journal.

parted command

manage hard disk partitions

vg...

volume group management


संबंधित स्टडी सेट्स

Accounting 200 Final Exam - Clicker Questions

View Set

Give Me Liberty Ch. 13 A House Divided - Review Questions

View Set

Ch. 20: Nursing Management of the Pregnancy at Risk: Selected Health Conditions and Vulnerable Populations

View Set

Földrajz 9. (11.Tétel: Tényleges és relatív vízgőztartalom fogalma, a felhő és csapadékképződés okai, folyamatai, hideg- és melegfront kialakulásának okai és a frontokat kísérő időjárási jellemzők, hogyan keletkezik a csapadék meleg és hidegfront esetén?)

View Set

AP Comparative Government & Politics Unit 1 Prog Check

View Set