Re: MDRaid 1 Recovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 02, 2009 at 19:17:32 -0400,
  Law Barstow <LBarstow@xxxxxxxxxx> wrote:
> not in the system, leaving Drive 1.  When I try to boot, I get just a
> message of "GRUB".  I'm assuming that my problem is that GRUB was
> installed to drive 0 and drive 0 was set to be my primary.  

At the grub prompt you can try something like:
configfile (hd1,0)/grub/grub.conf
If /boot is the first partition on the drive this should work. It is
a later one increase the second 0.
This also assumes the bad drive is still be detected by grub so that the
good drive is known to it as hd1.

You could also pull the bad drive.

> How do I resolve the problem booting to drive 1?  Second, once I install
> my replacement device, how do I rebuild the array?  I assume I'll need
> to some how get my current Drive 1 set to primary and then install the
> second drive, and use mdadm to add it. 

Use some partitioning tool to create a software raid partition the same
size as the previous one. (If the drive is the same size as the other one,
you might just copy of the partition table.) You can add the partition
as an element in the array using mdadm. It would be something like:
mdadm /dev/md0 -a /dev/sda1
You need to do that for each array. Typically /boot and / are separate arrays.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux