Question 370
A Linux administrator faces this situation: A new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. Which action best resolves the specific issue while preserving correct system behavior?
Explanation
Correct Answer
Initialize a GPT partition table using a compatible partitioning tool after confirming the correct disk. This corrects the case-specific failure. First verify: Inspect the disk size and existing partition-table label using parted or gdisk before writing. Then demonstrate success: The disk reports GPT metadata and the required partitions can be created across the intended capacity.
Incorrect Answers
Create an ext4 filesystem with mkfs.ext4 on the verified target partition. That would matter when a partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. The relevant distinction in this case is: Initialize a GPT partition table using a compatible partitioning tool after confirming the correct disk.
Initialize the partition with mkswap and activate it using swapon. That would matter when a newly allocated swap partition is present but the kernel refuses to activate it as swap. It does not address this case's requirement: A new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits.
Use mkfs.xfs on the intended empty partition when XFS is the approved format. That would matter when a dedicated partition is intended for XFS but the engineer initially formats it with ext4. That separate mechanism does not verify the needed Linux administration outcome in this case.