VMware Cloud Community
Heino_Gutschmid
Contributor
Contributor

VM's interface rx-counter decreased after snapshot

Hi All,

we found that the interface conter (e.g. eth0) has been decreased during/after a snapshot:

1. #> ifconfig eth0 | grep "RX"

      RX packets:61895 errors:0 dropped:0 overruns:0 frame:0
      RX bytes:194117 (189.5 KiB)  TX bytes:178439 (174.2 KiB)

2. taking snapshot

3. #> ifconfig eth0 | grep "RX bytes"

      RX packets:61908 errors:0 dropped:0 overruns:0 frame:0
     

RX bytes:182309 (178.0 KiB)  TX bytes:179087 (174.8 KiB)

Oops. Byte-counter has been decreasd from 194117 to 182309 (but the packet counter not) .

It seems that 64bit Linux guests are affected (independent of the kernel version) only. If

the snapshot is removed the same happens again.

This behavior totally confuses accounting tools (e.g. vnstat assumes a counter overflow).

Any ideas?

Some technical details:

  • ESXi 5.1.0-799733, Enterprise Plus
  • Linux guest 64bit (e.g. CentOS release 6.4, Kernel 2.6.32-358.6.2.el6.x86_64), vmxnet3, VMWare-Tools: 9.0.5-1065307

Best Regards,

Heino Gutschmidt

Reply
0 Kudos
0 Replies