Control: severity -1 normal Control: tags -1 - upstream On 05/22/2014 05:40 PM, Craig Barnes wrote: > Under heavy load the iscsitarget services fails to stop on module removal.
Could you please explain what is "heavy load" here? Is it iSCSI traffic ? > > # service iscsitarget stop > [ ok ] Removing iSCSI enterprise target devices: :. > [ ok ] Stopping iSCSI enterprise target service: :. > [....] Removing iSCSI enterprise target modules: :FATAL: Module iscsi_trgt is > in use. > > Changing etc/init/init.debian to use `rmmod --wait` instead of `modprobe -r` > corrects this issue. We use 'modprobe -r' to ensure that dependencies also get unloaded. WIth 'rmmod --wait', wouldn't it hang the shutdown sequence ? > > This problem causes pacemaker to halt on failover to a secondary node when > using the lsb resouce agent > to control iscsitarget. I'm not versed with pacemaker so can't comment much. But I don't see this to be an iscsitarget problem. Perhaps you need to add intelligence in pacemaker to detect a clean shutdown of the iscsitarget service. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: OpenPGP digital signature

