Describes how to create a volume using the Control System, CLI and the REST API.
You can create a new (Standard or Mirror) volume using the Control System, the CLI, and the REST API.
mapr-clusters.conf file to mirror volumes between unsecure clusters.To create a new (Standard or Mirror) volume using the Control System:
| Volume Name | Enter a name for the volume. The name should contain only the following characters:
Note:
|
| Accountable Entity | Specifies a user or group whose use of a volume can be subject to quotas. You can set or modify quotas that limit the space used by all the volumes owned by an accountable entity. |
| Volume Name | Enter a name for the volume. The name should contain only the following characters:
Note:
|
| Source Cluster Name | Enter the name of the cluster on which the source
volume exists. The name should contain only the
following characters:
Mirroring
only works between two secure clusters or between
two non-secure clusters. Mirroring does not work
when one cluster is secure and the other is
non-secure. Note: When setting up mirror volumes
for mirroring between clusters, for the mirroring
operation to run successfully, servers in one
cluster cannot use the same IP addresses as
servers in the other cluster. For example, if node
A in cluster A has a private IP address of
10.10.20.29, no server in cluster B can have the
same private IP address. Also, all the servers in
destination cluster must be able to reach all the
servers in the source cluster and vice versa. For
example, suppose 10.10.20.29 is the only IP
address used by node A in cluster A; then all
servers in cluster B should be able to reach the
IP address 10.10.20.29.
|
| Source Volume Name | Enter the name of the source volume, from which
the mirror volume pulls data (after selecting the
source volume cluster). The name should contain
only the following characters:
If the
source volume is on:
Note: If you plan to enable tiering for the
mirror volume, ensure that the selected source
volume is also tiering-enabled. You cannot create
tiering-enabled mirror volumes to mirror data in
standard volumes that are not tiering-enabled.
For information on setting up mirror
cascades, see Mirror Cascades. |
| Accountable Entity | Specifies a user or group whose use of a volume can be subject to quotas. You can set or modify quotas that limit the space used by all the volumes owned by an accountable entity. |
| Mount | Specifies whether to automatically mount (Yes) or not mount (No) the volume after creation. By default, volumes are mounted immediately after creation. If this is set to Yes, you must also specify the mount path. |
| Mount Path | The path to mount the volume. This is required if the
value for Mount is
Yes. Note: The path must be
relative to
/ and cannot be in the
form of a global namespace path (for example,
/mapr/<cluster-name>/). |
| Collect Metrics | Specifies whether (Yes) or not (No) to enable metrics collection for this volume. For more information, see Collecting Volume Metrics and Enabling Volume Metric Collection. |
| Volume Access | Specifies whether the volume is read-only or a read/write volume. By default, a standard volume is created with read/write access. A mirror volume can only be a read-only volume. |
| Last Access Interval | Denotes the frequency at which the access time of a file is updated. See Tuning Last Access Time for more information. |
| Topology | Specifies the rack path to the volume. The default
topology is /data. |
| Optimize Replication for | Specifies the basis for the replication factor:
|
| Guarantee Min Replication | Specifies whether (Yes) or not
(No) to enforce minimum
number of copies. If this is enabled
(Yes), writes succeed only
when the minimum number of copies exist. If this is
enabled (Yes) and minimum number
of copies are not available, the client is asked to
retry. For more information, see Understanding Replication. |
| Replication | Specifies the minimum (Minimum Replication) and desired (Target Replication) number of copies of the volume data. The default minimum is 2, and the default target is 3. |
| Name Container Replication | Specifies the minimum (Minimum Replication) and desired (Target Replication) number of copies of the name container associated with the volume. The default minimum is 2, and the default target is 3. |
By default, data tiering is enabled and volume data is stored in the hot tier (HPE Ezmeral Data Fabric cluster). If you choose to enable data tiering for the volume, you can associate a tier type with the volume either now, or later by editing the volume. If you decide to associate a type of tier with the volume, proceed to the next step; otherwise, proceed to step 7.
| Topology | The topology of the erasure coded volume from the drop-down list. |
| Storage Policy | The rule for offloading data in this
volume. You can click:
default.ectier.rule, which is all
files (p), is associated with the
volume. |
| Scheme | The erasure coding scheme, which is the
number of data chunks and number of parity chunks.
Set the required Parity Scheme. The system
indicates in real-time whether or not the parity
scheme is valid. Some valid parity schemes include:
Yes. The system then
displays a third slider to set the number of local
parity blocks.As you set the parity scheme, irrespective of local or not, the system indicates the number of failures that the parity scheme can tolerate, the storage overhead required, and the number of nodes required to implement the parity scheme. Note: Although you can create a volume
even if the required number of nodes are not
present, offload operation fails if the required
number of nodes are not present.
See Erasure Coding Scheme for Data Protection and Recovery for more information. |
| Storage Policy | The rule for offloading data in this
volume. You can click:
|
| Remote Target | The location to which the data is
offloaded. You can click:
|
| Retention Duration after Recall | The number of days to retain data recalled from the tier to the HPE Ezmeral Data Fabric cluster. Once the number of days is reached, recalled data on the HPE Ezmeral Data Fabric cluster is purged (if there are no changes), or offloaded (if there are changes). |
| Tier Encryption | Specifies whether (Yes) or not (No) to enable encryption of data on the tier. This cannot be modified once it is set. The default value is No (disabled). |
| Auditing | Auditing of operations. You can either audit
particular files or directories (By
File or Directory) or audit all files
and directories on the volume (All
Volume Content. In either case, you
can do the following:
|
| Data on Wire Encryption | Encryption of data in the volume during transmission. By default, this is enabled (Yes) for all new volumes in secure cluster. This is not supported on insecure clusters. |
| Data at Rest Encryption | Encryption of data at rest. This should be enabled only if the feature is enabled at the cluster-level. By default, this is disabled (No). This is not supported on insecure clusters. |
| Coalesce Interval | The interval of time (in minutes) to use when logging multiple READ, WRITE, or GETATTR operations on one file from one client IP address, if auditing is enabled. The default value is 60 minutes. |
to
modify the users, groups, and/or roles.
to create a
copy of the permissions, which you can then modify.
to
remove a data access control setting./opt/mapr/bin/maprcli volume create -name <volName> -path <mountPath>A-Z a-z 0-9 _ - .-type mirror
and -source <sourceVolName>@<cluster> in
the command.-tieringenable
true in the command.curl -k -X POST 'https://<hostname>:8443/rest/volume/create?name=<volName>&path=<mountPath>' --user mapr:mapr
The name should contain only the following characters:
A-Z a-z 0-9 _ - . If you are creating a:type=mirror and
source=<sourceVolName>@<cluster> in
the request.tieringenable=true in the request. The
tieringenable property of a mirror volume
should be the same as the source volume.volume create.