Quantcast
Channel: Robin CM's IT Blog
Viewing all articles
Browse latest Browse all 192

VMware E1000e vmnic Windows Server 2012 data corruption

$
0
0

Found this yesterday: http://kb.vmware.com/kb/2058692

“On a Windows 2012 virtual machine using the default e1000e network adapter and running on an ESXi 5.0 or 5.1 host, you experience these symptoms: 

  • Data corruption may occur when copying data over the network. 
  • Data corruption may occur after a network file copy event.”

The E1000e is the default NIC type for Server 2012, though I always use vmxnet3.

I’ve written this PowerCLI / PowerShell script to identify VMs with the E1000e NIC (though it doesn’t check what the OS is):

$ProblemVMs = @{}
$TotalVMs = 0
$Processed = 0
$VMs = Get-VM
foreach($VM in $VMs){$TotalVMs++}
foreach($VM in $VMs){
    $VMNics = Get-NetworkAdapter -VM $VM
    $Processed++
    [int]$PercentComplete = ($Processed/$TotalVMs*100)
    Write-Progress -Activity "Checking VM NICs" -Status "Processing $VM" -PercentComplete $PercentComplete
    foreach($VMNic in $VMNics){
        $VMNicType = $VMNic.ExtensionData.ToString()
        $VMNicType = $VMNicType.Replace("VMware.Vim.Virtual","")
        if($VMNicType -match "e1000e"){
            $ProblemVMs.Add($VM.Name,$VMNicType)
        }
    }
}
Write-Progress -Activity "Checking VM NICs" -Completed
$ProblemVMs | Format-Table -AutoSize

You’ll obviously need to do a Connect-VIServer first as usual for PowerCLI.



Viewing all articles
Browse latest Browse all 192

Latest Images

Trending Articles



Latest Images