LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-02-2012, 10:20 AM   #1
kingrolo
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
more RAID5 problems


I've just upgraded my server from ubuntu 11.10 to 12.04 and now have some problems with my RAID5 array (although I'm not sure that it has anything to do with the upgrade). Anyway the current problem seems quite basic...

all 5 drives from the array are reporting '-unknown-' raid level in mdadm.

Eg.


sudo mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 0e2ca632:cf0690b3:7ebcdc17:252d4f58
Name : Solaris:0 (local to host Solaris)
Creation Time : Sun Feb 26 15:19:43 2012
Raid Level : -unknown-
Raid Devices : 0

Avail Dev Size : 3907025072 (1863.01 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : active
Device UUID : bdab86d4:cefbf5a3:0c050646:e3b98074

Update Time : Wed May 2 13:31:08 2012
Checksum : e1a11b88 - correct
Events : 1


Device Role : spare
Array State : ('A' == active, '.' == missing)

I can't seem to find any info on the web about how to proceed from this condition.

Any ideas?
TIA,
Peter.
 
Old 05-03-2012, 07:43 AM   #2
Steviepower
Member
 
Registered: May 2010
Location: Eindhoven
Distribution: ubuntu/debian
Posts: 152

Rep: Reputation: 25
well does it really matters for a spare drive?
Are they all marked as spare cause it might be a problem with that and maybe you should put the array back together? I had to do this once after a failed upgrade from debian 5 to 6.
 
Old 05-03-2012, 08:39 AM   #3
kingrolo
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
ALL drives report this. I've tried reassembling the array, but it's not possible as the superblock is missing.
I've now tried the following in desperation...

sudo mdadm --create /dev/md0 --level=5 --raid-devices=5 /dev/sd[bcdef]1

... which I was very nervous about doing because I suppose it must modify the data on the disks in some way. Plus I don't know the chunk size or the build order as I can't get this from the drives and I don't remember what I used when the array was first built. I don't know how I got into this mess as I don't think there are any physical problems with the drives.

Anyway, the above took about 5hrs to complete. I then tried to mount it and it says there's a problem with the superblock on md0. The xfs filesystem seems totally corrupt and I'm reluctant to do much more through fear of making things worse.

What do you recommend trying next?
 
Old 05-04-2012, 02:52 AM   #4
Steviepower
Member
 
Registered: May 2010
Location: Eindhoven
Distribution: ubuntu/debian
Posts: 152

Rep: Reputation: 25
not really I'm afraid, maybe this is of any help:
http://forums.gentoo.org/viewtopic-t-716757.html
 
Old 05-04-2012, 06:59 AM   #5
kingrolo
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
mmm not really but thanks anyway.
I've run xfs_repair on the unmounted array and it spews out a ton of error messages and eventually fails...

Code:
corrupt dinode 4345, extent total = 1, nblocks = 0.  This is a bug.
Please capture the filesystem metadata with xfs_metadump and
report it to xfs@oss.sgi.com.
cache_node_purge: refcount was 1, not zero (node=0x7f80593d8fc0)

fatal error -- 117 - couldn't iget disconnected inode
the resulting array can be mounted but the contents are total garbage and it seems that i've lost my 6TB of data!!!
 
Old 05-07-2012, 08:16 AM   #6
Steviepower
Member
 
Registered: May 2010
Location: Eindhoven
Distribution: ubuntu/debian
Posts: 152

Rep: Reputation: 25
Quote:
I don't know the chunk size or the build order as I can't get this from the drives and I don't remember what I used when the array was first built.
maybe try this or I think you're just out of luck mate...
 
  


Reply

Tags
raid5


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
raid5 re-build problems scanray Linux - Server 9 05-02-2012 10:36 PM
RAID5 problems on Ubuntu donbabe Linux - Software 10 03-02-2012 05:15 PM
Problems with Raid5 performance Orangutanklaus Linux - Software 7 03-13-2011 04:10 AM
Multi Layer RAID50 fail (Intel SRCS14L RAID5 + 3ware 9550SX-4LP RAID5)+Linux RAID 0 BaronVonChickenPants Linux - Server 4 09-27-2009 05:06 AM
raid5 problems dwater Fedora 0 01-02-2005 09:45 AM


All times are GMT -5. The time now is 12:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration