[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: raid/mdadm help



On Wed, 25 Jun 2014 06:43:01 -0400
"Rodney D. Myers" <rod_myers@fastmail.fm> wrote:

> I've made sure the 500G drive is the first in the external box. And
> excluded it in the array.
> 
> I've started creating a new array using the following;
> 
> /sbin/mdadm --create --verbose /dev/md0 --level=5
> --raid-devices=3  /dev/sdc1 /dev/sdd1 /dev/sde1 mdadm: layout defaults
> to left-symmetric mdadm: layout defaults to left-symmetric
> mdadm: chunk size defaults to 512K
> mdadm: size set to 976630272K
> mdadm: automatically enabling write-intent bitmap on large array
> mdadm: Defaulting to version 1.2 metadata
> mdadm: array /dev/md0 started.
> 
> and formatted to ext4;
> 
> mkfs.ext4 /dev/md0
> mke2fs 1.42.10 (18-May-2014)
> Creating filesystem with 488315136 4k blocks and 122085376 inodes
> Filesystem UUID: f676c6bd-bcb4-4ccc-b2c4-77c7a1aff44c
> Superblock backups stored on blocks: 
> 	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
> 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616,
> 78675968, 102400000, 214990848
> 
> Allocating group tables: done                            
> Writing inode tables: done                            
> Creating journal (32768 blocks): done
> Writing superblocks and filesystem accounting information: done  
> 
> I'm hoping to simplify the setup by removing the smaller driver
> 

Well 2 hours later, failed;

 /sbin/mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Wed Jun 25 06:37:06 2014
     Raid Level : raid5
     Array Size : 1953260544 (1862.77 GiB 2000.14 GB)
  Used Dev Size : 976630272 (931.39 GiB 1000.07 GB)
   Raid Devices : 3
  Total Devices : 3
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Wed Jun 25 08:04:45 2014
          State : active, FAILED 
 Active Devices : 0
 Failed Devices : 3
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 512K

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       2       0        0        2      removed
       4       0        0        4      removed

       0       8       33        -      faulty   /dev/sdc1
       1       8       49        -      faulty   /dev/sdd1
       3       8       65        -      faulty   /dev/sde1


cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] 
md0 : active raid5 sde1[3](F) sdd1[1](F) sdc1[0](F)
      1953260544 blocks super 1.2 level 5, 512k chunk, algorithm 2
[3/0] [___] bitmap: 0/8 pages [0KB], 65536KB chunk

unused devices: <none>

-- 
Rodney D. Myers <rod_dmyers@fastmail.fm>

They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety.
        Ben Franklin - 1759

Attachment: signature.asc
Description: PGP signature


Reply to: