-->
  • Recent Articles

    File System on iscsi LUNs did not come back after reboot



    REDHAT
    The Issue we faced with one of the DB server where we have File System on ISCSI LUNS. The server got Hung and we had to reboot it. For our Bad the File System on ISCSI LUNS did not mounted automatically.

    Then I Check if there are existing iscsi sessions:

    [root@dbseerver ~]#  iscsiadm -m session
    tcp: [1] ip:Port,1 iqn.1shg0997879l7a4r-target (non-flash)

    Then I logged out of all the existing iscsi sessions:

    iscsiadm -m node -u 

    or

    iscsiadm -m node –logout all

    after this command you should see successful Logout messages.

    Then i recheck that there are no more sessions:

    iscsiadm -m session
    iscsiadm: No active sessions.




    Now i have login to the Sessions again.

     iscsiadm -m node -l

     You Should see following Login Successful Messages again.

     [root@dbseerver ~]#  iscsiadm -m node -l
    Logging in to [iface: default, target: iqn.1shg0997879l7a4r-target, portal: IP,PORT] (multiple)
    Logging in to [iface: default, target: iqn.1shg0997879l7a5g-target, portal: IP,PORT] (multiple)
    Login to [iface: default, target: iqn.1shg0997879l7a4r-target, portal: IP,PORT] successful.
    Login to [iface: default, target: iqn.1shg0997879l7a5g-target, portal: IP,PORT] successful.

    Now I mounted the Iscsi File system. Cheers.

    [root@dbseerver ~]# mount -a




    No comments