HPlogo HP-UX iSCSI Software Initiator Support Guide: HP-UX 11i v1 & 11i v2 > Chapter 6 Troubleshooting

Troubleshooting issues with iswd daemon

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

The iswd daemon is involved in the connection management for the iSCSI Software Interface Driver. It opens and terminates TCP connections interfacing with the iSCSI Software Interface Driver.

CAUTION: The iswd deamon is required to access the iSCSI devices. To avoid upredictable results, the deamon must not be terminated.

If a target device cannot be seen from the HP-UX host, verify that the iswd daemon is alive by executing

# ps -ef | grep iswd

If the iswd daemon is not alive, restart the daemon and re-issue an ioscan by executing

# /opt/iscsi/bin/iswd

# /usr/sbin/ioscan -H 255

If the iswd daemon is accidentally terminated the behavior displayed depends on the state of the iswd daemon. The most likely scenario would be:

  1. An attempt to terminate (kill) the iswd daemon will have no effect initially as the daemon thread is sleeping in the kernel waiting for connection open requests. The active outstanding connections will not be affected as long as the daemon thread is in kernel space.

  2. The signal sent by the kill(1) command is queued and serviced once the daemon thread goes to user space upon an enqueue of a connection open request, causing the iswd daemon to be terminated. A Connection open request is enqueued when a command requiring iSCSI target access is executed.

The less likely scenario would be

  1. An attempt to terminate (kill) the iswd daemon when the thread is in user space will cause the daemon to be terminated immediately.

ACTION: Restart the iswd daemon in both the above scenerios

The following message will be displayed during execution of shutdown(1m) or reboot(1m).

reboot: CAUTION: some process(es) wouldn’t die

This message is the result of the iswd daemon being kept alive to complete various tasks during reboot. When iSCSI is configured in a system, this message may be ignored.