Previous page

Next page

Locate page in Contents

Print this page

Deleting Virtuozzo Storage iSCSI Targets

You can delete Virtuozzo Storage iSCSI targets with the pstorage-iscsi delete command. Deleting a Virtuozzo Storage iSCSI target, you will also delete all the LUNs within it.

To delete a Virtuozzo Storage iSCSI target, do the following:

  1. Make sure the target is stopped (for more details, see Stopping Virtuozzo Storage iSCSI Targets).
  2. Run the pstorage-iscsi delete command with the target name as the option. For example:

    # pstorage-iscsi delete -t iqn.2014-04.com.pstorage:test1

To delete a stopped iSCSI target registered on a different host, add the --force option to the pstorage-iscsi delete command. For example:

# pstorage-iscsi delete -t iqn.2014-04.com.pstorage:test1 --force