Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Bad magic number in super-block

Posted on 2013-05-22
7
Medium Priority
?
475 Views
Last Modified: 2016-11-23
I just added 3 Hard Drives to my server and put them in a raid 5 config. I set this in the bios ubder the Dell perc 6i raid controller. When I reboot the server and Linux tries to to load, I get "Bad magic number in super-block". All I diid was add new hard drives. Is there something else I should be doing?

When I reboot and delete the Logical Volume from the bios, Linux boots right up.

There also is a fiber connetcted external drive as well that I did not touch/modify. I'm using Linux Red Hat4
0
Comment
Question by:mossmis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 47

Accepted Solution

by:
David earned 2000 total points
ID: 39189174
Looks like the device names got moved around.   Most likely now instead of booting to /dev/sda on the PERC and mounting a file system on /dev/sdb that was on the fibre, then /dev/sdb is now the other PERC LUN, and /dev/sdc is now on the fibre.

Check all the device names  & paths, and make adjustments.
0
 

Author Comment

by:mossmis
ID: 39189205
I'm not too Linux Saavy. Can you send some commands I can run to do this? Thank you.
0
 
LVL 47

Expert Comment

by:David
ID: 39189262
difficult to walk you through this, especially as it is dependent on the flavor of LINUX, and we have not yet determined with certainty that this is root cause .. it is merely that the symptoms are consistent with this scenario.

You might look at this, which is specific to RedHat to give you a sense of what happens and how to address it.   Maybe you can do a web search and put in whatever flavor of linux you have as part of the search field and find a better document.

http://thomasvogt.wordpress.com/2011/12/21/linux-repair-bootloader-change-boot-device-path/

(But no matter what, highly likely you will need to make a bootable USB stick or bootable DVD with same version of LINUX so you can boot to that and make repairs, so I would get started on that now)
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

Author Comment

by:mossmis
ID: 39190782
I confirmed  that the new drive is taking the same name as the external. Seeing that none of these drives are my boot drive, couldn't I just make changes within Linux when it boots?

I found that I could rename drives as well. Then I need to update the fstab and grug.conf. Is this something I could do safely to my external storage?
0
 
LVL 47

Expert Comment

by:David
ID: 39190794
yes, you can do this safely by editing the fstab, grub.conf, and so on...
0
 

Author Comment

by:mossmis
ID: 39191054
Below is a screen of what I have before adding the new drive.
When the new drive is added I see an additional parition of /dev/sdc assigned, which is the old sdb.

if I update the fstab and grub.conf to update the old sdb entires to sdc, would that work?



Partition Layout
0
 

Author Comment

by:mossmis
ID: 39191574
I took a stab at it and all I needed to do is to change the fstab to look at sdc (I assumed that is what the Linux OS was going to assign my external storage). My mount point is showing correctly. Thank you for pointing me in the right direction.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question