Configuring Storage
This section describes how to format disks for cluster storage manually using
disksetup
.
The disksetup utility formats
disks for use by the MapR cluster. disksetup
removes all data from the
specified disks. Make sure you specify the disks correctly, and back up any data that you want
to save. If you are re-using a node that was used previously in another cluster, it is
important to format the disks to remove all data from the old cluster. For more information
about the utility, see disksetup.
disksetup
script assumes that you have free, unmounted physical
partitions or hard disks for use by MapR. To determine if a disk or partition is ready for use
by MapR, see Setting Up Disks for MapR. Manually Running disksetup
/dev/sdb
/dev/sdc1 /dev/sdc2 /dev/sdc4
/dev/sdd
In the following example, /tmp/disklist
is a text file that lists the
disks and partitions:
/opt/mapr/server/disksetup /tmp/disklist