System Management
An administrator adds a new 4 TB disk, /dev/sdd, to a server. The disk has no partition table, and one partition must use the entire disk. Which command set BEST accomplishes this?
Show the answer
Correct answerB. Run parted /dev/sdd mklabel gpt, then parted /dev/sdd mkpart primary 0% 100%
A GPT label supports disks larger than 2 TiB, and mkpart with 0% 100% spans the whole disk. An msdos (MBR) label is the tempting choice, but it cannot address more than 2 TiB, so most of the disk would be unusable.