changeNasVolumeSize

Prev Next

Available in VPC

Change the size of a NAS volume instance.

Syntax

The changeNasVolumeSize syntax is as follows:

./ncloud vnas changeNasVolumeSize \
    --nasVolumeInstanceNo <nas-volume-instance-no> \
    --volumeSize <volume-size> \
    [--isAsync <true|false>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running changeNasVolumeSize.

Required options

The following options are required for changeNasVolumeSize.

Options Type Required Description
--nasVolumeInstanceNo String Required NAS volume instance number
--volumeSize Integer Required Volume size to change to (GB)
  • 500-20000
  • Enter in 100 GB increments.

Optional options

These are the optional options for changeNasVolumeSize. Options that are not specified will use their default values.

Options Type Required Description
--isAsync Boolean Optional Set async
  • true | false (default)
    • true: Set
    • false: Not set

Common options

For information about the options common to all vnas subcommands, see NAS (VPC) options.

Examples

If the request to resize a NAS volume is successful, the instance's configuration information and the new volume size are returned.

Command

The command example is as follows:

./ncloud vnas changeNasVolumeSize \
    --nasVolumeInstanceNo 10234568 \
    --volumeSize 600 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "changeNasVolumeSizeResponse": {
    "totalRows": 1,
    "nasVolumeInstanceList": [
      {
        "nasVolumeInstanceNo": "10234568",
        "nasVolumeInstanceStatus": {
          "code": "CREAT",
          "codeName": "NAS creation status"
        },
        "nasVolumeInstanceOperation": {
          "code": "NULL",
          "codeName": "NAS NULL OP"
        },
        "nasVolumeInstanceStatusName": "created",
        "createDate": "2026-08-19T11:33:18+0900",
        "nasVolumeDescription": "",
        "mountInformation": "192.0.2.11:/n123456_testnas02",
        "volumeAllotmentProtocolType": {
          "code": "NFS",
          "codeName": "NFS"
        },
        "volumeName": "n123456_testnas02",
        "volumeTotalSize": 644245094400,
        "volumeSize": 644245094400,
        "snapshotVolumeConfigurationRatio": 0.0,
        "snapshotVolumeSize": 0,
        "isSnapshotConfiguration": false,
        "isEventConfiguration": false,
        "regionCode": "KR",
        "zoneCode": "KR-1",
        "nasVolumeServerInstanceNoList": [],
        "isEncryptedVolume": false,
        "nasVolumeInstanceCustomIpList": [],
        "isReturnProtection": false
      }
    ],
    "requestId": "",
    "returnCode": "0",
    "returnMessage": "success"
  }
}