Formatting Disks on a Node From the Command-line

Provides an overview of the disksetup script to format disks from the command line.

The disksetup script is used to format disks for use by the HPE Ezmeral Data Fabric cluster. Create a text file /tmp/disks.txt listing the disks and partitions for use by HPE Ezmeral Data Fabric on the node. Each line lists either a single disk or all applicable partitions on a single disk. When listing multiple partitions on a line, separate by spaces. For example:

/dev/sdb
/dev/sdc1 /dev/sdc2 /dev/sdc4
/dev/sdd

Later, when you run disksetup to format the disks, specify the disks.txt file. For example:

/opt/mapr/server/disksetup -F /tmp/disks.txt
NOTE
The disksetup script removes all data from the specified disks. Make sure you specify the disks correctly, and that any data you wish to keep has been backed up elsewhere.

If you are re-using a node that was used previously in another cluster, be sure to format the disks to remove any traces of data from the old cluster.

WARNING
Run disksetup only after running configure.sh.