On Tuesday 20 Jul 2010 21:24:07 David Mohr wrote:
> I forgot to mention a crucial fact: Since the module unloading fails,
> the init script exits. This is bad when you're doing a restart: only the
> stopping part is performed, not the start part.

I don't see this happening in my setup vm.

debian-x86:~# /etc/init.d/iscsitarget start
Starting iSCSI enterprise target service:.
.
debian-x86:~# lsmod |grep -i iscsi
iscsi_trgt             60643  3 
debian-x86:~# /etc/init.d/iscsitarget stop
Removing iSCSI enterprise target devices: :.
Stopping iSCSI enterprise target service: :.
Removing iSCSI enterprise target modules: ... (warning).
.
debian-x86:~# lsmod |grep -i iscsi



Even the restart seems to be fine.


debian-x86:~# /etc/init.d/iscsitarget start
Starting iSCSI enterprise target service:.
.
debian-x86:~# 
debian-x86:~# 
debian-x86:~# 
debian-x86:~# /etc/init.d/iscsitarget restart
Removing iSCSI enterprise target devices: :.
Stopping iSCSI enterprise target service: :.
Removing iSCSI enterprise target modules: ... (warning).
.
Starting iSCSI enterprise target service:.
.
debian-x86:~# lsmod | grep -i iscsi
iscsi_trgt             60643  3 




-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
"Necessity is the mother of invention."

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to