create volume-set
47
create volume-set
Description
Creates a specified number of volumes in a vdisk. You must specify a base name and a size for the
volumes. You can create the volumes unmapped or set their default mapping. Default mapping
settings apply to all hosts, unless overridden by an explicit mapping between a host and the volume.
You can later change mappings by using the
commands. By
default, this command will not map the created volumes.
Volume sizes are aligned to 4-MB boundaries. When a volume is created or expanded, if the
resulting size would be less than 4 MB it will be increased to 4 MB; if the resulting size would be
greater than 4 MB it will be decreased to the nearest 4-MB boundary.
Min. role
manage
Syntax
create volume-set
[access read-write|rw|read-only|ro|no-access]
[baselun
base-LUN
]
basename
base-name
count
#
[ports
ports
]
size
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
[vdisk
vdisk
]
Parameters
access read-write|rw|read-only|ro|no-access
Optional. The access permission to use for the mapping:
read-write
(
rw
),
read-only
(
ro
), or
no-access
. If
no-access
is specified, the volume is not mapped. The default is
read-write
.
baselun
base-LUN
Optional. The first in a sequence of LUNs to assign to map the volumes through ports specified by
the
ports
parameter. If the
baselun
and
ports
parameters are omitted, the volumes are not
mapped. If a LUN to be assigned to a volume is already in use, an error message is displayed and
that volume and any subsequent volumes are not mapped.
basename
base-name
A name to which a number will be appended to generate a different name for each volume. Volume
names must be unique system-wide. Input rules:
•
The value is case sensitive.
•
The value can have a maximum of 16 bytes, where ASCII characters are 1 byte, most Latin
(Western European) characters with diacritics are 2 bytes, and most Asian characters are 3
bytes.
•
The value can include spaces and printable UTF-8 characters except:
" , < \
•
A value that includes a space must be enclosed in double quotes.
Resulting volumes are numbered sequentially starting with 0000. If volumes with the specified
basename already exist, names of new volumes start with the first available name in the sequence.
For example: for basename
vd1_v
, if
vd1_v0000
and
vd1_v0002
exist, the next volumes created
will be
vd1_v0001
and
vd1_v0003
.
count
#
The number of volumes to create, from 1 to 128. Volumes will be created up to the maximum number
supported per vdisk.
ports
ports
Optional. The controller ports to use for the mapping. All ports must be the same type. For port
syntax, see
. If not all ports are specified, the unspecified ports are not
mapped. If the
ports
and
baselun
parameters are omitted, the volumes are not mapped.
Summary of Contents for AssuredSAN 6004
Page 11: ...Document conventions and symbols 11 TIP Provides helpful hints and shortcuts...
Page 114: ...114 Alphabetical list of commands See also set cli parameters show protocols...
Page 139: ...show controller statistics 139 See also reset all statistics reset controller statistics...
Page 162: ...162 Alphabetical list of commands See also show power supplies...