Forum Discussion

arun660's avatar
arun660
Level 3
10 years ago

Query about cache volume and cache object

Hi

I am creating a cache, but it is failing can you please suggest what's wrong with this??

 

# vxassist -g versant_vg make versant_CACHE 19.8
VxVM vxassist INFO V-5-1-13572 Volume length rounded-up to 32 so that#012#011it is a multiple of the disk group alignment.

 

# vxmake -g versant_vg cache versant_CACHE_OBJECT cachevolname=versant_CACHE autogrow=on highwatermark=90 autogrowby=1g maxautogrow=4g

VxVM vxmake ERROR V-5-1-10127 associating volume versant_CACHE with versant_CACHE_OBJECT:#012#011Cache volume for cache object is too small

 

Thanks

 

  • Hello Arun, Any reason the volume size you have given is 19.8 or its a typo? The volume size is just 32 sectors. Hence it complaints "Cache volume for cache object is too small" Could you please try to create a cache volume size with higher value. Around 1gb? Thanks.
  • You just need to add a "g" to the size in your command so it is created as 19.8 GB because as Kapalin says, otherwise it creates it in sectors.

    Mike

  • Hello Arun, Any reason the volume size you have given is 19.8 or its a typo? The volume size is just 32 sectors. Hence it complaints "Cache volume for cache object is too small" Could you please try to create a cache volume size with higher value. Around 1gb? Thanks.
  • Thanks for you response everyone. Eventually I found this and fixed it. Our scripts are miscalculating the cache volume size hence we ended up with this issue. Thanks again.