The vxexplorer option in the vos or sort datacollector does not work if /var/tmp is mounted with noexec option

book

Article ID: 100026274

calendar_today

Updated On:

Cause

The sortdc script initiates a perl script which uses the directory location specified by a variable in the script called "tmppath". The script will use this directory location to execute the various commands and/or scripts spawned by the sortdc / vosdc. 

The default location of the "tmppath" variable is set to "/var/tmp". If the directory specified in the variable "tmppath" belongs to a file system that is mounted with the "noexec" option, then it will fail to execute any commands from that file system, thereby resulting in an incomplete VRTSExplorer being collected. 

Resolution

If the /var/tmp filesystem is mounted with the "noexec" mount option, then it may be required to execute the SORT data collector script "sortdc" by explicitly specifying the "tmppath" option pointing to an alternate directory located on a filesystem which is not mounted with the "noexec" mount option.

# sortdc -vxexplorer -tmppath=

e.g.

# sortdc -vxexplorer -tmppath=/root/tmp/

 

 

Issue/Introduction

A complete VRTSExplorer may not be collected when the vosdc or sortdc script is executed with the "-vxexplorer" option.