Skip to content

Instantly share code, notes, and snippets.

@ZiTAL ZiTAL/raid.sh
Created Apr 26, 2019

Embed
What would you like to do?
RAID
#!/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
You can’t perform that action at this time.