Created
April 26, 2019 18:02
-
-
Save ZiTAL/f6157f54aa869d6ef78bf00e9f7abf5a to your computer and use it in GitHub Desktop.
RAID
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
#!/bin/bash | |
# RAID-a /dev/sda2 /dev/sdb eta /dev/sdc-gaz okindxotez, baie /dev/sdc jodidu eindxe, konponduteko, RAID-e gelditsu, eta ondo dauzen diskuekaz montatie ezan da "trukue" | |
# eskerrak: https://serverfault.com/a/708464/143613 | |
mdadm -Esv | |
mdadm --stop /dev/md* | |
mdadm --verbose --assemble --force /dev/md0 /dev/sda2 /dev/sdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment