CompTIA Linux+ XK0-006 (V8) Practice Question

After a sudden power loss, a Linux server can no longer mount the /dev/sdb1 partition, which is formatted as ext4. The mount command returns the message "wrong fs type, bad option, bad superblock on /dev/sdb1", and dmesg shows "EXT4-fs (sdb1): bad magic number in super-block while trying to open /dev/sdb1". You have booted from rescue media and verified that the disk is healthy. Which command is the MOST appropriate first attempt to restore the filesystem and preserve the existing data?

  • tune2fs -O journal_dev /dev/sdb1

  • mkfs.ext4 -F /dev/sdb1

  • fsck.ext4 -b 32768 /dev/sdb1

  • resize2fs /dev/sdb1 4G

CompTIA Linux+ XK0-006 (V8)
Troubleshooting
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