Howto mdadm » Historie » Version 1
Jeremias Keihsler, 17.09.2024 10:52
1 | 1 | Jeremias Keihsler | h1. Howto mdadm |
---|---|---|---|
2 | |||
3 | lsblk is your best friend |
||
4 | |||
5 | <pre><code class="shell"> |
||
6 | lsblk |
||
7 | </code></pre> |
||
8 | |||
9 | we are going to use partitions as base for the raid |
||
10 | |||
11 | h2. create Linux RAID partitions |
||
12 | |||
13 | <pre><code class="shell"> |
||
14 | fdisk /dev/nvme0n1 |
||
15 | </code></pre> |
||
16 | |||
17 | h3. create new GPT disklabel |
||
18 | |||
19 | <pre> |
||
20 | g |
||
21 | </pre> |
||
22 | |||
23 | h3. create new partion |
||
24 | |||
25 | <pre> |
||
26 | n |
||
27 | </pre> |
||
28 | |||
29 | h3. change type to Linux RAID |
||
30 | |||
31 | <pre> |
||
32 | t |
||
33 | </pre> |
||
34 | |||
35 | <pre> |
||
36 | 29 |
||
37 | </pre> |
||
38 | |||
39 | repeat for all drives e.g. @/dev/nvme0n1@ and @/dev/nvme1n1@ |