mrconfig disk init
mrconfig
command must be run under the
supervision of HPE support. The mrconfig disk init
command initializes a disk and formats it for
the Data Fabric file system.
Warning: Initializing a Disk Causes Data Loss
Initializing a disk destroys the data on the disk, so be sure that all data on a disk is backed up and replicated before initializing the disk.
After executing the mrconfig disk init
command, add
the disk to the node with the
mrconfig disk load
command.
See
mrconfig
for instructions about running mrconfig
commands.
Tip:
To initialize, format, and load one or more disks in one step using:
- The Control System, see Adding Disks to file system.
- The CLI, see
disk add
command.
Syntax
/opt/mapr/server/mrconfig disk init <path>
[-F]
<path>
Parameters
Parameter |
Description |
---|---|
-F |
Forces formatting of the disk for file system, regardless of prior formatting or existing data. |
path |
The device path of the disk; example /dev/sdc |
Examples
Initialize a disk for file system on a local node/opt/mapr/server/mrconfig disk init /dev/sdc
Initialize and format a disk for file system on a local node/opt/mapr/server/mrconfig disk init -F /dev/sdc
Initialize and format a disk for file system on a remote node with an
IP address of xx.xx.xx.xx/opt/mapr/server/mrconfig -h xx.xx.xx.xx disk init -F /dev/sdc