Solved

Bad magic number in super-block

Posted on 2013-05-22
7
452 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
  • 4
  • 3
7 Comments
 
LVL 47

Accepted Solution

by:
dlethe 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:dlethe
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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:dlethe
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now