mrconfig sp rename

Use the mrconfig sp rename command to rename a storage pool on the node where you run the command.

See mrconfig for instructions on running mrconfig commands.

RESTRICTION
You cannot use the mrconfig sp rename command to move a storage disk from one storage pool to another storage pool.

Syntax

CAUTION
The mrconfig command must be run under the supervision of HPE support.
mrconfig sp rename [-n <SPname>] <path>

Parameters

Parameter

Description

SPname

The new name for the storage pool. This is an optional parameter. If SPname is not specified, Data Fabric auto-assigns a new name to the storage pool.

path

The storage disk device path for the storage pool. This is a mandatory parameter.

ATTENTION
Use the mrconfig sp rename command to rename a storage pool on the node where you run the command. Before you run the command, ensure that the mfs service and the warden service are running on the node that hosts the storage pool.

The storage pool must be offline to be able to rename the storage pool. To take the storage pool offline, run the mrconfig sp offline command to take the storage pool offline.

Commands to use in conjunction with mrconfig sp rename

  • Use the mrconfig sp list command to see storage pool names (examples SP1, SP2) and the storage disk device paths of the storage pools (example /dev/sdc).
  • Use the mrconfig disk list command to see storage pool names (examples SP1, SP2), the storage disk device paths of the storage pools (example /dev/sdc), and the disks associated with each storage pool (examples /dev/sdc, /dev/sdd, /dev/sde).

Examples

Rename the storage pool on the local node that is associated with the storage disk /dev/sdc to SP2.
/opt/mapr/server/mrconfig sp rename -n SP2 /dev/sdc
Auto-assign a new name to the storage pool on the local node that is associated with the storage disk /dev/sdb.
/opt/mapr/server/mrconfig sp rename /dev/sdb