LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-31-2016, 02:32 PM   #1
ghughes5669
LQ Newbie
 
Registered: Oct 2012
Posts: 23

Rep: Reputation: Disabled
Question Invalid RAID superblock magic on a partition not in a RAID


Good afternoon, all!

Ran across an interesting message that flashed across one of my servers:
md: invalid raid superblock magic on sdb1

Interesting because sdb1 is not a part of a RAID.

My setup is to have mirrored disks, with sda1 and sdb1 the boot partitions - not mirrored, and sda2/sdb2 as root and sda3 and sdb3 as swap.

If there's an invalid superblock magic on a partition not managed by mdadm, what might md be complaining about?

Thanks to all for looking!

Gregg
 
Old 03-31-2016, 03:42 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
If the partition type is 0xfd (Linux raid auto) then the kernel is going to try to build a RAID array using it.
 
Old 03-31-2016, 03:59 PM   #3
ghughes5669
LQ Newbie
 
Registered: Oct 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
Smile RE: Invalid RAID superblock magic on a partition not in a RAID

Hello, RK!

I checked and that is indeed the case. I have absolutely no idea where that system came from.

A couple of follow-up questions arise: is there any mileage to be gained by fixing this? Second, fdisk shows both the sda1 and sdb1 partitions as bootable. Given that, is it worth the downtime to chase this down?

Thanks for the info!

Gregg
 
Old 03-31-2016, 04:34 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
The "active" (boot) flag is irrelevant to Linux boot loaders, though some BIOS variants won't consider a drive to be a boot candidate if there is no partition marked "active".

If you are not using /dev/sdb1 in a RAID array, just run "fdisk /dev/sdb" and change the type for partition 1 to something more suitable, perhaps "83" (Linux). Then you will no longer see that message when you boot.
 
  


Reply

Tags
md, mdadm, raid, superblock


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mdadm - invalid raid superblock magic czezz Linux - Server 3 11-25-2012 06:36 AM
Soft RAID1 problems (invalid raid superblock magic) toshko3 Linux - Server 3 08-28-2008 11:29 PM
SATA RAID 0 errors on bootup -- invalid raid superblock vonst Slackware 3 07-04-2006 03:55 PM
RAID PROBLEM Invalid argument, bad superblock magic in messages.log ***SOLVED*** Berkut83 Linux - Hardware 3 03-29-2006 04:22 AM
RAID PROBLEM Invalid argument, bad superblock magic in messages.log ***SOLVED*** Berkut83 LinuxQuestions.org Member Success Stories 0 03-29-2006 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration