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 to perform the volume expansion.
To expand 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 in single-shot command mode you want this command to receive from the input stream (stdin) the names of one or more volumes to expand.

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.

Note: SAN Volume Controller does not automatically update to an expanded size. To ensure that an AIX® 5.2 client is aware of SAN Volume Controller LUN expansion, you must temporarily unmount the client file system and mount the client again. Other clients require a restart to see the expanded LUN size.

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 tasks
Expanding data (user) volumes
Expanding metadata (system) volumes

Related reference
activatevol
chvol
lslun
lsvol
mkvol
rediscoverluns
reportvolfiles
rmvol
suspendvol

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2