Skip to main content

mvstor 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. mvstor 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

   mvstor [-options] - raid configuration for SATA/NVMe RAID boot solution.
options:
-version - displays controller firmware version.
-disks - displays information of media disks.
-volumes - displays information of virtual disks
-create -slot <slot_no> -name <vd name> -level <0|1> -stripe <32|64|128|256|512> - create virtual volume.
Marvell SATA RAID: stripe size can only be 32k or 64k
Marvell NVMe RAID: vd name is unapplicable. The name will always be VD_0.
-delete -slot <slot_no> -id <0|1> - delete the virtual volume
-import -slot <slot_no> -id <0|1> - import a foreign virtual volume

Example

system> mvstor -version
Controller Slot Device Name Version
1 ThinkSystem M.2 SATA 2-Bay RAID Enablement Kit 2.3.20.1203


system> mvstor -disks
Controller Slot 1 M.2 Bay0 128GB M.2 SATA SSD LEN
Controller Slot 1 M.2 Bay1 128GB M.2 SATA SSD LEN

system> mvstor -volumes
Controller Slot 1:
VD_ID: 0
VD_Name: VD_Test
PD_Member: 0,1
RaidLevel: 1
StripSize: 64k
VD_Capacity: 117 GB
VD_Status: Optimal
1 64k 29 GB Optimal

system> mvstor -delete –slot 1 -id 0
VD_ID 0 is deleted

system> mvstor -create –slot 1 -name M2RAID -level 1 -strip 64
New volume is created

system> mvstor -import –slot 1 -id 0
VD_ID 0 is imported