LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-06-2013, 10:59 PM   #1
haloway13
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Rep: Reputation: Disabled
Help Raid1 degraded


The partition in question that is degraded happens to be the \home directory. How do I go about fixing this? Do I need to do it before booting all the way?

Part of what might be the issue is that I think I successfully moved to the right the /home partition, then created a fat32 partition about 100GB in size for an installation of XP. I have had some trouble getting the drivers to load and have messed with the partition using gparted and disk utility, at some point I think I messed it up.

Thank you,
Tim

$ cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sdb2[1]
461033280 blocks [2/1] [_U]

md2 : active raid1 sda4[0] sdb3[1]
7815552 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
19534912 blocks [2/2] [UU]

unused devices: <none>

$ sudo mdadm --detail /dev/md1
/dev/md1:
Version : 0.90
Creation Time : Fri Sep 12 22:33:20 2008
Raid Level : raid1
Array Size : 461033280 (439.68 GiB 472.10 GB)
Used Dev Size : 461033280 (439.68 GiB 472.10 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 1
Persistence : Superblock is persistent

Update Time : Sat Jul 6 20:43:24 2013
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0

UUID : 53c4f824:161f553d:f047131b:7f6e84c6
Events : 0.58

Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 18 1 active sync /dev/sdb2
$
 
Old 07-06-2013, 11:05 PM   #2
haloway13
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
I might have already answered my own question:

$ sudo mdadm --monitor /dev/md1
mdadm: Monitor using email address "root" from config file
mdadm: Warning: One autorebuild process already running.
 
Old 07-06-2013, 11:52 PM   #3
haloway13
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
So it turns out that when I messed with the partition I messed with the /dev/sda2 and moved it right instead of the array.

I recreated a primary partition as it should have been and then re-added it to the md1 array. Originally (1,2,3) partitions. Messed up(1,2,3,4). removed 2 and 3, created a peimary partition, added it to the array, it did take a several reboots...

Now I have:

sudo mdadm --detail /dev/md1

/dev/md1:
Version : 0.90
Creation Time : Fri Sep 12 22:33:20 2008
Raid Level : raid1
Array Size : 461033280 (439.68 GiB 472.10 GB)
Used Dev Size : 461033280 (439.68 GiB 472.10 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent

Update Time : Sat Jul 6 21:44:37 2013
State : clean, degraded, recovering
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1

Rebuild Status : 2% complete

UUID : 53c4f824:161f553d:f047131b:7f6e84c6
Events : 0.202

Number Major Minor RaidDevice State
2 8 2 0 spare rebuilding /dev/sda2
1 8 18 1 active sync /dev/sdb2
 
  


Reply


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
Help with degraded RAID1 jimjxr Linux - Server 3 03-26-2013 12:44 PM
Raid1 degraded after reboot crazy4nix Linux - Software 1 12-01-2011 01:06 PM
Install CentOS V5.6 onto pre-degraded RAID1 + LVM? goony1 Linux - Software 0 06-11-2011 02:06 AM
raid1 degraded after every boot personalsoft_fabiano Linux - Server 4 01-17-2009 05:19 AM
Degraded raid1 array problem on slack 12.0.0 / mdadm slack-12.0.0 Slackware 5 10-12-2007 07:36 AM


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