On Mon, 23 Jun 2014 13:05:08 -0600
Bob Proulx <b...@proulx.com> wrote:

> Rodney D. Myers wrote:
> > Linux-Fan wrote:  
> > > Rodney D. Myers wrote:  
> > > > Is there a debian specific mail list or online forum to get some
> > > > help for a newbie setting up a raid storage device?
> > > > 
> > > > I can find plenty of tips to get started, but things are not
> > > > doing the exact thing(s) the online guides are showing.  
> 
> It is all about using Debian so this mailing list is good.  Lots of us
> are using raid.
> 
> > > Also, if you manually want to create a RAID 1 of two partitions
> > > use
> > > 
> > >   # mdadm --create /dev/md0 --level=1 --raid-devices=2 \
> > >                                           /dev/sda1 /dev/sdb1  
> > 
> > Not attempting to install on a raid, but create a raid for storage  
> 
> Linux-Fan's suggestion is a good one.  If you are not using it for the
> system then it is easier to get experience building raid yourself as
> in the above example.  François's suggestions were good too.

okay I have a 4 drive bay, and I did this (similar to the above)

 /sbin/mdadm --create --verbose /dev/md0 --level=5
 --raid-devices=4 /dev/sdb1 /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: /dev/sdb1 appears to contain an ext2fs file system
       size=976760832K  mtime=Wed Dec 31 19:00:00 1969
mdadm: /dev/sdc1 appears to contain an ext2fs file system
       size=976762580K  mtime=Wed Dec 31 19:00:00 1969
mdadm: /dev/sdc1 appears to be part of a raid array:
       level=raid5 devices=3 ctime=Mon Jun 23 06:55:12 2014
mdadm: /dev/sdd1 appears to contain an ext2fs file system
       size=976760832K  mtime=Mon Jun 23 16:54:04 2014
mdadm: /dev/sde1 appears to contain an ext2fs file system
       size=488385560K  mtime=Wed Dec 31 19:00:00 1969
mdadm: /dev/sde1 appears to be part of a raid array:
       level=raid5 devices=3 ctime=Mon Jun 23 06:55:12 2014
mdadm: size set to 488254464K
mdadm: automatically enabling write-intent bitmap on large array
mdadm: largest drive (/dev/sdc1) exceeds size (488254464K) by more than
 1% Continue creating array? yes
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.


I let it run for a few hours and when I returned home I did the
following and found it stopped;

/sbin/mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Mon Jun 23 17:00:23 2014
     Raid Level : raid5
     Array Size : 1464763392 (1396.91 GiB 1499.92 GB)
  Used Dev Size : 488254464 (465.64 GiB 499.97 GB)
   Raid Devices : 4
  Total Devices : 4
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Mon Jun 23 20:09:45 2014
          State : active, FAILED 
 Active Devices : 0
 Failed Devices : 4
  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
       6       0        0        6      removed

       0       8       17        -      faulty   /dev/sdb1
       1       8       33        -      faulty   /dev/sdc1
       2       8       49        -      faulty   /dev/sdd1
       4       8       65        -      faulty   /dev/sde1


Not sure what's going on

-- 
Rodney D. Myers <rdmyers...@gmail.com>

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 via email to