nerdexam
CompTIA

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…

System Management

Question

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?

Options

  • Alsscsi
  • Bfdisk
  • Cblkid
  • Dpartprobe

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    93% (25)
  • D
    4% (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

#Disk management#Partitioning#fdisk utility

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice