[SATLUG] RAID5 Recovery - Reassembly Commencing!

David Labens adlabens at swbell.net
Wed Aug 26 23:00:29 CDT 2009


Sam,

The RAID array was created in OpenSuSE, using their auto-install and the GUI.  Once I had the RAID array working, I removed that HDD and installed another 80 GB HDD and installed Ubuntu Server 8.10 onto it, then ran the mdadm assemble command and let it do the assembly automatically.

David Labens

San Antonio, TX

--- On Wed, 8/26/09, Samuel Leon <satlug at net153.net> wrote:

From: Samuel Leon <satlug at net153.net>
Subject: Re: [SATLUG] RAID5 Recovery - Reassembly Commencing!
To: "The San Antonio Linux User's Group Mailing List" <satlug at satlug.org>
Date: Wednesday, August 26, 2009, 10:56 PM

It is supposed to be fixed in this version.  One possibility is to re-create the array using the create command.  Do you remember the EXACT parameters that you used to create this array?

Would look something like:

mdadm --create /dev/md0 --level=5 --chunk=128 --raid-disks=4  /dev/sde1 /dev/sda1 /dev/sdb1 /dev/sdc1

If that is correct we would have to recreate it with:
mdadm --create /dev/md0 --assume-clean --level=5 --chunk=128 --raid-disks=4  /dev/sde1 /dev/sda1 missing /dev/sdc1

Sorta what the guy did here: http://ubuntuforums.org/showthread.php?t=1061700

Sam
David Labens wrote:
> root at RCH-SERVER:/# aptitude show mdadm
> Package: mdadm
> State: installed
> Automatically installed: no
> Version: 2.6.7-3ubuntu8
> Priority: optional
> Section: admin
> Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Uncompressed Size: 655k
> Depends: libc6 (>= 2.8~20080505), debconf (>= 1.4.72), lsb-base (>= 3.1-6), udev
>          (>= 113-0ubuntu1), initramfs-tools (>= 0.85eubuntu24)
> Recommends: mail-transport-agent, module-init-tools
> Conflicts: mdctl (< 0.7.2), raidtools2 (< 1.00.3-12.1)
> Replaces: mdctl
> Description: tool to administer Linux MD arrays (software RAID)
>  The mdadm utility can be used to create, manage, and monitor MD (multi-disk)
>  arrays for software RAID or multipath I/O.
> 
>  This package automatically configures mdadm to assemble arrays during the
>  system startup process. If not needed, this functionality can be disabled.
> Homepage: http://neil.brown.name/blog/mdadm
> 
> root at RCH-SERVER:/#
-- _______________________________________________
SATLUG mailing list
SATLUG at satlug.org
http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
Powered by Rackspace (www.rackspace.com)


More information about the SATLUG mailing list