963 B
963 B
Cirrus Data Cloud iSCSI Cleanup Reference
This file contains the standard iSCSI target cleanup sequence for Linux guests.
Scope
- Use this reference when the user asks to clean up saved iSCSI targets on a machine.
- This is a guest-level cleanup workflow and is separate from CMC install or CDC project cleanup.
Standard Sequence
- Log out of all current targets:
iscsiadm --mode node --logoutall=all
- List saved node records and note the target IQN values:
iscsiadm -m node
- Remove each target by IQN:
iscsiadm -m node -o delete -T <iqn>
- Re-list nodes and confirm the list is empty:
iscsiadm -m node
Notes
- One IQN can appear on multiple portals; deleting by IQN removes the saved node records for that target.
No records foundis an acceptable result if the machine is already clean.- Unless the user asks otherwise, perform the logout step before deleting saved node records.