"vxcache stat" run on CVM slave shows incorrect information

  • Modified Date:
  • Article ID:000087612


'vxcache stat' shows the size and usage information  for cache objects. In a CVM environment running this command on the CVM slave may show information that disagrees with the same command run on the CVM master.

Error Message

 In this example, the cache object has been grown, however only the CVM master shows the new size. However, the command may show incorrect (and possibly even negative) information for any column:

master:~ # vxcache stat cache1

CACHE NAME                 TOTAL(Mb)    USED(Mb) (%)     AVAIL(Mb) (%)   SDCNT

cache1                         14336          15 (0)         14321 (99)      2



slave:~ #  vxcache stat cache1

CACHE NAME                 TOTAL(Mb)    USED(Mb) (%)     AVAIL(Mb) (%)   SDCNT

cache1                         10240           0 (0)         10240 (100)     0




The 'vxcache stat' option is not CVM aware. Hence, when the command is run on the slave it incorrectly shows local information. The CVM master maintains the correct information for cache object size and usage.  As such, the information it shows on the slave may not have been correctly updated with any changes since CVM was first started.


The issue is cosmetic and does affect any snapshot functionality. Run the 'vxstat cache' command on the CVM master to get the correct information.

Version 6.0.1 contains a fix for the issue, where the CVM slave now correctly requests the information from the CVM master.


Applies To

 This issue effects all platforms.

Terms of use for this information are found in Legal Notices.



Did this article answer your question or resolve your issue?


Did this article save you the trouble of contacting technical support?


How can we make this article more helpful?

Email Address (Optional)