LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-05-2015, 02:52 PM   #1
emailmarketer
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
Bad magic number in super-block while trying to open /dev/sdb


3 days ago my server hardrive crashed and i ticket hetzener to check hard drive and they told me hard drive should be replaced
but when i tried to run VPS which already worked well with Centos6.6 i got filesystem readonly errors and now i get Kernel Panic
i really need an expert to help me ,if anybody can help me , please send me pm on m.tokallo on Yahoo so i can provide ssh information to check problem
if anybody have experience same problem help me
 
Old 03-06-2015, 06:40 PM   #2
Mr.Russy
LQ Newbie
 
Registered: Sep 2010
Posts: 8

Rep: Reputation: 0
Have you tried running fsck? You could have bad sectors and this may help relocate them to good sectors and solve the problem (temporarily). You should consider replacing the drive if you are getting bad sectors or fsck finds errors, corrects them and then you see more errors later.
 
Old 05-15-2015, 11:16 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Are you getting in put output errors?
Does your machine boot to a black screen with white letters saying "Kernel panic not syncing attempted to kill init"?

When my HDD went south these were the kind of errors that I was getting.
Code:
[   28.561344] ata1: irq_stat 0x0c000000, interface fatal error
[   28.561347] ata1: SError: { RecovData UnrecovData Proto HostInt 10B8B BadCRC }
[   28.561350] ata1: hard resetting link
[   29.051044] ata1: softreset failed (device not ready)
[   29.051048] ata1: applying PMP SRST workaround and retrying
[   29.222849] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   29.222866] ata1: EH complete
[   29.222889] sd 0:0:0:0: [sda] Unhandled error code
[   29.222892] sd 0:0:0:0: [sda] 
[   29.222893] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   29.222895] sd 0:0:0:0: [sda] CDB:
[   29.222897] Read(10): 28 00 00 00 00 77 00 00 08 00
[   29.222905] end_request: I/O error, dev sda, sector 119
[   29.222908] Buffer I/O error on device sda1, logical block 28
[   29.222911] Buffer I/O error on device sda1, logical block 29
[   29.222913] Buffer I/O error on device sda1, logical block 30
[   29.222915] Buffer I/O error on device sda1, logical block 31
end_request: I/O error, dev sda, sector 119
end_request: I/O error, dev sda, sector 121
 end_request: I/O error, dev sda, sector 123
Run the dmesg command and post the output in code tags and someone can read through it to tell you what is going on.
 
Old 05-15-2015, 11:24 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
The smartctl command is good for checking the health of the HDD.
Run this command and post the output.

smartctl -a /dev/sda | less

https://wiki.archlinux.org/index.php/Kernel_Panics

http://superuser.com/questions/17119...f-a-hard-drive

Last edited by Ztcoracat; 05-15-2015 at 11:31 PM.
 
Old 05-15-2015, 11:52 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Signs of Hard Drive Failure-
http://electronics.howstuffworks.com...ard-drive2.htm

To find out if the RAM is bad you can run Memtest overnight.
http://www.memtest.org/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Always getting bad magic number in super-block Mountain Linux - Hardware 1 07-01-2010 12:05 PM
bad magic number to open super block Ritho Linux - Newbie 1 03-06-2008 08:02 AM
Bad magic number in super-block Cadmium Linux - Newbie 2 10-03-2007 01:50 AM
Bad magic number in super-block while trying to open /dev/hda6 Daddyfix Linux - Hardware 1 11-20-2006 10:05 PM
Bad magic number in super-block kubokubik Linux - Newbie 4 01-26-2005 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration