Operation: expand-lun

Home  Previous  Next

The expand-lun operation sends a query to the EMC SMI-S Provider to increase the size of an existing LUN. This operation requires to specify the name of the LUN to be expanded as well as the size of the expansion.

Expanding an existing LUN consists in creating a new LUN and then a metaLUN from the existing one and the new one. Storage groups for the initial LUN are automatically re-mapped to the metaLUN and the operation is therefore transparent to the hosts.

Adapter Request Elements for 'expand-lun' Operation

 

Definition

Required

operation-name

Specifies the name of the operation you want to perform.

Valid value: expand-lun.

Yes

arguments

Parent element for <argument> element.

Yes

argument

Specifies a list of arguments that is required for this operation

Yes

target

Specifies the connection information for an EMC SMI-S Provider.

Valid value: The value specified for <target> element must be the same as the value that has been specified for the name attribute of <config> element in the adapter configuration. You can skip this element. In this case the request will be executed on the first defined adapter configuration. You can leave this element empty. In this case the request will be executed on the first defined adapter configuration.
Default value: The first defined adapter configuration.

No

timeout-secs

Specifies the time in seconds after which the attempt to connect to the EMC SMI-S Provider times out. The "timeout-secs" specified in adapter request overrides the value specified in adapter configuration.

Valid value: A numeric value which specifies the time in seconds.
Default Value: 180, if no "timeout-secs" is provided in adapter configuration.

No

You can specify one or more of the following elements to retrieve specific information. If none of the elements is specified, then all the details are fetched.

storage-system-name

Specifies the user defined storage system name.

Valid value: Please refer to the get-storage-system operation to list the valid values of this field.
Default value: None.

No

synchronous

Specifies whether to wait until the job completes. Any action performed by the EMC SMI-S Provider results in creating a job. If the 'synchronous' element is set to yes, the adapter waits until the job completes. Otherwise the job will be queued.

Valid value: yes | no
Default value: yes

No

composite-type

Specifies the type of composite element to create

Valid value: 2 - Concatenate element; 3 - Stripe element
Default value: null

No

lun-name

Specifies the LUN names that have to be expanded.

Valid value: None
Default value: None

Yes

size-bytes

Specifies the size (in Bytes) that should be expanded.

Valid value: numeric value
Default value: None

Yes

job-completion-timeout-secs

Specifies the time in seconds after which the attempt to complete the job times out.

Valid value: A numeric value which specifies the time in seconds.
Default value: 180 seconds

No

Sample Adapter Request for 'expand-lun' Operation

<emc-storage-request>

    <operation-name>expand-lun</operation-name>

    <arguments>

      <argument>

        <storage-system-name>CLARiiON+CKM00083900053</storage-system-name>

  <lun-name>00013</lun-name>        

  <composite-type>2</composite-type>

        <lun-name>00013</lun-name>

        <size-bytes>2097152</size-bytes> 

        <synchronous>no</synchronous>

      </argument>

    </arguments>

  </emc-storage-request>

Adapter Response Elements for 'expand-lun' Operation

 

Description

storage-system-name

Name of the storage system.

job-id

Number identifying the job.

job-output

Job output.

Sample Adapter Response for 'expand-lun' Operation

<emc-storage-response>

  <metadata>

    <status>success</status>

    <response-count>1</response-count>

  </metadata>

  <responses>

    <response>

      <metadata>

        <status>success</status>

        <execution-milliseconds>172</execution-milliseconds>

        <line-count>3</line-count>

        <target>pythagoras-p27p</target>

        <config-name>pythagoras-p27p</config-name>

      </metadata>

      <output>

        <luns>

          <lun>

            <storage-system-name>CLARiiON+CKM00083900053</storage-system-name>

            <job-id>260920613</job-id>

            <job-output>4096 (Job Queued)</job-output>

          </lun>

        </luns>

      </output>

    </response>

  </responses>

</emc-storage-response>