|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * installing/install_config/installing-customizing.adoc |
| 4 | + |
| 5 | +:_mod-docs-content-type: PROCEDURE |
| 6 | +[id="installation-special-config-raid-intel-vroc_{context}"] |
| 7 | +== Configuring an Intel(R) Virtual RAID on CPU (VROC) data volume |
| 8 | + |
| 9 | +Intel(R) VROC is a type of hybrid RAID, where some of the maintenance is offloaded to the hardware, but appears as software RAID to the operating system. |
| 10 | + |
| 11 | +The following procedure configures an Intel(R) VROC-enabled RAID1. |
| 12 | + |
| 13 | +.Prerequisites |
| 14 | + |
| 15 | +* You have a system with Intel(R) Volume Management Device (VMD) enabled. |
| 16 | +
|
| 17 | +.Procedure |
| 18 | + |
| 19 | +. Create the Intel(R) Matrix Storage Manager (IMSM) RAID container by running the following command: |
| 20 | ++ |
| 21 | +[source,terminal] |
| 22 | +---- |
| 23 | +$ mdadm -CR /dev/md/imsm0 -e \ |
| 24 | + imsm -n2 /dev/nvme0n1 /dev/nvme1n1 <1> |
| 25 | +---- |
| 26 | +<1> The RAID device names. In this example, there are two devices listed. If you provide more than two device names, you must adjust the `-n` flag. For example, listing three devices would use the flag `-n3`. |
| 27 | + |
| 28 | +. Create the RAID1 storage inside the container: |
| 29 | + |
| 30 | +.. Create a dummy RAID0 volume in front of the real RAID1 volume by running the following command: |
| 31 | ++ |
| 32 | +[source,terminal] |
| 33 | +---- |
| 34 | +$ mdadm -CR /dev/md/dummy -l0 -n2 /dev/imsm0 -z10m --assume-clean |
| 35 | +---- |
| 36 | + |
| 37 | +.. Create the real RAID1 array by running the following command: |
| 38 | ++ |
| 39 | +[source,terminal] |
| 40 | +---- |
| 41 | +$ mdadm -CR /dev/md/coreos -l1 -n2 /dev/imsm0 |
| 42 | +---- |
| 43 | + |
| 44 | +.. Stop both RAID0 and RAID1 member arrays and delete the dummy RAID0 array with the following commands: |
| 45 | ++ |
| 46 | +[source,terminal] |
| 47 | +---- |
| 48 | +$ mdadm -S /dev/md/dummy \ |
| 49 | + mdadm -S /dev/md/coreos \ |
| 50 | + mdadm --kill-subarray=0 /dev/md/imsm0 |
| 51 | +---- |
| 52 | + |
| 53 | +.. Restart the RAID1 arrays by running the following command: |
| 54 | ++ |
| 55 | +[source,terminal] |
| 56 | +---- |
| 57 | +$ mdadm -A /dev/md/coreos /dev/md/imsm0 |
| 58 | +---- |
| 59 | + |
| 60 | +. Install {op-system} on the RAID1 device: |
| 61 | + |
| 62 | +.. Get the UUID of the IMSM container by running the following command: |
| 63 | ++ |
| 64 | +[source,terminal] |
| 65 | +---- |
| 66 | +$ mdadm --details --export /dev/md/imsm0 |
| 67 | +---- |
| 68 | + |
| 69 | +.. Install {op-system} and include the `rd.md.uuid` kernel argument by running the following command: |
| 70 | ++ |
| 71 | +[source,terminal] |
| 72 | +---- |
| 73 | +$ coreos-installer install /dev/md/coreos \ |
| 74 | + --append-karg rd.md.uuid=<md_UUID> <1> |
| 75 | + ... |
| 76 | +---- |
| 77 | +<1> The UUID of the IMSM container. |
| 78 | ++ |
| 79 | +Include any additional `coreos-installer` arguments you need to install {op-system}. |
0 commit comments