The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > SuSE
.
google unix.com



SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Re-using disks Chains SUN Solaris 4 09-16-2008 05:56 AM
file marked unretrievable arielgoldberg UNIX for Dummies Questions & Answers 2 04-01-2008 09:53 AM
SCSI disk spare sectors rednex Filesystems, Disks and Memory 6 12-30-2007 04:31 AM
Disks on AIX piooooter UNIX for Dummies Questions & Answers 2 03-07-2006 05:20 AM
Vfstab on spare disk - HOW ? Mount ? DGoubine UNIX for Dummies Questions & Answers 3 02-22-2005 10:06 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-10-2009
xavix xavix is offline
Registered User
  
 

Join Date: Feb 2009
Location: Barcelona, Spain
Posts: 7
SLES11 - RAID6 all disks marked as Spare

Hello,

After a replacement of the motherboard of my server, all disks belonging to a raid6 are now marked as spare.

Is there any way to mark those disks as active and restore the raid6?

Code:
$ cat /proc/mdstat 
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] 
md1 : inactive sda1[1](S) sdk1[11](S) sdj1[10](S) sdi1[9](S) sdh1[8](S) sdg1[7](S) sdf1[6](S) sde1[5](S) sdd1[4](S) sdc1[3](S) sdb1[2](S)
      10744359296 blocks
       
md0 : active raid1 sdm1[0] sdn1[1]
      2096384 blocks [2/2] [UU]
      
md2 : active raid1 sdm3[0] sdn3[1]
      104864192 blocks [2/2] [UU]
      
unused devices: <none>
All disks show the same info:
Code:
$ mdadm -E /dev/sdb1 
/dev/sdb1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : d293389b:7b11f66f:33b8bc9f:5417f8db
  Creation Time : Tue Dec  9 20:52:05 2008
     Raid Level : raid6
  Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
     Array Size : 9767599360 (9315.11 GiB 10002.02 GB)
   Raid Devices : 12
  Total Devices : 12
Preferred Minor : 1

    Update Time : Wed Jun  3 09:34:06 2009
          State : active
Active Devices : 12
Working Devices : 12
Failed Devices : 0
  Spare Devices : 0
       Checksum : 4c480fd3 - correct
         Events : 505329

     Chunk Size : 128K

      Number   Major   Minor   RaidDevice State
this     1       8       17        1      active sync   /dev/sdb1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync   /dev/sdb1
   2     2       8       33        2      active sync   /dev/sdc1
   3     3       8       49        3      active sync   /dev/sdd1
   4     4       8       65        4      active sync   /dev/sde1
   5     5       8       81        5      active sync   /dev/sdf1
   6     6       8       97        6      active sync   /dev/sdg1
   7     7       8      113        7      active sync   /dev/sdh1
   8     8       8      129        8      active sync   /dev/sdi1
   9     9       8      145        9      active sync   /dev/sdj1
  10    10       8      161       10      active sync   /dev/sdk1
  11    11       8      177       11      active sync   /dev/sdl1
UUID of all disks are the same as in mdadm.conf
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0