Question 560
Original unofficial RHEL 10 RHCSA skill-check scenario: A provisioning script repeats `pvcreate` on a disk already belonging to a production volume group. Which ongoing practice best prevents a recurrence?
Explanation
Correct Answer
In this RHEL 10 system administration case: A provisioning script repeats `pvcreate` on a disk already belonging to a production volume group. Underlying reason: A PV is not safe to recreate simply because the script is being rerun. The most direct, approved resolution is: Use LVM metadata queries to make initialization idempotent and skip devices already allocated. Confirm it by checking: No existing PV metadata is overwritten during repeated provisioning runs. Sustain the fix by: Add existing-state guards to storage automation. This is the INTENDED response for the best ongoing operational safeguard. It is a knowledge-check explanation, not a verified hands-on Red Hat exam answer;
Incorrect Answers
Require extent and backup review before PV decommissioning. That is not sufficient for the reported RHEL task, because a PV is not safe to recreate simply because the script is being rerun.
Require name-conflict checks in storage scripts. That is not sufficient for the reported RHEL task, because a PV is not safe to recreate simply because the script is being rerun.
Use UUID-based persistent mounts by default. That is not sufficient for the reported RHEL task, because a PV is not safe to recreate simply because the script is being rerun.