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…
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)- A3% (2)
- B7% (5)
- C87% (61)
- D3% (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
Community Discussion
No community discussion yet for this question.