The rate at which the volume copies resynchronize
after loss of synchronization can be specified using the syncrate parameter. Table 1 defines the rates.
This setting this affects the initial rate of formatting.
Table 1. Volume copy resynchronization
rates
Syncrate value |
Data copied per second |
1-10 |
128 KB |
11-20 |
256 KB |
21-30 |
512 KB |
31-40 |
1 MB |
41-50 |
2 MB |
51-60 |
4 MB |
61-70 |
8 MB |
71-80 |
16 MB |
81-90 |
32 MB |
91-100 |
64 MB |
The default setting is 50. The synchronization
rate must be set such that the volume copies resynchronize quickly after loss of synchronization.
Issue this CLI command to create a volume with two copies
using the I/O group and storage pool name and specifying the synchronization
rate:
mkvdisk -iogrp io_grp1 -mdiskgrp grpa:grpb -size500 -vtype striped
-copies 2 syncrate 90
where io_grp1 is the name of the I/O group that you want the volume to use, grpa is the name of the storage pool for the primary copy
of the volume and grpb is the name of the storage
pool for the second copy of the volume, and 2 is the number of volume
copies and the synchronization rate is 90 which is equivalent to 32MB
per second.
Issue this CLI command to create a volume using
the I/O group ID and storage pool ID:
mkvdisk -name mainvdisk1 -iogrp 0
-mdiskgrp 0 -vtype striped -size 256 -unit gb
where mainvdisk1 is the name that you want to call the volume, 0 is the ID of the I/O group
that want the volume to use, 0 is the ID of the
storage pool that you want the volume to use, and 256 is the capacity of the volume.
Issue this CLI command to create
a thin-provisioned volume using the I/O group and storage pool name:
mkvdisk -iogrp io_grp1 -mdiskgrp bkpmdiskgroup -vtype striped
-size 10 unit gb -rsize 20% -autoexpand -grainsize 32
where io_grp1 is the name of the
I/O group that you want the volume to use and 20% is how much real storage to
allocate to the volume, as a proportion of its virtual size. In this
example, the size is 10 GB so that 2 GB will be allocated.
Issue this CLI command to create a volume with two copies using
the I/O group and storage pool name:
mkvdisk -iogrp io_grp1 -mdiskgrp grpa:grpb-size 500 -vtype striped -copies 2
where io_grp1 is the name of the
I/O group that you want the volume to use, grpa is the name of the storage pool for the primary copy of the volume
and grpb is the name of the storage pool for the
second copy of the volume, and 2 is the number of volume copies.
Issue this CLI command to create a striped high availability
volume:
mkvolume -pool 0:1 -size 1000
This creates
a volume in storage pool
0 with a capacity of
1000 MBs.
Issue this CLI command to create
an image mode volume:
mkimagevolume -mdisk 7 -pool 1 -thin -size 25 -unit gb
This imports a space-efficient image mode volume with a virtual capacity
of
25 GB in storage pool
1 using
MDisk
7.