Last active
September 2, 2024 16:06
-
-
Save Max95Cohen/ea23756e5fc5a2b6bf0fdc1a169c18df to your computer and use it in GitHub Desktop.
Create RAID from two disk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create the RAID: Use the command | |
```bash | |
sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc | |
``` | |
to create a RAID 1 with two disks. This combines two disks (/dev/sdb and /dev/sdc) | |
into a virtual device named "/dev/md0". | |
``` | |
sudo mdadm --remove /dev/md0 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment