Block Storage
Cheat sheet · https://pcornel.dk/topic.php?topic=4064
Answer
The array exports a logical block address space as a LUN or namespace. The host sees a block device and places a partition table, filesystem, volume manager, database layout or hypervisor datastore above it. The SAN transports block commands but does not understand ordinary file semantics.
Remember
- Block device ≠ filesystem.
- Sector/LBA access ≠ file-level sharing.
- LUN capacity ≠ filesystem usable capacity.
- Read/write success on one path ≠ multipath resilience.
First checks
lsblk -d -o NAME,SIZE,WWN,TRAN— block devices with WWNsg_inq /dev/sdX— vendor/modelmultipath -ll— mapped LUNs
Verify in this order
LUN → host block device → filesystem
Where it usually breaks
First mismatch in initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer; preserve identity/pre-state before mutation.
SAN → Block Storage SAN/iSCSI map
| SAN/iSCSI boundary | What to verify | Proof limit |
|---|---|---|
| Identity / presentation | Initiator + target identity, portal/fabric path, LUN stable ID and mapping | Discovery or login alone does not prove correct storage ownership |
| Path / transport | Link/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath grouping | One reachable path does not prove resilience or backend health |
| Failure boundary | A block device present in the OS proves presentation and at least one discovery path, not the validity of its filesystem, application data or redundant pathing. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: stable device identity/capacity matches design, all expected paths converge on one logical unit, upper-layer ownership is known and controlled I/O succeeds. | Close only after the original block workload and upper-layer consistency check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4064