Adding Disks to filesystem

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

You can add disks to filesystem using the Control System and the CLI. Before adding the disks to filesystem, 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 filesystem, 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 data-fabric services are running.
Attention: Disable write caching on all data-fabric disks if the disks are not battery backed.

Adding Disks Using the Control System

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

  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 filesystem in the Disks pane and click Add Disks to MapR-FS.
    The Add Disks to MapR-FS 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

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.