Skip to main content

m2raid command

Use this command to get M.2 related inventory information and manage the virtual volumes.

The following table shows the arguments for the options.

Table 1. m2raid command.

The following table is a multi-row two column table consisting of the options and option descriptions.

OptionDescription

-h/?

Print the help info for this command

-version

Display the controller firmware information

-disks

Display the media disks information

-volumes

Display the virtual volumes information

-create

Create a virtual volume, the VD_Name, RaidLevel and StripeSize can be specified

-delete

Delete a virtual volume

-import

Import a foreign virtual volume. After importing the virtual volume, a system reboot will rebuild the virtual volume automatically.

Usage

m2raid [-options] - raid configuration for M.2 adapter with Mirroring Enablem
options:
-version - displays controller firmware version.
-disks - displays information of media disks.
-volumes - displays information of virtual volumes
-create -VD_Name <nameStr> -RaidLevel <0|1> -StripeSize <32|64> - create virt
-delete -VD_ID <0|1> - delete the virtual volume
-import -VD_ID <0|1> - import a foreign virtual volume

Example

system> m2raid -version
ThinkSystem M.2 with Mirroring Enablement Kit
Firmware Version = 2.3.10.1193

system> m2raid -disks
M.2 Bay0 32GB M.2 SATA SSD LEN 100%
M.2 Bay1 32GB M.2 SATA SSD LEN 100%

system> m2raid -volumes
VD_ID VD_Name RaidLevel StripSize VD Capacity Status
0 M2RAID 1 64k 29 GB Optimal

system> m2raid -delete -VD_ID 0
VD_ID 0 is deleted

system> m2raid -create -VD_Name M2RAID -RaidLevel 1 -StripeSize 64
New volume is created

system> m2raid -import -VD_ID 0
VD_ID 0 is imported