Skip to main content

lun bind destroy

Contributors
Suggest changes

Unbind a VVol LUN from a protocol endpoint

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

Description

Decrement the reference count of the binding between a protocol endpoint and vvol LUN. If the resulting reference count is zero, the binding is removed.

Parameters

-vserver <Vserver Name> - Vserver name (privilege: advanced)

Specifies the Vserver.

-protocol-endpoint-path <path> - Protocol Endpoint (privilege: advanced)

Specifies the path of the protocol endpoint LUN. Examples of correct LUN paths: /vol/vol1/lun1 and /vol/vol1/qtree1/lun1

-vvol-path <path> - VVol Path (privilege: advanced)

Specifies the path of the vvol LUN. Examples of correct LUN paths: /vol/vol1/lun1 and /vol/vol1/qtree1/lun1

[-force <true>] - If true, unbind the Vvol completely even if the current reference count is greater than 1. The default is false. (privilege: advanced)

Completely remove the specified binding, regardless of the current reference count.

Examples

cluster1::*> lun bind destroy -protocol-endpoint-path /vol/VV2/PE2 -vvol-path /vol/VV2/30dfab -vserver vs1

Remove the binding between the vvol /vol/VV2/30dfab and the protocol endpoint /vol/VV2/PE2 on Vserver vs1.