6.31 List Moves

list moves [more|all]

Print a list of current NSS pool moves.

If a pool is cluster-enabled, the pool move is enabled and active only on the node where the pool cluster resource is currently online. On other nodes in the cluster, the pool move is not enabled.

nlvm [-t] list moves [more|all]
Command Options
-t , --terse

Use this NLVM option to format the output for parsing.

more

Prints more information than appears in the standard output. It can be used with or without the -t NLVM option.

Example

more
all

Prints detailed information about each of the pool moves. This is the same information that is printed for the nlvm list moves <move_name> command. It can be used with or without the -t NLVM option.

Example

all
Command Example
nlvm list moves

Print a list of NSS pool moves that are in progress now.

Response Parameters

You can issue the commands with the --terse NLVM option to output the same information in a format that is more easily parsed.

Standard Output

The command returns the following standard information about the pool moves on the server:

Label

Description

Name

Name of the move. Typically, <pool_name>_move.

Pool

Name of the pool being moved

FromStat

Status of the “from” group of devices that make up the source pool (Active, ReadError, WriteError, Missing, NotEnabled)

ToStat

Status of the “to” group of devices that make up the new instance of the pool (Active, ReadError, WriteError, Missing, NotEnabled)

Complete

Percent complete

More Output

The command returns the following additional information about the pool moves on the server:

Label

Description

OldSize

Size of the old/source pool in MB, GB, or TB, and the number of whole sectors in that space

From

From set of devices for the pool being moved

To

To set of devices for the pool in its new location

All Output

If the all option is used, the command returns the same information about each pool move as is displayed for the nlvm list move <move_name> command.

Sample Command Responses
Sample 1: Server with No Active Moves
nlvm list moves
  No moves
Sample 2: nlvm list moves
 Name        Pool   FromStat  ToStat Complete
 MYPOOL_move MYPOOL Active  Active   100%
Sample 3: nlvm list moves --terse
Name=PMOVE_move Pool=PMOVE FromStat=Active ToStat=Active Complete=100%
Sample 4: nlvm list moves more
 Name        Pool   FromStat  ToStat Complete  OldSize  From    To
 MYPOOL_move MYPOOL Active    Active   100%    99.00MB  sdb     sdc
Sample 5: nlvm list moves all
Name=MYPOOL_move
  Pool=MYPOOL FromStat=Active ToStat=Active Complete=100%
  OldSize=99.00MB(202752) From=sdb To=sdc
  M:M=253:21 Regions=3168 RegionsComplete=3168
Sample 6: Cluster Node where the Pool Cluster Resource Is Active
 Name        Pool   FromStat  ToStat Complete
 MYPOOL_move MYPOOL Active    Active   71%
Sample 7: Any Cluster Node where the Pool Cluster Resource Is Not Active
 Name        Pool   FromStat    ToStat     Complete
 MYPOOL_move MYPOOL NotEnabled  NotEnabled   0%
  Move is not enabled on this node.