Pcornel
Storage · Storage Networking

MTU

Cheat sheet · https://pcornel.dk/topic.php?topic=4334

Back to the Topic

Answer

MTU is the largest frame a network link carries: 1500 bytes by default, 9000 with jumbo frames. An MTU mismatch on a storage path causes hangs on large transfers, so test end to end with ping -M do -s 8972.

Remember

  • Default is 1500 bytes; jumbo is 9000.
  • All hops must agree.
  • Mismatch causes hangs on large transfers.

First checks

  • ip link show | grep mtu — host MTU
  • switch: show interface | i MTU — switch MTU
  • ping -M do -s 8972 <target> — path test

Commands

ip link set dev <dev> mtu <N>
ping -M do -s 8972
nmcli con mod ens1f0 802-3-ethernet.mtu 9000
ip link
esxcli network ip interface list

Verify in this order

host MTU → switch MTU → target MTU (all equal)

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=4334

Confirmation

Confirm action

Continue?