Advertisements

Suppressing EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full! error in HPOM

Node : linux.setaoffice.com
Node Type : Intel/AMD x64(HTTPS)
Severity : minor
OM Server Time: 2016-06-18 04:38:03
Message : EXT4-fs: warning (device dm-134): ext4_dx_add_entry: Directory index full!
Msg Group : OS
Application : dmsg_mon
Object : EXT4
Event Type :
not_found

Instance Name :
not_found

Instruction : No

Check if the file /var/opt/OV/conf/OpC/dmsg_mon.cfg
This is the error message showing on dmesg

root@linux:~ # dmesg
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!

I’m going to suppress in HPOM. First check if the file exists and if it doesn’t make a copy from instrumentation directory

root@linux:~ # ls -l /var/opt/OV/conf/OpC/dmsg_mon.cfg
ls: cannot access /var/opt/OV/conf/OpC/dmsg_mon.cfg: No such file or directory

root@linux:~ # cp /var/opt/OV/bin/instrumentation/dmsg_mon.cfg /var/opt/OV/conf/OpC/

Edit the file and add the string complained by dmsg_mon

root@linux:~ # vi /var/opt/OV/conf/OpC/dmsg_mon.cfg
###############################################################################
#@(#) $Id: dmsg_mon.cfg 2132 2014-08-22 06:47:32Z zhaofeif $
#@(#) $Rev: 2132 $
#@(#) $Author: zhaofeif $
#@(#) $Date: 2014-08-22 14:47:32 +0800 (Fri, 22 Aug 2014) $
#@(#) $LastChangedBy: zhaofeif $
###############################################################################

###############################################################################
#
# File: dmsg_mon.
# [disable = yes|no]
# [interval = ]
# disable
#===============
# If set disable to YES (or yes), this module won’t run anytime
#
# interval
#===============
# If the module will allow to run after the interval minutes

# Description: strings listed here don’t generate an ITO message for dmesg
# Syntax: just list the strings, one line for each
# !!! all dmesg lines matching one of the listed strings
# are taken out of monitoring !!!
#
# Example:
#
# hardware path
#
# If the string “hardware path” is listed, all dmesg lines matching (containing)
# the string “hardware path” are ignored for monitoring purposes.
# Still, the dmesg history contains these lines, but no message is generated.
#
###############################################################################

###############################################################################
# End of dmesg_mon.cfg
###############################################################################

EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!

Run UXMONbroker. The module related to the dmsg_mon.cfg template is dmesg

root@linux:~ # /var/opt/OV/bin/instrumentation/UXMONbroker -h

GD UXMON monitoring package
Broker utility

usage: /var/opt/OV/bin/instrumentation/UXMONbroker [-h | –help] [-x ] [ -d ] [-l ] [-c ] [-f]
[ –col -p param ]
[ -t ] [ -p ] [-b ]
[ –os ]
[ -v ]

-h : this (help) message
–help : this (help) message

-x : triggers the execution of the module passed as parameter
-d : Allows execution activating debug
-check : Same as -x but output is redirected standard output, no logfile used
-l : output the logfile used by the module passed as parameter
-c : output the preferred config file used by the module

-t : output the TEMPORAL folder to be used if needed
-b : output the folder where the commands or instrumentation are located
-perl : output the perl runtime to be used

–col : Execute the collecting information of module
-p : Parameter passed to the recollection
–os : Show the OS name

-v : Version of UXMON package
-f : force the execution of the module bypass interval setting
supported modules are:
actmon, sshdmon, uxmon, nfsmon, selfcheck, swapmon, evm, mpmon, mdmon, cronmon, bondmon, rcmon, volmon, scmon, loopmon, dmesg, advfsmon, ntpmon, hwmon, bootmon, nicmon, perfmon, psmon, lpmon, vcmon, ktsmon, sgmon, dfmon.
This is the interface to the OVO templates. Templates will call this command
to get executed the different modules available, or retrieve configuration
information about the UXMON and the platform

Run UXMONbroker with dmesg

root@linux:~ # /var/opt/OV/bin/instrumentation/UXMONbroker -d dmesg
>>Debug mode activated
>>Opened the logfile: /var/opt/OV/log/OpC/dmsg_mon.log
>>logfile: /var/opt/OV/log/OpC/dmsg_mon.log
>>history file: /var/opt/OV/log/OpC/dmsg_mon.hist[1-5]
>>config line: EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!
>>Module interval setting: 0
>>process info: 108389 /opt/OV/nonOV/perl/a/bin/perl -I/var/opt/OV/bin/instrumentation /var/opt/OV/bin/instrumentation/UXMONdmsg -d -c /var/opt/OV/conf/OpC/dmsg_mon.cfg -l /var/opt/OV/log/OpC/dmsg_mon.log
>>configuration file: /var/opt/OV/conf/OpC/dmsg_mon.cfg
>>lock file: /var/opt/OV/tmp/OpC/UXMONdmsg_dmsg_mon.lock
>>get lock to read /var/opt/OV/tmp/OpC/UXMONdmsg_dmsg_mon.lock
>>run the process now
>>Logged this info…:Wed Jun 22 14:50:56 2016 : INFO : UXMONdmsg is running now, pid=108389
>>There are the following lines in actual dmesg buffer program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!

>>This is the old dmesg buffer program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
program bma is using a deprecated SCSI ioctl, please convert it to SG_IO
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!
EXT4-fs warning (device dm-134): ext4_dx_add_entry: Directory index full!

>>Difference between old and new dmesg buffers
>>The following is assigned to dmesg for processing
>>ReleaseLock: 108389 1466617856 0 stopped 108389 /opt/OV/nonOV/perl/a/bin/perl -I/var/opt/OV/bin/instrumentation /var/opt/OV/bin/instrumentation/UXMONdmsg -d -c /var/opt/OV/conf/OpC/dmsg_mon.cfg -l /var/opt/OV/log/OpC/dmsg_mon.log
>>Logged this info…:Wed Jun 22 14:50:56 2016 : INFO : UXMONdmsg end, pid=108389

The ‘directory index full’ error will be seen if there are lots of files/directories in the filesystem so that the tree reaches its indexing limits and cannot keep track further.

The directory index is an additional tree structure which helps directory lookups, improving performance for huge directories.
Source: https://access.redhat.com/solutions/29894

Advertisements
%d bloggers like this: