Storage · Storage Networking
VLAN
Cheat sheet · https://pcornel.dk/topic.php?topic=4333
Answer
A storage VLAN isolates storage traffic on its own Layer 2 segment, often one VLAN per iSCSI path, keeping it separate from user traffic and limiting who can reach storage targets.
Remember
- Often one VLAN per iSCSI path.
- Keeps storage off user networks.
- Tag consistently on all switches.
First checks
ip -d link show— VLAN interfacesbridge vlan show— bridge VLANsswitch: show vlan— ports per VLAN
Commands
ip link add link DEVICE name NAME type vlan id VLANIDtcpdump -e -i ens2f0 vlan 30
Verify in this order
NIC → storage VLAN → target
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4333