Chapter 5: Linux Filesystem Administration Study Notes

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
full-widthPodcast
1
Card Sorting

1/44

flashcard set

Earn XP

Description and Tags

Comprehensive practice flashcards covering Linux filesystem administration, device management, partitioning (MBR and GPT), LVM, mounting, maintenance tools, and disk quota configurations.

45 Terms

1
New cards

A(n) __________ transfers data character-by-character to and from the device, whereas a(n) __________ transfers chunks or blocks of data using physical memory to buffer the transfer.

character device; block device

2
New cards

In a Linux device file, the __________ number points to the device's driver in the Linux kernel, while the __________ number indicates the specific device.

major; minor

3
New cards

Corrupted or missing device files can be manually re-created using the __________ command if the file type, major number, and minor number are known.

mknod

4
New cards

To view a list of devices currently in use by the system along with their assigned major numbers, you can inspect the contents of the __________ file.

/proc/devices

5
New cards

The special character device file __________ represents a bit bucket where any data sent to it is discarded.

/dev/null

6
New cards

The legacy PS/2 mouse port on a Linux system is referenced by the device file __________.

/dev/psaux

7
New cards

The first partition on the primary master PATA drive is named __________, whereas the first partition on the first SATA, SCSI, or SAS drive is named __________.

/dev/hda1; /dev/sda1

8
New cards

The device file representing the first partition in the first namespace on the first NVMe SSD is __________.

/dev/nvme0n1p1

9
New cards

All Linux filesystems share three common structural components: the __________, the __________, and data blocks.

superblock; inode table

10
New cards

The __________ filesystem is a modern Linux filesystem geared toward large-scale storage that includes native support for compression, subvolumes, snapshots, quotas, and multi-device spanning.

btrfs

11
New cards

The __________ filesystem is an improved version of FAT32 that supports large files and is commonly preformatted on USB flash drives because of its cross-platform support across Linux, macOS, and Windows.

exFAT

12
New cards

The __________ filesystem improved upon ext2 by adding journaling capability, whereas the __________ filesystem added larger filesystem capacity and performance enhancements.

ext3; ext4

13
New cards

The __________ filesystem was developed by Silicon Graphics for IRIX and is often selected on Linux systems requiring high-performance concurrent writes of large numbers of files.

xfs

14
New cards

The read-only filesystem commonly used on embedded Linux systems to host system files in a minimal footprint is __________.

squashfs

15
New cards

Associating a storage device with a directory in the logical directory tree is known as __________, and the directory to which it attaches is called the __________.

mounting; mount point

16
New cards

At system boot, the hard disk partition containing most operating system files is mounted to the / directory as the __________ filesystem.

root

17
New cards

The configuration file that defines filesystems to be automatically mounted at system startup is __________, while the file __________ records filesystems currently mounted.

/etc/fstab; /etc/mtab

18
New cards

In /etc/fstab, specifying the defaults option enables seven standard settings: rw, suid, dev, exec, auto, __________, and async.

nouser

19
New cards
<p>In the <code>/etc/fstab</code> file shown, the sixth field contains the check order number used at boot time by the __________ command.</p>

In the /etc/fstab file shown, the sixth field contains the check order number used at boot time by the __________ command.

fsck

20
New cards

In the fifth field of /etc/fstab, an entry of 1 indicates that the filesystem should be backed up by the __________ command, while 0 means no backup is necessary.

dump

21
New cards

Before unmounting a filesystem, an administrator can identify which users or processes are actively accessing the mount point by running the __________ command.

fuser -u

22
New cards

To generate an ISO 9660 image file from a specified directory of files, use the __________ command.

mkisofs

23
New cards

The command __________ can be used to cleanly unmount an optical disc filesystem and trigger the drive bay to open physically.

eject

24
New cards
<p>On a physical hard disk platter shown in the diagram, a concentric ring is a(n) __________, a segment of that ring is a(n) __________, and a group of combined sectors is a(n) __________.</p>

On a physical hard disk platter shown in the diagram, a concentric ring is a(n) __________, a segment of that ring is a(n) __________, and a group of combined sectors is a(n) __________.

track; sector; block

25
New cards

A series consisting of the exact same concentric track across all metal platters inside a hard disk drive is called a(n) __________.

cylinder

26
New cards

Partition definitions on traditional BIOS disks are stored in the __________, whereas modern disks larger than 2 TB2\,\text{TB} use the __________.

Master Boot Record (MBR); GUID Partition Table (GPT)

27
New cards

Under MBR partitioning, partition numbers 1 through 4 are reserved for primary or extended partitions, while logical drives inside an extended partition always begin at number __________.

5

28
New cards

The partitioning tool that can ONLY be used to create and manipulate partitions on GPT storage devices is __________.

gdisk

29
New cards

After modifying disk partitions using fdisk, the __________ command can be executed to force the Linux kernel to reload the partition table into memory without rebooting.

partprobe

30
New cards

To initialize a partition for virtual memory, run the __________ command, and then turn it on with the __________ command.

mkswap; swapon

31
New cards
<p>In the LVM architecture shown, raw storage partitions are initialized as __________, grouped into a(n) __________, and then allocated as __________.</p>

In the LVM architecture shown, raw storage partitions are initialized as __________, grouped into a(n) __________, and then allocated as __________.

Physical Volumes (PVs); Volume Group (VG); Logical Volumes (LVs)

32
New cards

In LVM, the contiguous block allocation unit size within a Volume Group is called the __________ size.

Physical Extent (PE)

33
New cards

To add a newly initialized physical volume into an existing volume group, use the __________ command.

vgextend

34
New cards

The command __________ increases the storage capacity allocated to an existing logical volume.

lvextend

35
New cards

The __________ command reports available and used space on mounted filesystems, whereas the __________ command calculates the disk space consumed by files and directories.

df; du

36
New cards

To view the total and free inode count on an ext2, ext3, or ext4 filesystem, execute the command __________.

dumpe2fs -h

37
New cards

The process of committing volatile data cached in RAM onto physical persistent storage is called __________.

syncing

38
New cards

A filesystem must always be __________ before running the fsck command to inspect and repair errors.

unmounted

39
New cards

To run fsck on all filesystems in /etc/fstab with a non-zero sixth field while explicitly bypassing the root filesystem, pass the option __________.

-AR

40
New cards

To check an ext2, ext3, or ext4 partition for bad physical blocks, run the e2fsck command with the __________ option.

-c

41
New cards

The command __________ modifies ext-family filesystem tuning parameters, such as altering the time interval between mandatory full system checks with the -i option.

tune2fs

42
New cards

Under Linux disk quotas, a(n) __________ limit cannot be exceeded under any circumstances, while a(n) __________ limit permits temporary overage for a default grace period of seven days.

hard; soft

43
New cards

To enable quotas on a partition, the mount options __________ and __________ must be added to the filesystem's entry in /etc/fstab.

usrquota; grpquota

44
New cards

The command used to scan filesystems, create, and initialize the aquota.user and aquota.group files is __________.

quotacheck

45
New cards

Administrators use the __________ command to edit quota limits for specific user accounts, and the __________ command to produce an overview report of filesystem quota utilization.

edquota; repquota