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

  1. In the Grub Boot Maske press "Escape" (Once!)
  2. Key "E" for Edit (1. offered kernel)
  3. 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
  4. Boot by pressing key "B"
  5. At Root Prompt enter PATH=$PATH:/sbin:/usr/sbin
  6. fsck.ext4 -f -y /dev/sda1
  7. fsck.ext4 -f -y /dev/sda3
  8. mdadm --assemble /dev/md0
  9. fsck.ext -f -y /dev/md0
  10. Reboot by pressing CTRL-Alt-Del (reboot or shutdown don't work!)