Adding Disks to MapR File System

Describes how to add disks using either the Control System or the CLI.

About this task

You can add disks to MapR File System using the Control System and the CLI. Before adding the disks to MapR File System, add the physical disks to the node or nodes according to the correct hardware procedure.

  • If you are removing and replacing failed disks, you must install the replacements, then re-add the replacement disks to MapR File System, along with the other disks that were in the same storage pool(s) as the failed disks. See Handling Disk Failures for more details.
  • If you are removing disks but not replacing them, you can just re-add the other disks that were in the same storage pool(s) as the failed disks.
NOTE Disks must be added on CLDB nodes one node at a time when Warden and MapR services are running.
ATTENTION Disable write caching on all MapR disks if the disks are not battery backed.

Adding Disks Using the Control System

About this task

Complete the following steps to add disks of type MapR File System using the Control System:

Procedure

  1. Log in to the Control System and go to the Summary tab in the node information page.
    NOTE The Nodes page is not available on the Kubernetes version of the Control System.
  2. Select the disks not yet added to MapR File System in the Disks pane and click Add Disks to File System.
    The Add Disks to File System confirmation dialog displays.
    NOTE You cannot select disks of type System to add.
  3. Review the list and click Add Disk.
    The disks are automatically formatted and properly-sized storage pools are automatically allocated.

Adding Disks Using the CLI or REST API

About this task

The basic command to add disks to a node is:

maprcli disk add -disks <disk names> -host <host>
NOTE This step reformats the disks. Any data on these disks will be lost.

For complete reference information, see disk add.