Modifying Multiple Volumes

You can modify volumes using MCS and the CLI.

Modifying Volumes Using the MapR Control System

To edit multiple volumes, in the Summary tab under Data > Volumes:

  1. Select the volumes to edit in the Volumes pane and click Edit Volume(s) from the Actions dropdown menu.
    The Edit Volumes page displays. You can edit certain volume properties, authorization settings, usage settings, and schedule settings for the selected volumes.
  2. Modify one or more of the following settings.
    Note: If the selected volumes share the same settings, the fields are pre-populated with the current value. If the selected volumes contain different settings, only the fields that have been set in all the selected volumes display.
    Properties
    SETTINGS AND AUDITING Accountable Entity The entity accountable for this volume’s usage.
    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.
    Enable Auditing Select one of the following:
    • Disable auditing
    • Enable auditing for volume so that auditing can selectively be enabled for directories, files, tables, and streams in the volume
    • Enable auditing of operations on all files, tables, streams in the volume whether or not auditing is enabled for files, tables, and streams in the volume.
    Coalesce Interval Interval of time used when logging multiple instance of an operation on a node from a client IP, if auditing is enabled.
    Data on Wire Encryption Specifies whether (Yes) or not (No) to encrypt data in the volume during transfer. By default, the value is Yes for all new volumes in secure cluster. This is not supported on unsecure clusters.
    REPLICATION (HOT) Replication Desired and minimum number of copies of the volumes.
    Name Container Replication Desired and minimum number of copies of the name container associated with the volumes.
    Authorization
    ADMINISTRATIVE CONTROLS Users and groups that have permissions to perform administrative operations on this volume.
    Usage
    Volume Advisory Quota Allocated disk space, which when exceeded raises an alarm but does not prevent writes.
    Volume Hard Quota Allocated disk space, which when exceeded prevents further writes.
    Schedule
    Snapshot Schedule Schedule for creating snapshots of this volume.
    Mirror Schedule Schedule for running mirroring operation for the volumes.
    Note: This is available only if all the selected volumes are mirror volumes.
    Note: To undo a change to a specific setting, click the associated . This action will revert the value to the current setting.
  3. Click Save Changes for the changes to take effect.

Modifying Volumes Using the CLI or REST API

The basic command to modify a volume is:

maprcli volume modify -name <volume name>

For complete reference information including supported options, see volume modify.