cancel
Showing results for 
Search instead for 
Did you mean: 

Query about cache volume and cache object

arun660
Level 3

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

Kapalin
Level 3
Employee Accredited Certified
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.

View solution in original post

3 REPLIES 3

Kapalin
Level 3
Employee Accredited Certified
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.

mikebounds
Level 6
Partner Accredited

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

arun660
Level 3

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.