Rebuilding EBD

IAmATeaf
Posts: 16
Joined: Sun Mar 06, 2011 9:45 pm

Re: Rebuilding EBD

Post by IAmATeaf » Fri Mar 11, 2011 10:00 pm

I think I'm running out of ideas.

I've managed to recreate the array but when I run the command mkfs.xfs -q -f /dev/md0 it spurts up the error: Error getting MD array info from /dev/md0

Running out of ideas here, is there a mdadm guide anywhere which goes through deleting the array and recreating it? Also the space is partitioned as XFS isn't it?

I'm on the verge of giving up I think.

IAmATeaf
Posts: 16
Joined: Sun Mar 06, 2011 9:45 pm

Re: Rebuilding EBD

Post by IAmATeaf » Fri Mar 11, 2011 10:54 pm

If I use the legacy --build option instead of --create the mkfs.xfs succeeds in formatting the filesystem but then the drive never ever auto mounts /dev/md0 whereas if I use --create the mkfs.xfs always fails with the error I posted in my previous reply.

Think I'm going to give up or today, there is something not quite right and I just can't put my finger on it.

Good news is that the person that sent me the dumps of the partitions is coming down to my area later on this week so I've asked if I can use his drive to clone both of HDDs with, this looks like the only sure fire way of getting a fully working drive.

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: Rebuilding EBD

Post by Mijzelf » Sat Mar 12, 2011 8:41 am

Which commands did you use to create the array? Can you post the output of cat /proc/mdstat when the array is assembled? Does dmesg have something to say? /var/messages?
so I've asked if I can use his drive to clone both of HDDs with, this looks like the only sure fire way of getting a fully working drive.
Hey, that's the wimp way.

IAmATeaf
Posts: 16
Joined: Sun Mar 06, 2011 9:45 pm

Re: Rebuilding EBD

Post by IAmATeaf » Sat Mar 12, 2011 12:13 pm

I used the commands but slightly modifed as posted in the early part of this thread, so I used but I did this when I had the drives mounted on my PC running Ubuntu Desktop:

mdadm --create /dev/md0 -v --raid-devices=2 --level=linear /dev/sda2 /dev/sdb

mke2fs -j /dev/md0

I've since tried re-creating the array in the OS running on the Lacie box itself but whenever the mkfs.xfs command is run it doesn't do anything gives the error:

Error getting MD array info from /dev/md0

useretail
Posts: 3
Joined: Sat May 14, 2011 12:21 pm

Re: Rebuilding EBD

Post by useretail » Sat May 14, 2011 12:29 pm

any news? i'm trying to do the same thing! :D

useretail
Posts: 3
Joined: Sat May 14, 2011 12:21 pm

Re: Rebuilding EBD

Post by useretail » Sun May 15, 2011 11:11 am

I guess the problem is in mdadm configuration

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: Rebuilding EBD

Post by Mijzelf » Sun May 15, 2011 11:40 am

You builded your array on an external box?

Try adding --metadata=0.90 to the command:

Code: Select all

mdadm --create /dev/md0 -v --raid-devices=2 --level=linear /dev/sda2 /dev/sdb --metadata=0.90
and make sure your mdadm.conf matches your UUID.

jjr74
Posts: 19
Joined: Sun Jul 20, 2008 8:46 am

Re: Rebuilding EBD

Post by jjr74 » Mon Nov 12, 2012 12:44 pm

Any success stories rebuilding the EBD linear RAID with the above method ?

Thanks in advance

Post Reply