Skip to content
Tech Master Tech Master

OneStopTechnical Forum

  • Books
  • AI
  • Networking
  • Windows
  • Linux
  • Cloud
  • Mac
  • Active Directory
  • Azure
  • Cloud
  • Exchange
  • M365
  • Server 2025
  • Storage
  • Vsphere
  • Website
  • Database
  • Security
  • Knowledge Base
  • VPN
Tech Master
Tech Master

OneStopTechnical Forum

Real-time scenario-based questions and answers on VMware ESXi: Part-4

blog.payperitem.com, March 30, 2025April 2, 2025

Advanced Storage Issues in ESXi

18. Datastore Becomes Read-Only

Scenario:

  • An ESXi host suddenly marks a VMFS datastore as read-only, preventing VMs from writing to the disk.

Possible Causes:

  • Storage device path failure.
  • VMFS corruption.
  • ESXi lost access to the LUN.

Solution Steps:

  1. Check if the Datastore is Marked as Read-Only bashCopyEditvmkfstools -P /vmfs/volumes/DatastoreName
    • If output shows “Read-Only”, continue with recovery.
  2. Rescan the Storage Adapters bashCopyEditesxcli storage core adapter rescan --all
  3. Check for Active Paths bashCopyEditesxcli storage core path list | grep "Active"
    • If no active paths exist, storage connectivity is lost.
  4. Try to Remount the Datastore bashCopyEditesxcli storage filesystem mount -l DatastoreName
  5. Check for VMFS Errors and Repair bashCopyEditvmkfstools -y /vmfs/devices/disks/naa.6xxxxxxxxx
  6. Restart Storage Services bashCopyEdit/etc/init.d/hostd restart /etc/init.d/vpxa restart
  7. If All Fails, Restore from Backup or Recreate the Datastore bashCopyEditesxcli storage filesystem unmount -l DatastoreName esxcli storage vmfs extent delete -l DatastoreName

19. ESXi Host Loses Access to iSCSI Storage (APD/PDL Errors)

Scenario:

  • The ESXi host loses connection to iSCSI storage and shows APD (All Paths Down) or PDL (Permanent Device Loss) errors.

Solution Steps:

  1. Check Storage Paths bashCopyEditesxcli storage core path list
    • If no active paths, the storage is disconnected.
  2. Restart the iSCSI Service bashCopyEdit/etc/init.d/iscsi restart
  3. Rescan iSCSI Targets bashCopyEditesxcli storage core adapter rescan --adapter=vmhbaXX
  4. Verify Firewall Rules (If iSCSI is Blocked) bashCopyEditesxcli network firewall ruleset list
  5. Reconnect iSCSI Targets Manually bashCopyEditesxcli iscsi adapter discovery sendtarget add -a <Storage_IP>
  6. If PDL Condition Exists, Remove the LUN and Re-add It bashCopyEditesxcli storage core device detach -d naa.xxxxxxxx esxcli storage core device set -d naa.xxxxxxxx -O off

20. High Storage Latency Causing VM Performance Issues

Scenario:

  • VMs running on an ESXi host experience high I/O latency, affecting performance.
  • esxtop shows high DAVG/cmd values.

Solution Steps:

  1. Check Storage Performance in esxtop bashCopyEditesxtop
    • Press d for disk statistics.
    • Check DAVG/cmd (Disk Average Latency):
      • Below 10ms = Good
      • 10-20ms = Moderate
      • Above 20ms = Bad
  2. Check for Storage Congestion bashCopyEditesxcli storage core stats get
  3. Identify High I/O VMs bashCopyEditvscsiStats -l
  4. Reduce Storage Load
    • Move VMs to another datastore using Storage vMotion.
    • Enable Storage I/O Control (SIOC) to balance I/O.
  5. Verify Multipathing Policy bashCopyEditesxcli storage nmp device list
  6. Upgrade Storage Firmware and Drivers
    • Check if the storage controller is on VMware’s HCL (Hardware Compatibility List).

Advanced Network Issues in ESXi

21. VM Network Latency or Packet Loss

Scenario:

  • VMs experience high ping latency or packet drops.
  • vMotion and iSCSI traffic is slow.

Solution Steps:

  1. Check Physical NIC Statistics bashCopyEditesxcli network nic stats get -n vmnicX
    • Look for high droppedTx or droppedRx.
  2. Check for Network Congestion in esxtop bashCopyEditesxtop
    • Press n for network stats.
  3. Verify MTU Mismatch (If using Jumbo Frames) bashCopyEditesxcli network ip interface list
    • Ensure all devices (VMkernel, vSwitch, and physical switch) have the same MTU.
  4. Ensure vSwitch and Port Group Configurations are Correct bashCopyEditesxcli network vswitch standard list esxcli network vswitch standard portgroup list
  5. Check VLAN Tagging Issues
    • Ensure VLAN IDs match between ESXi and the physical switch.
  6. Enable RSS (Receive Side Scaling) for Better Performance bashCopyEditesxcli system settings advanced set -o /Net/RSS -i 1

22. vMotion Fails Due to Network Misconfiguration

Scenario:

  • vMotion fails with “Host not reachable” error.
  • Migration is slow or gets stuck.

Solution Steps:

  1. Check if vMotion is Enabled on the VMkernel Port bashCopyEditesxcli network ip interface tag list
  2. Test vMotion Network Connectivity bashCopyEditvmkping -I vmk1 <destination_host_IP>
  3. Verify MTU Configuration bashCopyEditesxcli network ip interface list
    • Ensure Jumbo Frames (9000 MTU) is configured correctly.
  4. Check for Firewall Blocking vMotion Traffic bashCopyEditesxcli network firewall ruleset list
    • Enable vMotion if necessary: bashCopyEditesxcli network firewall ruleset set -e true -r vmotion
  5. Try vMotion Again Using CLI bashCopyEditvim-cmd vmsvc/getallvms vim-cmd vmsvc/migrate <VM_ID> <Target_Host_ID>

23. ESXi Host Loses Network Connectivity After vSwitch Change

Scenario:

  • After changing vSwitch or VLAN settings, the ESXi host loses network access.

Solution Steps:

  1. Check Physical NIC Status bashCopyEditesxcli network nic list
  2. Verify vSwitch Configuration bashCopyEditesxcli network vswitch standard list
  3. Reconfigure the VMkernel Network Manually bashCopyEditesxcli network ip interface remove -i vmk0 esxcli network ip interface add -i vmk0 -p "Management Network" -i 192.168.1.10 -n 255.255.255.0 -g 192.168.1.1
  4. Restart the Network Stack bashCopyEdit/etc/init.d/networking restart

Vsphere #100GbE#100GbECloudNetworking#10GbE#40GbE#5GUPF#AdaptiveResync#AdaptiveResyncNVMe#AF_XDP#AIArbitrage#AIClusterOptimization#AIInferenceonFPGA#AIModelParallelism#AIonGPUs#AIQuantTrading#AMDMPGPU#AnsibleAutomation#AnsibleForVMware#ApacheFlinkPerformance#AWSNitro#AWSVMwareCloud#Azure#AzureVMwareSolution#BareMetalCloudTuning#BareMetalServer#BatchedInferenceOptimization#BladeServers#BSOD#CacheTiering#CentOS#CephHighPerformance#CiscoACI#CiscoACIAnsible#CiscoHyperFlex#CiscoMDS#CiscoNexus#CiscoUCS#CiscoVPC#CiscoVXLAN#CloudComputing#CloudHosting#CloudMigration#CloudNative5G#Colocation#ColumnarStorageTuning#CompressionOptimization#Containerization#CUDAonVMware#CyberSecurity#CyberSecurity #WindowsSecurity #PrivacyMatters #Firewall #EndpointSecurity#DataCenter#DataCenterNetworking#DDoSProtection#DebianServer#Deduplication#DeepLearningHFT#DeepLearningInfra#DellCompellent#DellIDRAC#DellIDRACAPI#DellOpenManage#DellPowerEdge#DellPowerMax#DellPowerStore#DellUnityXT#DellVxRail#DirectFlash#DirectMarketAccess (DMA)#DirectX#DistributedTrainingInfra#DPDK#DPDKTelcoOptimizations#DPUPassthrough#DPUvsFPGA#DruidRealTimeAnalytics#DVS#DynamicCongestionControl#eBPFNetworking#EdgeAIOptimization#EdgeComputing#EnterpriseIT#ESXi#ESXiAdaptiveResync#ESXiNUMAOptimization#ESXiQueueDepth#ESXiRDMA#ESXiTuning#ETLPerformanceOptimization#FCBufferCredits#FCNPIV#FCoE#FCoEPerformance#FCPortChannel#FibreChannel#FibreChannelZoning#Firewall#FPGAforAI#FPGAforHFT#GameOptimization#GlobalEdgeRouting#GoogleCloudVMwareEngine#GPUDirectStorage#GPUPassthrough#HardenedServer#HLSforFPGA#HPC#HPCforAI#HPE3PAR#HPEAlletra#HPEGen10Plus#HPEiLO#HPEiLOAutomation#HPEInfoSight#HPEOneView#HPEPrimera#HPEProLiant#HPEStoreOnce#Hyperscale#HyperscaleLoadBalancing#HyperscaleMultiTenantSecurity#HyperV#IDSIPS#InfiniBandAI#InfrastructureAsCode#IntelFPGAAcceleration#IntelSPDK#IntrusionDetection#IOPSOptimization#IOTailLatency#iSCSI#iSCSIJumboFrames#ITInfrastructure#ITPro#JuniperNetworks#K8sMultiCloud#KafkaUltraLowLatency#KernelBypassNetworking#KubernetesCluster#KVM#LatencyArbitrageInfra#LatencyFix#LinuxServer#LUNQueueDepth#ManagedHosting#MarketDataFeedOptimization#MarketMakingAI#MellanoxConnectXPerformance#MellanoxGPUDirect#MellanoxNetworking#MellanoxRoCE#Microsegmentation#Microservices#MIGonNVIDIA#MultiAccessEdgeComputing#NASStorage#NetAppAFF#NetAppAnsibleModules#NetAppFAS#NetAppFlexGroup#NetAppMetroCluster#NetAppONTAP#NetAppSnapMirror#Networking#NeuralAccelerators#NeuralNetworkBacktesting#NFVAcceleration#NSXT#NVGPUPassthrough#NVIDIABlueField#NVMe#NVMeLatencyBenchmark#NVMeoF#NVMeoFPerformance#NVMeOverFabric#NVMePolling#NVMeQueueDepth#NVMeTCPPerformance#NVSwitchTuning#O-RANOptimization#OnChipNetworking#OpenStack#OptanePMem#P4ProgrammableNIC#PCGaming#PCIssues#PensandoDPU#PersistentMemoryRDMA#PFCforRoCE#PicoSecondPrecision#PipelinedCompute#PowerShell#ProgrammableNICs#Proxmox#PureEvergreen#PureFlashArray#PureStorage#PureX90#PyTorchXLA (Accelerated Linear Algebra for PyTorch)#QoSStorage#RAID#RDMA#RDMAonDPU#RDMAOptimization#RDMAoverEthernet#RDMAQueueDepthTuning#RDMAStorage#RedHat#ReinforcementLearningForTrading#SANStorage#SentimentAnalysisTrading#Server#ServerlessPerformanceTuning#ServerRoom#ServerSecurity#SIEM#SIEMSolutions#SOC2Compliance#SRIOV#SRIOVNetworking#SSDServers#StorageClassMemory#StorageIOControl#StorageTiers#StreamingDataOptimization#StreamProcessingAI#SubMicrosecondTrading#SysAdmin#SysAdminLife#TaskScheduler#TCPBypass#TechSupport#TelcoEdgeAI#TensorFlowXRT#Terraform#TerraformMultiCloud#TerraformVMware#TickToTradeOptimization#TinyMLPerformance#UbuntuServer#UltraLowLatencyFPGA#vCloudDirector#VectorizedQueryExecution#VFIO#vGPUPassthrough#VMDirectPathIO#vMotion#VMware#VMwareHCX#VMwarePowerCLI#VMwarePVRDMA#VMwareSmartNIC#VPSHosting#vRANPerformanceTuning#vSANDeduplication#vSANPerformance#vSANResyncImpact#vSphere#vSphereMultiCloud#vSphereOptimization#WindowsAutomation#WindowsDebugging#WindowsFix#WindowsGaming#WindowsServer#WriteAmplification#WriteBackCaching#XilinxAlveo#XilinxSmartNIC#ZeroCopyNetworking#ZeroLatencyInference#ZeroTrustArchitecture#ZFSPerformanceTuning

Post navigation

Previous post
Next post

Related Posts

Real-time scenario-based questions and answers on VMware ESXi: Part-2

March 30, 2025March 30, 2025

6. ESXi Host Boots into “No Network Adapters Found” Error Scenario: After rebooting an ESXi host, you see the error “No Network Adapters Found” and cannot connect to the host via network. Possible Causes: Solution Steps: 7. Unable to Power On a VM – “Insufficient Resources” Error Scenario: A VM…

Read More

Real-time scenario-based questions and answers on VMware ESXi:

March 30, 2025April 2, 2025

1. ESXi Host Suddenly Becomes Unresponsive. How Do You Troubleshoot? Scenario: Your ESXi host is unresponsive, and you are unable to connect to it via vSphere Client or SSH. Solution: 2. VM Is Running Slow. How Do You Troubleshoot? Scenario: A VM running on ESXi is experiencing performance issues. Solution:…

Read More

Differences between vMotion, DRS, Fault Tolerance (FT), and High Availability (HA)

March 31, 2025April 2, 2025

Feature Purpose How It Works Use Case vMotion Live migration of VMs Moves running VMs between ESXi hosts with zero downtime Maintenance without disruption, load balancing DRS (Distributed Resource Scheduler) Automated load balancing Uses vMotion to migrate VMs across hosts based on CPU/memory load Optimizing performance and resource allocation Fault…

Read More

Recent Posts

  • List of AD Schema Versions
  • OldNewExplorer Free Download For Windows 11, 10, 8 and 7 [Latest Version]
  • How to Get the Classic (old) Context Menu on Windows 11
  • BitLocker Recovery Keys
  • Active Directory and Server hardening

Recent Comments

No comments to show.
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May    
Log in
©2025 Tech Master | WordPress Theme by SuperbThemes
  • Login
  • Sign Up
Forgot Password?
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
body::-webkit-scrollbar { width: 7px; } body::-webkit-scrollbar-track { border-radius: 10px; background: #f0f0f0; } body::-webkit-scrollbar-thumb { border-radius: 50px; background: #dfdbdb }