Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Storage Provisioning

Direct answer

Storage provisioning automation creates and presents storage — LUNs, volumes, shares or cloud disks — with the right size, protection and access, through APIs or modules instead of consoles.

When to use this

Use this when provisioning storage via APIs.

First 30 seconds

1. Storage provisioning via array APIs, cloud APIs, Ceph/ZFS/LVM tools.

2. Standard names and tags.

3. Check capacity.

4. Map to hosts (masking).

5. Verify.

Operational verification

request → API → volume → mapping

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
storage automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformstorage automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior. · Linux / util-linux
Key commandlsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINTS
Scope / prerequisiteUse this when provisioning storage via APIs.
Verify · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Automation command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Command read-back and what it shows Verify boundary

lsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINTS is the bounded verification surface selected for Storage Automation → Storage Provisioning. A known-good result is the allocated resource has the expected identity/size, appears on the intended host through the correct path/multipath mapping, upper layers match the request and the consumer sees the expected capacity. Treat missing/wrong-sized device, duplicate path treated as separate disks, wrong mapping to volume identity, or correct block visibility with missing/incorrect upper-layer provisioning as broken/suspicious. lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS,UUID shows host-visible block topology and selected metadata, but it does not show array/cloud policy, path redundancy or application I/O quality.

Step 2 Verification path Verify boundary

For Storage Automation → Storage Provisioning, the evidence must connect the control-plane result to the provisioned storage object and its usable attachment/filesystem/application path and explain any gap between desired, controller-reported and consumer-visible state.

Step 3 Common mistakes Narrow the fault
  • No naming or tagging standard.
Step 4 Observation-driven branch and next-check logic Narrow the fault

For a failing Storage Automation → Storage Provisioning case, freeze scope first: target/object, desired revision or request, and failure time. Inspect lsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINTS. Branch on evidence rather than labels: if provider allocation is absent/failed, stay at provider workflow; if allocation exists but host device is missing, inspect presentation/path/rescan; if device exists but upper layers are wrong, inspect size, multipath, partition/LVM/filesystem mapping before application checks.

Step 5 Where it fails Narrow the fault

Failure analysis for Storage Automation → Storage Provisioning should follow the path through the components: automation request → storage API/controller → pool allocation → volume/LUN → mapping/attach → OS/hypervisor discovery → filesystem/application verification.

Key points
  • Provision with the right size, protection and access.
  • Follow naming standards.
  • Document what was created.
Key checks
  • Array/storage API or CLI — provisioning interface
  • Naming and tagging standards — consistency
  • Capacity check before provisioning — safety
ReferenceWhy it matters1 section · depth on demand

Method

Storage provisioning automation creates storage for a request consistently and safely.

1. Validate the request: size, performance tier, protocol, consumer host.

2. Check pool capacity and thin-provisioning headroom.

3. Create the volume/LUN/dataset with naming and tagging standards.

4. Map/export it to the consumer (LUN masking, NFS export, SMB share).

5. On the host: rescan, create filesystem, mount persistently.

6. Verify read/write and record the allocation.

- community.general.lvg: { vg: data, pvs: /dev/disk/by-id/scsi-3600a0980... }
- community.general.lvol: { vg: data, lv: app, size: 200g }
- community.general.filesystem: { fstype: xfs, dev: /dev/data/app }
- ansible.posix.mount: { path: /srv/app, src: /dev/data/app, fstype: xfs, state: mounted }
ReferenceHow it works1 section · depth on demand

How it works

In Storage Automation → Storage Provisioning, effective state is split across requested capacity/performance class, provider or array allocation, host-visible device identity and any partition/LVM/filesystem layers created above that device. Storage provisioning moves from provider-side allocation through attachment/presentation to host discovery and then optional volume/filesystem construction; each layer can succeed while the next remains absent. SAN zoning/masking, cloud attachment, multipath, udev, LVM, filesystem and permissions are separate things to check. This matters because a provider reports volume creation before the host sees a usable device, and a visible block device does not show it maps to the intended LUN/volume or meets requested policy.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docstorage automation current

Authoritative/upstream documentation reviewed for bounded claims in Storage Automation > Storage Provisioning. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.ansible.com/ansible/latest/collections/community/general/lvol_module.html · confidence 94%
Confirmation

Confirm action

Continue?