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

Re: raid/mdadm help



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 24/06/2014 03:00, Rodney D. Myers a écrit :
> On Mon, 23 Jun 2014 13:05:08 -0600 Bob Proulx <bob@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.

How did you create your partitions on these disks?

Every partition should have the same size if you want to put them in
an array.



- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlOpLHwACgkQdE6C2dhV2JXKwwCgre2SJXaTjLXsEkaG4hOjYlmw
U+IAn25ajnKJb1g8BSNA1UTItN23gyEf
=6c4K
-----END PGP SIGNATURE-----


Reply to: