linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Starting RAID 5
@ 2009-05-15  2:15 Leslie Rhorer
  2009-05-15  2:34 ` NeilBrown
  0 siblings, 1 reply; 8+ messages in thread
From: Leslie Rhorer @ 2009-05-15  2:15 UTC (permalink / raw)
  To: 'Linux RAID'


OK, I've torn down the LVM backup arraqy and am rebuilding it as a RAID 5.
I've had problems with this before, and I'm having them, again.  I created
the array with:

mdadm --create /dev/md0 --raid-devices=7 --metadata=1.2 --chunk=256
--level=5 /dev/sd[a-g]

whereupon it creates the array and then immediately removes /dev/sdg and
makes it a spare.  I think I may have read where this is normal behavior.
Mdadm reports:

Backup:/# mdadm -Dt /dev/md0
/dev/md0:
        Version : 01.02
  Creation Time : Thu May 14 21:08:39 2009
     Raid Level : raid5
     Array Size : 8790830592 (8383.59 GiB 9001.81 GB)
  Used Dev Size : 2930276864 (2794.53 GiB 3000.60 GB)
   Raid Devices : 7
  Total Devices : 7
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu May 14 21:08:39 2009
          State : clean, degraded
 Active Devices : 6
Working Devices : 7
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 256K

           Name : Backup:0  (local to host Backup)
           UUID : 7014c2f4:04c56e86:b453d0be:9c49d0e2
         Events : 0

    Number   Major   Minor   RaidDevice State
       0       8        0        0      active sync   /dev/sda
       1       8       16        1      active sync   /dev/sdb
       2       8       32        2      active sync   /dev/sdc
       3       8       48        3      active sync   /dev/sdd
       4       8       64        4      active sync   /dev/sde
       5       8       80        5      active sync   /dev/sdf
       6       0        0        6      removed

       7       8       96        -      spare   /dev/sdg

I can't get it to do an initial resync or promote the spare, however.  What
do I do?


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-21 18:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15  2:15 Starting RAID 5 Leslie Rhorer
2009-05-15  2:34 ` NeilBrown
2009-05-15  3:58   ` Leslie Rhorer
2009-05-18 15:13   ` Bill Davidsen
2009-05-18 21:36     ` NeilBrown
2009-05-20 19:45       ` Bill Davidsen
2009-05-20 22:28         ` Neil Brown
2009-05-21 18:27           ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).