Logging out from targets

You can log out of a specific Lenovo Storage V7000 target or you can log out of all established sessions.

Note: After you log out of a system target, the iSCSI volumes that it serves are no longer available to the host.
  1. To log out of a specific system target, enter the following command:
    iscsiadm --mode node --target <IQN> --portal x.x.x.x --logout
  2. To log out of all your established sessions, enter the following command:
    iscsiadm --mode node --logoutall=all