Solved

Bad magic number in super-block

Posted on 2013-05-22
7
466 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 500 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
Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

705 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