Operating System - HP-UX
1834009 Members
1448 Online
110063 Solutions
New Discussion

not able to kill iswd process

 

not able to kill iswd process

hi,

I am getting below warning message while starting iSCSI daemon.

# /sbin/init.d/iscsi start

WARNING: Could not kill "iswd" process.

How to kill that iswd process? Using kill process_id didn't work.
6 REPLIES 6
avizen9
Esteemed Contributor

Re: not able to kill iswd process

Hello Prashant,
this link having good information, please go through it,

http://www.docs.hp.com/en/T1452-90012/ch06s03.html

Kranti Mahmud
Honored Contributor

Re: not able to kill iswd process

Hi Prashant,

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

It will appear pid of iswd...(xxxx). Then kill the process with the following command:

kill -9 (xxxx)

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

# /opt/iscsi/bin/iswd
# /usr/sbin/ioscan -NH 64000

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Ashish Parashar
Frequent Advisor

Re: not able to kill iswd process

Hello Prashant



Sometime the pid is mentioned in /tmp/ file or some other file find and remove that file and then try .....

you can also try to stop it first and then start

also try to grep pid vai ps -ef command and use can use kill command after words

Regards

Ashish

Re: not able to kill iswd process

Thanks to All for ur reply,

Still i couldn't kill iswd process.

# ps -ef | grep iswd
root 1225 1 0 Apr 14 ? 0:00 /opt/iscsi/bin/iswd
bash-3.2#
bash-3.2# kill -9 1225
bash-3.2# ps -ef | grep iswd
root 1225 1 0 Apr 14 ? 0:00 /opt/iscsi/bin/iswd
root 25630 25625 0 22:30:25 pts/1 0:00 grep iswd.

Is there any need to start/stop iscsi service to discover the iSCSI volumes.??

I am using below steps to discover iSCSI volumes.

iscsiutil -a -I 172.31.146.65 -P 3260
iscsiutil -p -D
ioscan -H 255
insf -H 255
iscsiutil -p -O
ioscan -fnC disk

then i check iscsiutil -p -S.
device session state is showing online for some time and get offline.

when i mount the iSCSI volume on mount point, device session state is showing online untill i umount the volume.

Is that the expected behaviour??

Also let me know the steps to undiscover iSCSI volumes on HP-UX.


Thanks,
Dennis Handly
Acclaimed Contributor

Re: not able to kill iswd process

>Still I couldn't kill iswd process.

If kill -9 didn't work it is probably hung on I/O.
avizen9
Esteemed Contributor

Re: not able to kill iswd process

Hello Prashant,

looks iswd Process hang,

can you try to stop and start with below.

/sbin/init.d/iscsi stop
/sbin/init.d/iscsi start

if still cant then you may need to reboot your unix box,