Deleting targets

To delete a target from a target group (as well as the node it is on), use the vstorage-target target-delete command. For example:

# vstorage-target target-delete -tg 3d8364f5-b830-4211-85af-3a19d30ebac4 \
-wwn iqn.2013-10.com.vstorage:test22

This command deletes the target with the IQN iqn.2013-10.com.vstorage:test22 from the target group with the ID 3d8364f5-b830-4211-85af-3a19d30ebac4 and from the node it is located on.

A node that has no targets left on it is deleted from the target group.