expandvol

Expands the size of one or more specified volumes.

Read syntax diagramSkip visual syntax diagram
>>-expandvol--+----------+--+--------------------------+-------->
              +- –?----+  '- –client --client_name-'
              +- –h----+
              '- –help-'

     .-------------.
     V             |
>--+---volume_name-+-+-----------------------------------------><
   '- – -----------'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–client client_name
Specifies the name of a client that is zoned to access the volume that is being expanded.
To create a volume in a user storage pool, you must specify a SAN File System client that meets the following conditions:
  • The client must have access to the volume that is being added as a SAN File System volume. To list all active clients that can access the volume, use the reportclient –lun command.
  • The client must be active and appear in the registered (active) client list.
Restriction: Do not specify a client if you expanding a volume in the system storage pool.
volume_name
Specifies the name of one or more volumes to expand to the new size.
Specifies that you want to read the names of one or more volumes to expand from stdin (for example, – << /work/vol_list.txt).

Prerequisites

You must have Administrator privileges to use the command.

You must be logged in to the operating system on the engine hosting the master metadata server to run this command.

Description

The volume can only be expanded. You cannot make a volume smaller.

Example

Expand a volume The following example expands the volume myOtherVol:
sfscli> expandvol -client superClient myOtherVol
Volume myOtherVol was expanded successfully.

Parent topic: Administrative commands

Related reference
activatevol
chvol
lslun
lsvol
mkvol
rediscoverluns
reportvolfiles
rmvol
suspendvol

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.