CLI Guide

Table Of Contents
See also
export storage-view create
export storage-view removeport
export storage-view addvirtualvolume
Adds a virtual volume to a storage view.
Contexts
All contexts.
In /clusters/cluster/exports context, command is storage-view addvirtualvolume.
In /clusters/cluster/exports/storage-views context, command is addvirtualvolume.
Syntax
export storage-view addvirtualvolume
[-v|--view] context-path
[-o|--virtual-volumes] virtual-volume, virtual-volume...
[-f|--force]
Arguments
Required arguments
[-o|--virtual-
volumes] virtual-
volume,virtual-volume ...
* List of one or more virtual volumes or LUN-virtual-volume pairs. Entries must be separated by
commas.
LUN-virtual-volume pairs must be enclosed in parentheses (). Virtual volumes and LUN-virtual-
volume pairs can be typed on the same command line.
When only virtual volumes are specified, the next available LUN is automatically assigned by metro
node.
Optional arguments
[-v|--view] context-
path
View to add the specified virtual volumes to.
[-f|--force]
Force the virtual volumes to be added to the view even if they are already in use, if they are
already assigned to another view, or if there are problems determining the view's state. Virtual
volumes that already have a LUN in the view will be re-mapped to the newly-specified LUN.
* - argument is positional.
Description
Add the specified virtual volume to the specified storage view. Optionally, specify the LUN to assign to the virtual volume.
Virtual volumes must be in a storage view in order to be accessible to hosts.
When virtual volumes are added using only volume names, the next available LUN number is automatically assigned.
Commands
187