Re: Borked MD RAID...





Lonni J Friedman wrote:
Is it always the same disk that gets marked offline ? Perhaps the
disk is actually bad?

On Sun, Nov 30, 2008 at 4:20 PM, Eitan Tsur <eitan.tsur@xxxxxxxxx> wrote:
Even if I remove that it still happens.

On Sun, Nov 30, 2008 at 3:53 PM, Lonni J Friedman <netllama@xxxxxxxxx>
wrote:
If you only have 3 disks, then you can't have:
spares=1



On Sun, Nov 30, 2008 at 3:11 PM, Eitan Tsur <eitan.tsur@xxxxxxxxx> wrote:
# mdadm.conf written out by anaconda
DEVICE partitions
MAILADDR root@localhost

ARRAY /dev/md0 level=raid5 num-devices=3 spares=1
UUID=0c21bf19:83747f05:70a4872d:90643876
If I switch the "DEVICE partitions" with "DEVICE /dev/sdb1 /dev/sdc1
/dev/sdd1", drives no longer are allocated as spares, however the array
still seems to rebuild every boot.

I don't remember the specifics of what was in /proc/mdstat at the time,
but
currently the array is being rebuilt. I'll reboot after it is complete
to
give you a copy of it. Basically it allocated the dropped drive as a
spare
which I'd have to mdadm -stop and mdadm -add to the original array after
every boot, manually. Give me an hour or two and I'll get you the
output of
mdstat.

On Sun, Nov 30, 2008 at 2:41 PM, Lonni J Friedman <netllama@xxxxxxxxx>
wrote:
On Sun, Nov 30, 2008 at 2:38 PM, Eitan Tsur <eitan.tsur@xxxxxxxxx>
wrote:
I just recently installed a 3-disk RAID5 array in a server of mine,
running
FC9. Upon reboot, one of the drives drops out, and is allocated as a
spare.
I suspect there is some sort of issue where DBUS re-arranges the
drive-to-device maps between boots, but I am not sure... Just kind of
annoying to have to stop and re-add a drive every boot, and wait the
couple
hours for the array to rebuild the 3rd disk. Any thoughts? Anyone
else
encountered such an issue before? What should I be looking for? I'm
new
to
the world of RAID, so any information you can give may be helpful.
What's in /etc/mdadm.conf, /proc/mdstat and dmesg when this fails ?


check and make sure that the UUID number your specifying in your /etc/mdadm.conf file is correct. You can verify the UUID numbers by typing "ls -l /dev/disk/by-uuid"

Next verify that the UUID numbers in your /etc/mdad.conf file stored in the initrd file is correct, you'll have to extract the initrd file
with cpio. I don't remember the full procedure but you should be able to find it pretty easily with your favorite search engine.

Jeff

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: Hard drive question
    ... 146Gb array. ... >> More drives is theoretically faster, but I doubt you'll notice it in ... >> Please consider a hot spare drive, even if you add it later. ... >> the server, and it'll be covered on the server's warranty. ...
    (microsoft.public.windows.server.sbs)
  • Re: Testing Spare Drives in Software RAID
    ... Generate a TestMessage alert for every array found at ... This alert gets mailed and passed to the alert program. ... to test the spare drive in an array. ... array has two failed drives and the array itself fails. ...
    (Debian-User)
  • Re: Problem with md: Not rebuilding rai5
    ... I created a degrated raid5 on top of md1 and hde1. ... AND what's even stranger for me, I've two spare disks. ... If you have a raid5 with 2 working drives and one fails, ... and made hdk1 not beeing in the array. ...
    (Linux-Kernel)
  • Re: Intel Matrix Storage... how do I rebuild a degraded RAID10 array?
    ... I configured them in a RAID10 array ... one of the drives and Intel Matrix Storage Manager dutifully informed ... that the user wants the "spare" to be used for RAID purposes. ...
    (alt.comp.periphs.mainboard.asus)
  • [Summary] saving disksuite info while rebuilding server
    ... "Caution - If a full install of Solaris is performed, ... make sure you have tape backups of everything. ... I had an old workgroup storage array with six 18G drives formatted RAID5 ...
    (SunManagers)