Solved

Bad magic number in super-block

Posted on 2013-05-22
7
464 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:
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dell Latitude 6 Series 5 66
postfix start error! 9 80
Understanding ping command in Ubuntu 5 58
VMware machine is not booting 6 112
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
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…

733 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