Supermicro Intel VROC for X11 Serverboards — Supermicro Intel VROC X11 Serverboards Linux User's Guide (Rev 1.0e) PDF

7.3 Creating a RAID Volume with mdadm Follow the instructions below to create a RAID volume with mdadm. Note: In some Linux installation media environments it is possible to switch from the GUI to the shell environment via + + . Return to the GUI via + + . Note: The commands below each figure should be used to perform the associated step. Warning! Back up all important data before performing the steps below. Existing data on the selected drives will be permanently deleted after creation of RAID array. 1. Erase any previous RAID metadata. Incorrect or bad metadata can cause RAID volumes to be assembled incorrectly.

This operation does not attempt to wipe existing user data, but will delete the corresponding array of a current member disk. [anaconda root@localhost /]# [anaconda root@localhost /]# mdadm --zero-superblock /dev/nvme4n1 mdadm: Unrecognised md component device - /dev/nvme4n1 [anaconda root@localhost /]# 2. An Intel® IMSM metadata container must first be created with the -e flag. In this example, a 2-disk RAID container consisting of drives nvme4n1 and nvme5n1 is assigned the designation /dev/md0 . The wildcard expression /dev/nvme[4-5]n1 can be used to specify the range of drives, although individual expressions can be used.

[anaconda root@localhost /]# [anaconda root@localhost /]# mdadm -C /dev/md0 /dev/nvme[4-5]n1 -n 2 -e imsm mdadm: container /dev/md0 prepared . [anaconda root@localhost /]# Note: Creating an Intel® RAID requires that the name be /dev/md/ , the metadata flag be set to imsm , and the level flag be set to container (or leave the level flag out entirely). 3. Next, the RAID volume itself is created using the IMSM container. The following parameters may be used in conjunction to give finer control for the creation of the RAID volume. [anaconda root@localhost /]# [anaconda root@localhost /]# mdadm -C /dev/md/Volume0 /dev/md0 -n 2 -l 1 mdadm: array /dev/md/Volume0 started .

[anaconda root@localhost /]# Supermicro Intel ® VROC Linux User’s Guide 37