Thursday, 25 April 2019

How to resolve fsck died with exit status error of EC2 by Raj Gupta

If our EC2 server are giving error




Cleaning up ifupdown.... Loading kernel modules...done. ... Activating lvm and md swap...done. Checking file systems...fsck from util-linux-ng 2.16.2 /sbin/fsck.xfs: /dev/sdh does not exist
fsck died with exit status 8
[31mfailed (code 8).[39;49m


Root caused:-


  • Ramdisk looking for missing drive 
  • Filesystem consistency check forced 
  • Drive failed or detached 

Solution:- 

A.  If server is Amazon EBS-backed:-

Try one or more of the following to resolve the issue: 

• Stop the instance, attach the volume to an existing running instance. 
• Manually run consistency checks. 
• Fix ramdisk to include relevant utilities. 
• Modify filesystem tuning parameters to remove consistency requirements (not recommended).

B. If server is Instance store-backed:-

Try one or more of the following to resolve the issue: 

• Rebundle ramdisk with correct tooling. 
• Modify file system tuning parameters to remove consistency requirements (not recommended). 
• Terminate the instance and launch a new instance. 
• (Optional) Seek technical assistance for data recovery using AWS Support. 

1 comment:

  1. Hello everyone , here’s your opportunity for you to achieve your dreams of being a multi million dollar rich through trading , I once loss all I got through trading but was fortunate to come across a woman with great virtue and selfless heart (Mary ) i was introduce to her masterclass strategy while searching online which has revived me of all my losses and made me gain more and more . With her unique strategy you are entitled to daily signals and instant withdraw ,be rest assured of getting a refund of all your loss investment with any platform that has denied you in one way or the other in getting your money . Mrs Mary masterclass strategy is simply the best for beginners and those that are finding it difficult to succeed through trading she’ll help you with just a simple step . Email her ( maryshea03 @ Gmail .com) WhatsApp +1 562 384 7738 . Remember this is absolutely free!!!

    ReplyDelete