mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* buildin a RAID5 md vith 6 drives
@ 2004-09-03  0:54 J.A. Magallon
  2004-09-03  3:44 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: J.A. Magallon @ 2004-09-03  0:54 UTC (permalink / raw)
  To: Lista Linux-Kernel

Hi all...

I tried to build a RAID5 array with 6 drivres, just with:


mdadm --create --verbose --run \
        /dev/md0 --level=5 --chunk=256 \
        --raid-devices=6 \
        /dev/sda1 /dev/sdb1 /dev/sdc1 \
        /dev/sdd1 /dev/sde1 /dev/sdf1

And the raid looks in an strange state:

nada:~# mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.01
  Creation Time : Fri Sep  3 02:17:28 2004
     Raid Level : raid5
     Array Size : 1225557760 (1168.78 GiB 1254.97 GB)
    Device Size : 245111552 (233.76 GiB 250.99 GB)
   Raid Devices : 6
  Total Devices : 6
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Fri Sep  3 02:42:32 2004
          State : clean, degraded, recovering
 Active Devices : 5
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 256K

 Rebuild Status : 8% complete

           UUID : fd6fcad0:21da140b:072a82b1:11b3db21
         Events : 0.30

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1
       2       8       33        2      active sync   /dev/sdc1
       3       8       49        3      active sync   /dev/sdd1
       4       8       65        4      active sync   /dev/sde1
       5       0        0        -      removed

       6       8       81        5      spare rebuilding   /dev/sdf1

Why does it think a drive has been removed, and the last drive is a spare ?
Isn't raid5 symmetric over all drives ?

TIA

--
J.A. Magallon <jamagallon()able!es>     \               Software is like sex:
werewolf!able!es                         \         It's better when it's free
Mandrakelinux release 10.1 (Beta 1) for i586
Linux 2.6.8.1-mm4 (gcc 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #8



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

end of thread, other threads:[~2004-09-03  3:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-03  0:54 buildin a RAID5 md vith 6 drives J.A. Magallon
2004-09-03  3:44 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®