Skip to main content

lun portset delete

Contributors
Suggest changes

Delete the portset

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command deletes an existing portset. By default, you cannot delete a portset if it is bound to an initiator group. If a portset is bound to an initiator group, you can do one of the following:

  • specify the force option to unbind the portset from the initiator group and delete the portset.

  • use the lun igroup unbind command to unbind the portset from the initiator group. Then you can delete the portset.

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the Vserver.

-portset <text> - Portset Name

Specifies the portset you want to delete.

[-f, -force <true>] - Force

Forcibly unbinds the portset from the initiator group.

Examples

cluster1::> portset delete -vserver vs1 -portset ps1

Deletes portset ps1 on Vserver vs1.