XK0-005 · Question #109800
A new disk was presented to a server as /dev/sdd. The systems administrator needs to check if a partition table is on that disk. Which of the following commands can show this information?
The correct answer is B. fdisk. The fdisk command is used to view and manipulate disk partition tables. Running 'fdisk -l /dev/sdd' will display the partition table on the disk, or indicate that no valid partition table is found. lsscsi lists SCSI devices attached to the system but does not show partition…
Question
Options
- Alsscsi
- Bfdisk
- Cblkid
- Dpartprobe
How the community answered
(27 responses)- A4% (1)
- B93% (25)
- D4% (1)
Explanation
The fdisk command is used to view and manipulate disk partition tables. Running 'fdisk -l /dev/sdd' will display the partition table on the disk, or indicate that no valid partition table is found. lsscsi lists SCSI devices attached to the system but does not show partition tables. blkid displays block device attributes such as UUIDs and filesystem types, but requires a filesystem to already exist. partprobe tells the kernel to re-read an existing partition table - it does not display partition information.
Topics
Community Discussion
No community discussion yet for this question.