Parameters
-vserver <vserver name> - Vserver Name
Specifies the Vserver.
{
-path <path> - LUN Path
Specifies the path for the LUN you want to modify.
Examples of correct LUN paths are /vol/vol1/lun1 and /vol/vol1/qtree1/lun1.
|
-volume <volume name> - Volume Name
Specifies the volume for the LUN you want to modify.
-qtree <text> - Qtree Name
Specifies the qtree for the LUN you want to modify.
-lun <text>
} - LUN Name
Specifies the name for the LUN you want to modify. A LUN name is a case-sensitive name and has the following requirements:
- Must contain one to 255 characters. Spaces are not allowed.
- Can contain the letters A through Z, a through z, numbers 0 through 9, hyphen (-), underscore (_), right bracket (}), left bracket ({) and period (.).
- Must start with a letter or number.
[-space-reserve {enabled|disabled}] - Space Reservation
Specifies whether the space reservation setting is enabled or disabled for a LUN. If you set the parameter to enabled, the LUN is space-reserved. If you set the parameter to disable, the LUN is thinly provisioned. The default is enabled.
[-serial <text>] - Serial Number
Specifies the serial number for the LUN you want to modify.
[-comment <text>] - Comment
Specifies the comment for the LUN you want to modify.
[-space-allocation {enabled|disabled}] - Space Allocation
Specifies whether space allocation is enabled or disabled for a LUN. If you set this parameter to enabled, space allocation is enabled and provisioning threshold events for the LUN are reported. If you set this parameter to disabled, space allocation is not enabled and provisioning threshold events for the LUN are not reported. The default is disabled.
[-state <lunState_enum>] - State
Specifies the administrative state of a LUN. The options are:
{
[-device-legacy-id <integer>] - Device Legacy ID
Specifies the device legacy ID for the LUN you want to modify.
|
[-device-binary-id <text>] - Device Binary ID
Specifies the device binary ID for the LUN you want to modify.
|
[-clear-binary-id [true]]
} - Clear Device Binary ID
Clears the binary format of the optional device ID.
{
[-device-text-id <text>] - Device Text ID
Specifies the device text ID for the LUN you want to modify.
|
[-clear-text-id [true]]
} - Clear Device Text ID
Clears the text format of the optional device ID.
[-qos-policy-group <text>] - QoS Policy Group
This optionally specifies which QoS policy group to apply to the lun. This policy group defines measurable service level objectives (SLOs) that apply to the storage objects with which the policy group is associated. If you do not assign a policy group to a lun, the system will not monitor and control the traffic to it. To remove this lun from a policy group, enter the reserved keyword "none".
Examples
cluster1::> lun modify -path /vol/vol1/lun1 -space-reserve disable
Disables the space reserve attribute for LUN /vol/vol1/lun1.
cluster1::> lun modify -path /vol/vol1/lun1 -state offline
Takes the LUN /vol/vol1/lun1 offline.
cluster1::> lun modify -path /vol/vol1/lun1 -comment "new comment"
Adds the comment "new comment" to the LUN /vol/vol1/lun1.