Skip to main content

lun bind create

Contributors
Suggest changes

Bind a VVol LUN to a protocol endpoint

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

Description

This command creates a new binding between a protocol endpoint and a vvol LUN. If a binding between the specified endpoint and vvol already exists, the reference count for the binding is incremented by one.

Note For optimal results, the protocol endpoint and vvol must be hosted by the same node in the cluster.

Parameters

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

Specifies the name of the Vserver.

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

Specifies the path to the protocol endpoint. The specified LUN must already exist and be of class "protocol-endpoint". Examples of correct LUN paths: /vol/vol1/lun1 and /vol/vol1/qtree1/lun1

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

Specifies the path to the vvol. The specified LUN must already exist and be of the class "vvol". Examples of correct LUN paths: /vol/vol1/lun1 and /vol/vol1/qtree1/lun1

Examples

cluster1::*> lun bind create -vserver vs1 -protocol-endpoint-path /vol/VV1/PE1 -vvol-path /vol/VV3/234ace

Bind the vvol /vol/VV3/234ace to the protocol endpoint /vol/VV1/PE1 in Vserver vs1.