l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2005 Apr 19 09:32

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Re: mdadm failing to start RAID5 array [RESOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Re: mdadm failing to start RAID5 array [RESOLVED]



On Sunday 17 April 2005 11:35 am, Ryan Castellucci 
cjg5ehir02-at-sneakemail.com |lugod| wrote:
> On Sunday 17 April 2005 11:26 am, Ryan Castellucci wrote:
> > I'm trying to use RAID5 with 4 200gb SATA drives on mandrake 10.1, and
> > the array creates fine, but when I try to restart it, i get 'invalid
> > argument' errors from mdadm, adding devices to /dev/md0
> >
> > [root@media root]# cat /etc/mdadm.conf
> > DEVICE /dev/sd*1
> > ARRAY /dev/md0 level=raid5 num-devices=4
> > UUID=d9008623:c81eff0d:a8fc1629:4223b0b6
> > devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1
> >
> > [root@media root]# mdadm -v --assemble /dev/md0
> > mdadm: looking for devices for /dev/md0
> > mdadm: /dev/sdd1 is identified as a member of /dev/md0, slot 4.
> > mdadm: /dev/sdc1 is identified as a member of /dev/md0, slot 2.
> > mdadm: /dev/sdb1 is identified as a member of /dev/md0, slot 1.
> > mdadm: /dev/sda1 is identified as a member of /dev/md0, slot 0.
> > mdadm: failed to add /dev/sdb1 to /dev/md0: Invalid argument
> > mdadm: failed to add /dev/sdc1 to /dev/md0: Invalid argument
> > mdadm: no uptodate device for slot 3 of /dev/md0
> > mdadm: failed to add /dev/sdd1 to /dev/md0: Invalid argument
> > mdadm: failed to add /dev/sda1 to /dev/md0: Invalid argument
> > mdadm: /dev/md0 assembled from 1 drive and -1 spares - not enough to
> > start the array.
>
> output from dmesg....
>
> md: invalid superblock checksum on sdb1
> md: sdb1 has invalid sb, not importing!
> md: md_import_device returned -22
> md: invalid superblock checksum on sdc1
> md: sdc1 has invalid sb, not importing!
> md: md_import_device returned -22
> md: invalid superblock checksum on sdd1
> md: sdd1 has invalid sb, not importing!
> md: md_import_device returned -22
> md: invalid superblock checksum on sda1
> md: sda1 has invalid sb, not importing!
> md: md_import_device returned -22
> md: md0 stopped.

Fixed :)

I ran

mdadm --assemble --update summaries /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 
/dev/sdd1

and now it works fine.

-- 
Ryan Castellucci - http://ryanc.org/
GPG Key: http://ryanc.org/files/publickey.asc
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!