LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-08-2013, 01:13 PM   #16
tunixman
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Rep: Reputation: Disabled

Well. It's definitely different geometry. And I think this means that the RAID system has moved the drives around in the RAID, so all of the stripe/parity information will be invalid. You've overridden the original slot information, so you may need to run create again, but with the drives specified in the right order and leaving slot 2 missing. But there's been quite a bit of creative troubleshooting here and we're rapidly leaving what I've done with mdadm, so I may not be able to do much except read man pages to you past this point.
 
Old 01-08-2013, 03:14 PM   #17
codemastermm
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Yup, that was my thought - having to recreate the array with everything in the exact same position as mdadm had them previously (which is why I was starting to think that the disk slot # was an issue).

I've so far tried creating a RAID5 device purposely degraded (as to leave disk 1 and 2 out and add them in as 4 and 5), but I am receiving a "RUN_ARRAY failed: Input/output error" which isn't too comforting. Here's what I ran:

Code:
sudo mdadm --create --assume-clean /dev/md2 --level=5 --raid-devices=4 missing /dev/sde3 missing /dev/sdg3
mdadm: /dev/sde3 appears to contain an ext2fs file system
    size=728756224K  mtime=Thu Jan  1 00:00:00 1970
mdadm: /dev/sde3 appears to be part of a raid array:
    level=raid5 devices=4 ctime=Tue Jan  8 19:07:39 2013
mdadm: /dev/sdg3 appears to be part of a raid array:
    level=raid5 devices=4 ctime=Tue Jan  8 19:07:39 2013
Continue creating array? yes
mdadm: Defaulting to version 1.2 metadata
mdadm: RUN_ARRAY failed: Input/output error
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't resize ext4 partition after mdadm Raid5 grow to 4 disk jhon614 Linux - Software 0 11-02-2012 09:39 PM
Can't create partition on mdadm raid5 and images mounted over loopback emat Linux - Software 2 06-11-2011 01:23 PM
Trying to introduce new hdd into mdadm RAID5, having problems (Debian) ayv Linux - Newbie 1 03-02-2011 03:42 PM
mdadm RAID5 degraded/rebuild access issues. dbrazeau Linux - Software 5 04-15-2010 12:12 PM


All times are GMT -5. The time now is 05:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration