CompTIA Linux+ XK0-006 (V8) Practice Question

An ext4 partition mounted on /var/mqueue routinely stores millions of 512-byte e-mail queue files. After several days of heavy load, new messages cannot be queued and the touch command returns "No space left on device" even though disk blocks are still available:

$ df -h /var/mqueue Filesystem Size Used Avail Use% Mounted on /dev/sdb1 20G 8.1G 10G 45% /var/mqueue

$ df -i /var/mqueue Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sdb1 131072 131072 0 100% /var/mqueue

You plan to recreate the filesystem so it can hold at least four times as many small queue files before running out of inodes. Which mkfs.ext4 command option should you adjust to achieve this without adding more storage?

  • Format the partition with mkfs.ext4 -i 1024 /dev/sdb1 to decrease the bytes-per-inode ratio.

  • Format the partition with mkfs.ext4 -J size=400M /dev/sdb1 to enlarge the journal.

  • Format the partition with mkfs.ext4 -t largefile4 /dev/sdb1 for a large-file usage profile.

  • Format the partition with mkfs.ext4 -m 0 /dev/sdb1 to eliminate reserved blocks.

CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot