Unable to Restart Hosts When LUNs Are Accessed by SUSE 10 SP2

Publication Date:  2012-07-22 Views:  153 Downloads:  0
Issue Description
If a host is restarted when LUNs are accessed, the power-off process terminates and prompts:
umount:/:device is busy  Oops:umount failed  mount::/ is busy  umount:/proc:device is busy  Please stand by while rebooting the system… Product and version information:
S2600
S5000 series
The OS of the host is SUSE 10 SP2
Alarm Information
None
Handling Process
  1. Take measures as suggested below to avoid this problem:
  2.  
  1. Add the iSCSI service as a system service with the following two methods.
    • Run the command chkconfig --add open-iscsi
    • Run the following commands in sequence:
      1. #ln -sfn /etc/init.d/open-iscsi /etc/init.d/rc5.d/S06open-iscsi
      2. #ln -sfn /etc/init.d/open-iscsi /etc/init.d/rc5.d/K16open-iscsi
  2. Check the /etc/init.d/rc5.d file.

    # ls /etc/init.d/rc5.d/

    K05cron           K11splash       S01fbset          S11powersaved
    
    K05xinetd         K11sshd         S01jexec          S11qlremote
    
    K07libvirtd        K14nfs          S01random         S11raw
    
    K07oracle         K14nfsboot       S01resmgr         S11running-kernel
    
    K07postfix        K14smbfs        S02haldaemon      S11splash
    
    K07xendomains    K15auditd        S05network        S11sshd
    
    K08cups          K15portmap      S06open-iscsi       S13o2cb
    
    K08nscd          K15splash_early   S06owcimomd      S13slpd
    
    K08ocfs2          K16open-iscsi    S06syslog          S14cups
    
    K08suseRegister    K16owcimomd    S07auditd         S14nscd
    
    K08xend          K16syslog        S07portmap        S14ocfs2
    
    K09o2cb          K17network       S07splash_early    S14suseRegister
    
    K09slpd           K20haldaemon    S07ultrapath       S14xend
    
    K11alsasound       K21acpid        S08nfs            S15libvirtd
    
    K11irq_balancer     K21dbus        S08nfsboot         S15oracle
    
    K11microcode       K21fbset        S08smbfs          S15postfix
    
    K11novell-zmd      K21jexec        S11alsasound       S15xendomains
    
    K11powersaved      K21random      S11irq_balancer    S17cron
    
    K11qlremote        K21resmgr       S11kbd           S17xinetd
    
    K11raw             S01acpid       S11microcode
    
    K11running-kernel    S01dbus        S11novell-zmd
    
    
     NOTE:

    It can be found that when the system is powered off, it stops the iSCSI service prior to the network service, preventing the power-off process from being terminated.

 

Root Cause
  1. By checking the file under /etc/inittab, it is found that the system is running at level 5 (the multi-user network mode with GUI).
  2. By checking the /etc/init.d/rc5.d file, it is found that service links exist when the system is powered on and off.

    # ls /etc/init.d/rc5.d/

    K05cron          K11running-kernel    S01dbus          S11powersaved
    
    K05xinetd         K11splash          S01fbset          S11qlremote
    
    K07libvirtd        K11sshd            S01jexec         S11raw
    
    K07oracle         K14nfs             S01random       S11running-kernel
    
    K07postfix        K14nfsboot          S01resmgr        S11splash
    
    K07xendomains    K14smbfs           S02haldaemon     S11sshd
    
    K08cups          K15auditd           S05network       S13o2cb
    
    K08nscd          K15portmap         S06owcimomd     S13slpd
    
    K08ocfs2         K15splash_early      S06syslog         S14cups
    
    K08suseRegister   K16owcimomd      S07auditd         S14nscd
    
    K08xend          K16syslog          S07portmap        S14ocfs2
    
    K09o2cb          K17network         S07splash_early    S14suseRegister
    
    K09slpd          K20haldaemon       S08nfs            S14xend
    
    K11alsasound     K21acpid           S08nfsboot         S15libvirtd
    
    K11irq_balancer   K21dbus            S08smbfs          S15oracle
    
    K11microcode     K21fbset            S11alsasound       S15postfix
    
    K11novell-zmd    K21jexec            S11irq_balancer     S15xendomains
    
    K11powersaved    K21random          S11kbd            S17cron
    
    K11qlremote      K21resmgr           S11microcode       S17xinetd
    
    K11raw          S01acpid            S11novell-zmd       S99ultrapath
    
    
     NOTE:

    The starting letter S means the script is executed with the parameter start as the system starts up (if the link name is started with the letter K, it means the script would be executed with the parameter stop as the system stops). For example, S17xinetd means the following command would be executed as the system starts up:

    # /etc/init.d/rc5.d /S17xinetd start

    When the system is powered off, it stops all the service items started with the letter K in the ascending order of size.

Conclusion:
  • It can be inferred that when the system is powered off, it stops the network service prior to the iSCSI service; however, the iSCSI service is dependent of the network service, causing the power-off process terminates and prompts the information as mentioned above when the host is accessing LUNs and data packet is being transferred.
Suggestions

It is recommended to stop the iSCSI service first or add it as a system service before powering off.

END