LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2012, 01:41 PM   #1
andrew.durnez
LQ Newbie
 
Registered: Apr 2012
Location: Ghent
Distribution: Debian & Gentoo
Posts: 4

Rep: Reputation: Disabled
Angry MDADM gives weird results


If i type : mdadm --detail /dev/md0
Then i'll get:
----------------------------------------
/dev/md0:
Version : 1.2
Creation Time : Tue May 24 20:47:56 2011
Raid Level : raid1
Array Size : 96244 (94.00 MiB 98.55 MB)
Used Dev Size : 96244 (94.00 MiB 98.55 MB)
Raid Devices : 3
Total Devices : 2
Persistence : Superblock is persistent

Update Time : Sat Apr 14 17:29:49 2012
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : zeus:0
UUID : d76edb30:3e9ff595:2a0a18dd:24931800
Events : 1744

Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 0 0 2 removed
----------------------------------------
/proc/mdstat file:

Personalities : [raid1]
md2 : active raid1 sda3[0] sdb3[1]
241169272 blocks super 1.2 [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
3905524 blocks super 1.2 [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
96244 blocks super 1.2 [3/2] [UU_]

----------------------------------------
How can I make the "degraded" status to become normal "clean"?

Thnx in advance!
 
Old 04-16-2012, 02:51 PM   #2
technosapien
LQ Newbie
 
Registered: May 2008
Posts: 9

Rep: Reputation: 0
Hello,

It looks like your md0 is expecting 3 discs, and is degraded because one is missing. Weird since it's specified raid1. Might check your mdadm.conf file to see if the array is specified incorrectly. Otherwise might need to stop the array, recreate it, then reassemble it to see if that helps.

Just a few thoughts, good luck.
 
  


Reply

Tags
mdadm



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
MDADM gives weird results andrew.durnez Linux - Newbie 5 04-16-2012 08:04 AM
Weird problem with software raid-5 mdadm NewAgeRetroHippie Linux - Server 3 02-21-2011 08:13 AM
Weird behaviour of mdadm/software RAID5 robbe751 Linux - Software 2 02-03-2007 10:32 PM
Weird behaviour of mdadm/software RAID5 robbe751 Linux - Hardware 2 02-03-2007 01:55 AM
Weird results with netstat nekromancer Linux - Networking 3 02-17-2004 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:19 AM.

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