What is the preferred command to manage MBR and GPT partitions in RHEL 8?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Prepare for the Red Hat Certified Architect Exam with our comprehensive quiz. Master your skills with multiple choice questions and detailed explanations. Gear up to excel!

The preferred command to manage MBR (Master Boot Record) and GPT (GUID Partition Table) partitions in RHEL 8 is "parted." This command-line utility is versatile and allows for advanced partitioning tasks, including the ability to create, delete, and resize partitions. It supports both MBR and GPT partitioning schemes, making it a robust choice for managing disk layouts on modern systems.

Parted also includes a user-friendly interface through its interactive mode, which can simplify the management of partitions for users who may not be as comfortable with command-line syntax. Additionally, it handles larger disks effectively, since the GPT scheme allows for more partitions than MBR and can accommodate larger storage devices.

While other tools like "fdisk" and "gparted" are also available, they have limitations compared to parted. Fdisk is primarily focused on MBR management and does not work with GPT partitions. Gparted, while providing a graphical interface that can be appealing, is not a command-line tool and can require additional dependencies, making parted more suitable for a wide range of system administration tasks.

"pvcreate" is specifically for initializing physical volumes for use with LVM (Logical Volume Management), which is a separate function from basic partition

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy