create volume
45
create volume
Description
Creates a volume in a vdisk. You must specify a size for the volume. You can create the volume
unmapped or set its 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 the mapping by using
the
commands. By default, this command will not map the created
volume.
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.
To create multiple volumes at once, use the
command.
Min. role
manage
Syntax
create volume
[access read-write|rw|read-only|ro|no-access]
[lun
LUN
]
[ports
ports
]
size
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
vdisk
vdisk
name
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
.
lun
LUN
Optional if the
access
parameter is set to
no-access
. Specifies the LUN to assign to the mapping
on all ports.
ports
ports
Optional. The ports through which the host can access the volume. All specified ports must be the
same type. For port syntax, see
. If this parameter is omitted, all ports
are selected.
size
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
Sets the volume size. The unit is optional (B represents bytes). If base 2 is in use, whether you specify
a base-2 or base-10 unit, the resulting size will be in base 2. If no unit is specified, the default is
512-byte blocks.
A value less than 4 MB (3.8 MiB) will be rounded up to that size. Any larger value will be rounded
down to the next multiple of that size. The maximum volume size is 140 TB (128 TiB).
vdisk
vdisk
Optional; required for linear volumes. The name or serial number of the vdisk in which to create the
volume. A name that includes a space must be enclosed in double quotes.
name
A name for the new volume. The name must be unique system-wide. Input rules:
•
The value is case sensitive.
•
The value can have a maximum of 32 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.
Example
Create the 20-GB volume
V1
in vdisk
VD1
, and map it to ports A1 and B1 using LUN 5.
# create volume vdisk VD1 size 20GB ports a1,b1 lun 5 V1
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...