Hadoop Disk Repair Guide: Difference between revisions
From Lsdf
Jump to navigationJump to search
(Quick and dirty disk revival howto) |
No edit summary |
||
Line 8: | Line 8: | ||
# mdadm --assemble /dev/md0 |
# mdadm --assemble /dev/md0 |
||
# fsck.ext -f -y /dev/md0 |
# fsck.ext -f -y /dev/md0 |
||
# Reboot by pressing CTRL-Alt-Del (reboot or shutdown |
# Reboot by pressing CTRL-Alt-Del (reboot or shutdown don't work!) |
||
don't work!) |
Latest revision as of 12:07, 21 November 2014
- In the Grub Boot Maske press "Escape" (Once!)
- Key "E" for Edit (1. offered kernel)
- Move down one line, key word kernel, again "E" for Edit, at the end of the line enter kernel parameter init=/bin/sh, press Return to conclude Edit operation
- Boot by pressing key "B"
- At Root Prompt enter PATH=$PATH:/sbin:/usr/sbin
- fsck.ext4 -f -y /dev/sda1
- fsck.ext4 -f -y /dev/sda3
- mdadm --assemble /dev/md0
- fsck.ext -f -y /dev/md0
- Reboot by pressing CTRL-Alt-Del (reboot or shutdown don't work!)