Operational Modes

A RAID operates in different modes indicated by a set of states. Some states are interrelated, while others can be controlled independently. Changes may occur due to user actions, hardware failures, or internal logic events like initialization completion. The RAID drives have their own states. This drive state is a logical state in scope of the RAID functionality. For example, a drive can be connected to the engine and visible as a BDEV but be offline in term of RAID backing drive.

Raid show command reports the RAID states, level, size, and other useful information. It also reports the RAID backend drives and their parameters. The show output can be formatted as --output json or as three table formats: table, compact, tiny. Below is the raid show command output example:
$ xnr_cli raid show