You can log out of a specific system 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.
- To log out of a specific system target, enter the following command:
iscsiadm --mode node --target <IQN> --portal x.x.x.x --logout
- To log out of all your established sessions, enter the following command:
iscsiadm --mode node --logoutall=all