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.
mrconfig sp rename
command to move a storage disk from one storage pool to another storage pool.Syntax
mrconfig command must be run under the
supervision of HPE support. mrconfig sp rename [-n <SPname>] <path>
Parameters
|
Parameter |
Description |
|---|---|
|
|
The new name for the storage pool. This is an optional parameter.
If |
|
|
The storage disk device path for the storage pool. This is a mandatory parameter. |
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 listcommand to see storage pool names (examplesSP1,SP2) and the storage disk device paths of the storage pools (example/dev/sdc). - Use the
mrconfig disk listcommand to see storage pool names (examplesSP1,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/dev/sdb.
/opt/mapr/server/mrconfig sp rename /dev/sdb