Unix Technical Forum

RAID5 array, non-fresh drive?

This is a discussion on RAID5 array, non-fresh drive? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hey, I've got 4x400gb SATA drives and on each of them 4 partitions like this: /dev/sdx1 - 128mb for ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 01:56 PM
Miha Verlic
 
Posts: n/a
Default RAID5 array, non-fresh drive?

Hey,
I've got 4x400gb SATA drives and on each of them 4 partitions like this:
/dev/sdx1 - 128mb for RAID1 - /dev/md0
/dev/sdx2 - 1gb for SWAP
/dev/sdx3 - 40gb for / (RAID5) - /dev/md1
/dev/sdx4 - the rest for /extra (RAID5) - /dev/md2

Yesterday there was power failture and machine was restarted. Arrays
/dev/md0 and /dev/md1 were successfully resynced and are working OK,
however /dev/md2 array apparently cannot even be started.

I'm getting the following from mdadm:

[root@server:~]# mdadm --assemble --force /dev/md2 /dev/sda4 /dev/sdb4
/dev/sdc4 /dev/sdd4
mdadm: failed to RUN_ARRAY /dev/md2: Input/output error

[root@server:~]# dmesg
md: md2 stopped.
md: bind<sdb4>
md: bind<sdc4>
md: bind<sdd4>
md: bind<sda4>
md: kicking non-fresh sdd4 from array!
md: unbind<sdd4>
md: export_rdev(sdd4)
md: md2: raid array is not clean -- starting background reconstruction
raid5: device sda4 operational as raid disk 0
raid5: device sdc4 operational as raid disk 2
raid5: device sdb4 operational as raid disk 1
raid5: cannot start dirty degraded array for md2
RAID5 conf printout:
--- rd:4 wd:3 fd:1
disk 0, o:1, dev:sda4
disk 1, o:1, dev:sdb4
disk 2, o:1, dev:sdc4
raid5: failed to run raid set md2
md: pers->run() failed ...


Why is /dev/sdd4 suddenly marked as non-fresh? Is it possible to
rebuild/recover this array at all? None of the hard drives crashed and
are working OK.

--
Miha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 01:56 PM
Miha Verlic
 
Posts: n/a
Default Re: RAID5 array, non-fresh drive?

Miha Verlic wrote:
> Why is /dev/sdd4 suddenly marked as non-fresh? Is it possible to
> rebuild/recover this array at all? None of the hard drives crashed and
> are working OK.


Hm that's odd:

[root@server:~]# mdadm -E /dev/sda4 | grep Events
Events : 0.1895249
[root@server:~]# mdadm -E /dev/sdb4 | grep Events
Events : 0.1895249
[root@server:~]# mdadm -E /dev/sdc4 | grep Events
Events : 0.1895249
[root@server:~]# mdadm -E /dev/sdd4 | grep Events
Events : 0.1895231

Does anyone have any clue why Events number on /dev/sdd4 differs? And
shouldn't RAID5 array start with only 3 drives, even though in ditry mode?
--
Miha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com