2.6. Deleting Virtuozzo Infrastructure Platform iSCSI Targets¶
You can delete Virtuozzo Infrastructure Platform iSCSI targets with the vstorage-iscsi delete command. Deleting a Virtuozzo Infrastructure Platform iSCSI target, you will also delete all the LUNs within it.
To delete a Virtuozzo Infrastructure Platform iSCSI target, do the following:
Make sure the target is stopped (for more details, see Stopping Virtuozzo Infrastructure Platform iSCSI Targets).
Run the
vstorage-iscsi deletecommand with the target name as the option. For example:# vstorage-iscsi delete -t iqn.2014-04.com.vstorage:test1
To delete a stopped iSCSI target registered on a different host, add the --force option to the vstorage-iscsi delete command. For example:
# vstorage-iscsi delete -t iqn.2014-04.com.vstorage:test1 --force
Version 2.5 — Jun 27, 2018