LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-03-2013, 12:52 PM   #16
felixgonschorek
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Thanks


Same here - topic is still "hot" :-)

Thanks for helping out
 
Old 02-26-2014, 02:30 PM   #17
elcattivo
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
Use the --force, admin

Hi!

Today I ran in the same problem, but it presented a bit different.
My /proc/mdstat looked like this:

Code:
# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] 
md0 : inactive sdc[4] sdd1[3] sdb[5]
      5860538097 blocks super 1.2
       
unused devices: <none>
And i was unable to remove/fail the device specified in the "non-fresh" line.

So I had to manually assemble the raid with:

mdadm --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd1 /dev/sde --force

I tried it without --force a few times but it didn't work.
With --force it assembled the array and my /proc/mdstat looked like this:
Code:
 more /proc/mdstat
Personalities : [raid6] [raid5] [raid4] 
md0 : active (auto-read-only) raid6 sdc[4] sdd1[3] sdb[5]
      3907020800 blocks super 1.2 level 6, 512k chunk, algorithm 2 [4/3] [_UUU]
      
unused devices: <none>
Also mdadm --detail /dev/md0 showed, that /dev/sde was already removed (?).
Code:
mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Fri Jun 24 19:29:50 2011
     Raid Level : raid6
     Array Size : 3907020800 (3726.03 GiB 4000.79 GB)
  Used Dev Size : 1953510400 (1863.01 GiB 2000.39 GB)
   Raid Devices : 4
  Total Devices : 3
    Persistence : Superblock is persistent

    Update Time : Mon Feb 24 03:27:03 2014
          State : clean, degraded
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 512K

           Name : sarah:0  (local to host sarah)
           UUID : 1a148a7f:4d6a55ca:86bdec2e:c2b06689
         Events : 229601

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       4       8       32        1      active sync   /dev/sdc
       5       8       16        2      active sync   /dev/sdb
       3       8       49        3      active sync   /dev/sdd1
Then I was able to add /dev/sde again and now it's rebuilding.

Code:
# more /proc/mdstat
Personalities : [raid6] [raid5] [raid4] 
md0 : active raid6 sde[6] sdc[4] sdd1[3] sdb[5]
      3907020800 blocks super 1.2 level 6, 512k chunk, algorithm 2 [4/3] [_UUU]
      [>....................]  recovery =  0.7% (14500864/1953510400) finish=1815.8min speed=17796K/sec
      
unused devices: <none>
 
  


Reply

Tags
mdadm, raid, raid1, sync


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Router keeps kicking me off... Akiva Linux - Networking 7 07-06-2005 10:28 PM
md: kicking non-fresh hde2 from array! baslemmens Linux - Software 1 09-29-2004 04:03 PM
Kicking Users coindood Linux - General 2 03-10-2004 08:25 AM
fresh install (fresh headache) powadha Slackware 2 03-06-2004 01:03 PM
How to Kicking Gnome off? elluva Debian 1 01-18-2004 10:23 AM


All times are GMT -5. The time now is 05:42 AM.

Main Menu
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