9 troubleshooting, General troubleshooting – HP XP7 Storage User Manual

Page 214

Advertising
background image

9 Troubleshooting

This chapter provides troubleshooting information for RAID Manager.

General troubleshooting

If you have a problem with the RAID Manager software, first make sure that the problem is not
being caused by the UNIX/PC server hardware or software, and try restarting the server.

Recommended action

Problem

RAID Manager currently uses the ioctl(SCSI_IOCTL_SEND_COMMAND) for sending the
control command to the command device. However, in RHEL 4.0 using kernel 2.6.9.XX, the
following message is output to syslog file(/var/log/messages) with every ioctl():

Deprecated SCSI ioctl

The following message
is output to syslog

program horcmgr is using a deprecated SCSI ioctl, please convert
it to SG_IO

file(/var/log/messages)
with every ioctl():

This may originate from the following kernel code in drivers/scsi/scsi_ioctl.c as way of
warning that ioctl(SCSI_IOCTL_…) of kernel 2.6.9.XX does not properly handle an error of
the HBA driver.

program horcmgr is
using a
deprecated SCSI
ioctl, please

----------------------------------------------------------------------

convert it to
SG_IO

/* Check for deprecated ioctls ... all the ioctls that do not follow
the new unique numbering scheme are deprecated */

switch (cmd) {

case SCSI_IOCTL_SEND_COMMAND:

case SCSI_IOCTL_TEST_UNIT_READY:

case SCSI_IOCTL_BENCHMARK_COMMAND:

case SCSI_IOCTL_SYNC:

case SCSI_IOCTL_START_UNIT:

case SCSI_IOCTL_STOP_UNIT:

printk(KERN_WARNING "program %s is using a
deprecated SCSI "

"ioctl, please convert it to SG_IO\n",
current->comm);

---------------------------------------------------------------------

Thus, RAID Manager supports a way to change to the ioctl(SG_IO) automatically, if Linux
kernel supports the ioctl(SG_IO) for horcmgr and inqraid command. However, RAID
Manager may encounter Linux kernel that does not support the ioctl(SG_IO) fully, so RAID
Manager also supports by defining either following environment variable or
"/HORCM/etc/USE_OLD_IOCTL" file(size=0) that uses the
ioctl(SCSI_IOCTL_SEND_COMMAND) forcibly. For example:

export USE_OLD_IOCTL=1

horcmstart.sh 10

HORCM/etc:

-rw-r--r-- 1 root root 0 Nov 11 11:12 USE_OLD_IOCTL

-r--r--r-- 1 root sys 32651 Nov 10 20:02 horcm.conf

-r-xr--r-- 1 root sys 282713 Nov 10 20:02 horcmgr

If you have changed the configuration definition file settings: make sure that the configuration
definition file you changed is correct.

RAID Manager cannot
be started because

If you have changed the settings of the storage system: make sure that the settings you
changed are correct, and if necessary, change the configuration definition file settings.

horcmstart command
fails

Even if there are no problems in these files and settings, but if you cannot run RAID Manager,
get all log files under the specified directory by HORCM_LOG (the default setting:
/horcm/log/), and then contact the HP Technical Support.

214

Troubleshooting

Advertising
This manual is related to the following products: