nerdexam
CompTIA

XK0-004 · Question #515

A storage administrator added a new primary partition to a drive and wants to create a filesystem without rebooting. Which of the following commands will allow this to happen?

The correct answer is C. partprobe. After creating a partition with fdisk, you cannot add a file system to that partition unless the kernel can read it from the partition table. You might receive an error like"Re-reading the partition table failed" during the fdisk operation. Rebooting the machine updates the…

System Management

Question

A storage administrator added a new primary partition to a drive and wants to create a filesystem without rebooting. Which of the following commands will allow this to happen?

Options

  • Afdisk
  • Bfsck2
  • Cpartprobe
  • Dparted

How the community answered

(70 responses)
  • A
    3% (2)
  • B
    7% (5)
  • C
    87% (61)
  • D
    3% (2)

Explanation

After creating a partition with fdisk, you cannot add a file system to that partition unless the kernel can read it from the partition table. You might receive an error like"Re-reading the partition table failed" during the fdisk operation. Rebooting the machine updates the table, or you can issue partprobe instead to update the table without a reboot.

Topics

#partprobe#partition table#kernel rescan#disk management

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice