Solved

Bad magic number in super-block

Posted on 2013-05-22
7
461 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
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…
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.

840 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