Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Boot with Ubuntu Live USB and use Gparted to partition the new disk that will replace the faulty one.
- # Reboot and wait until (initramfs) shell.
- # In (initramfs) shell:
- mdadm --detail --scan
- mdadm --stop /dev/md0
- mdadm --stop /dev/md1
- mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1
- mdadm --assemble /dev/md1 /dev/sda2 /dev/sdb2
- mdadm --examine /dev/sda
- mdadm --examine /dev/sdb
- mdadm --examine /dev/sda1
- mdadm --examine /dev/sdb1
- mdadm --examine /dev/sda2
- mdadm --examine /dev/sdb2
- mdadm --detail --scan
- cat /proc/mdstat
- mdadm --assemble --scan
- mdadm --detail --scan
- cat /proc/mdstat
- mdadm -a /dev/md0 /dev/sda1
- mdadm -a /dev/md1 /dev/sda2
- # After recovery finish, check the RAID details using the below commands:
- cat /proc/mdstat
- mdadm -D /dev/md0
- mdadm -D /dev/md1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement