Target Linux host · LVM/device-mapper context
pvcreate
pvcreate
Initialize a block device or partition as an LVM physical volume.
Primary lookup intent: destructive. Use `pvcreate` when the lookup goal is to initialize a block device or partition as an LVM physical volume. Tie the result to the same host, namespace, user identity and time window as the symptom.
Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Repeat the original workload/request before closure.
Privilege Root/CAP_SYS_ADMIN with write access to the target block device.State impact DestructiveProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Expected-state cue for `pvcreate`The exact target device becomes an LVM PV with the intended identity and no unexpected consumer remains. Capture the exact invocation, exit status, stdout/stderr, target identity and observation time.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Supports the state directly exposed by pvcreate for the selected object and execution context.
Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Repeat the original workload/request before closure.
Command guidance
Execution context
Target Linux host · LVM/device-mapper context
Use when
Primary lookup intent: destructive. Use pvcreate when the lookup goal is to initialize a block device or partition as an LVM physical volume. Tie the result to the same host, namespace, user identity and time window as the symptom.
Important fields
Expected-state cue for pvcreate: The exact target device becomes an LVM PV with the intended identity and no unexpected consumer remains. Capture the exact invocation, exit status, stdout/stderr, target identity and observation time.
Common problems
Suspicious-output cue for pvcreate: Wrong disk is initialized, existing signatures/data are overwritten unintentionally, or PV metadata/readback is inconsistent. Treat this as a troubleshooting signal, not automatic root cause.
Operational impact
Recovery class: restore_only. Before-state for pvcreate: Capture exact device WWN/serial/path, existing signatures, LVM metadata/backups and data backup before initializing a PV. DANGEROUS — pvcreate can destroy or irreversibly alter data/state. Validate exact target and recovery path before execution. pvcreate safety classification: destructive — potential irreversible data, identity or storage change; require explicit target validation, backup/recovery path and post-change verification.
Runtime cautions
Rollback for pvcreate: PV initialization is not a safe generic inverse operation; restore prior metadata/data only from trusted backups to the verified device. Failure recovery: Stop writes, preserve device evidence, restore LVM metadata/data and validate VG/LV/filesystem consumers before reuse. Prerequisites for pvcreate: DANGEROUS prerequisite: prove the exact block device is intended for LVM, has no required filesystem/data and has a verified recovery path. Confirm PV/VG/LV identity, underlying-device health, free extents, metadata backup and downstream filesystem/application ownership. Privilege boundary for pvcreate: Root/CAP_SYS_ADMIN with write access to the target block device. Confirm distribution/tool version and effective namespace before relying on option-specific behavior.
Technical context
Post-change verification for pvcreate: Verify PV/VG identity and every dependent storage layer plus application data integrity. Output review: healthy and suspicious cues are command-specific interpretation boundaries, not fixed literal output samples. Intent class: destructive. Safety class: destructive. Intent describes the primary lookup role; safety remains command-family capability and can be higher than a read-only invocation. pvcreate is documented as an operational lookup primitive under LVM. The canonical leaf intentionally represents the command family; options remain distribution/tool-version specific.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Known-good state patternKnown-good · Linux
State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent.healthy/terminal
pvcreate — Known-good. State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent. Why: this command exposes Linux kernel/userspace resource path state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by pvcreate for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Repeat the original workload/request before closure.
Transitional state patternTransitional · Linux
State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples.in-progress
pvcreate — Transitional. State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples. Why: this command exposes Linux kernel/userspace resource path state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by pvcreate for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Repeat the original workload/request before closure.
Broken state patternBroken · Linux
State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause.failed/degraded
pvcreate — Broken. State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause. Why: this command exposes Linux kernel/userspace resource path state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by pvcreate for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect the exact process namespace/credentials/cgroup and owning kernel subsystem, then test the resource from the original workload context. Repeat the original workload/request before closure.