How resize the VxFS intent log

book

Article ID: 100000655

calendar_today

Updated On:

Description

Error Message

The Veritas File System listed in output details have their intent log size too small compared to their size

Resolution

You can verify the size of the current intent log with the below command:
#/usr/lib/fs/vxfs/fsadm -L /mount
 
EXAMPLE
bash-2.05#fsadm -L /test
UX:vxfsfsadm: INFO: V-3-25669: logsize=16384 blocks, logvol=""
 
You can toggle the size using:
/usr/lib/fs/vxfs/fsadm-o logsize=VALUE /mount
 
EXAMPLE
bash-2.05#fsadm -o logsize=65536 /test
 
Now I willcheck it again:
bash-2.05#fsadm -L /test
UX:vxfsfsadm: INFO: V-3-25669: logsize=65536 blocks, logvol=""
 
Here is some further information in regards to the intent log and sizing:
 
The VxFS intent log is allocated when the file system is first created. The size of the intent log is based on the size of the file system. The larger the filesystem, the larger the intent log. The maximum default intent log size for disklayout Versions 6 and 7 is 256 megabytes.
With the Version 6 and 7 disk layouts, you can dynamically increase or decrease the intent log size using the logsize option of the fsadm command. Increasing the size of the intent log can improve system performance because it reduces the number of times the log wraps around. However, increasing the intent log size can lead to greater times required for a log replay if  there is a system failure.
 
In appropriate sizing of the intent log can have a negative impact on system performance.
 
 

 

Issue/Introduction

How to resize the VxFS intent log