Re: RAID5 slowness (how to fix?)



David Stuart wrote:

BTW I hope
it is easy to move the raid disks to another PCI IDE Controller, do I have
to run any commands for this? Are they documented somewhere?

It depends on how the RAID is setup. If the partitions are of type 0xfd (as shown by 'fdisk -l'), which is "Linux software RAID autodetect" then it *should* be automatic.

If not, then mark *one* of the disks as failed (with 'mdadm --fail'), then remove it from the array (with 'mdadm --remove'). Power down, move one slave disk to be a master on the new IDE controller, power up, add the "new" disk to the existing array (with 'mdadm --add') and wait for the RAID to re-sync (a couple of hours at least...progress info is in /proc/mdstat). Then repeat the whole process with the next disk. Don't do both at once, unless you're prepared to lose your data. RAID-5 can tolerate losing only one disk at a time. (See the mdadm manual for complete examples of the commands.)
.



Relevant Pages

  • Re: Refresh system devices?
    ... this RAID controller? ... I simply added the disk to the hotswappable drive cage ... that after setting up a maximum primary partition, ... commands or catting to /proc/scsi/scsi. ...
    (comp.os.linux.misc)
  • Re: RAID - can a mirrored disk be used on a non-RAID controller?
    ... I had been considering RAID ... > mirroring but this has brought the issue forward. ... > box with a standard IDE controller and run the system from there? ... last xx sectors of the disk, ...
    (freebsd-questions)
  • slackware 9.1 software raid problem
    ... Setting up a RAID system with Slackware 8 is not extremely difficult once ... mirroring the root partition and booting from that mirror was not possible. ... Each disk is attached to a different IDE chain on the motherboard. ... The ability to boot from the Slackware 8 install CD. ...
    (alt.os.linux)
  • Re: Is it HighPoint, is it Seagate, or is it Windows 2000 Professional
    ... I have really learnt about the uses and limits of RAID. ... Use all the manufacturer recommended system recovery ... provisions -- Emergency Disk, have a DOS boot disk ready, ... what could cause Windows to suddenly change its mind ...
    (microsoft.public.win2000.setup)
  • Re: [opensuse] 10.2 no RAID to 11.0 RAID 1
    ... 10.2 no RAID to 11.0 RAID 1 ... you can force rebuilds in mdadm in situations where no firmware raid will ever let you. ... Send me your problem disks that you think are impossible to assemble and I bet in a little while I can tell you how to assemble the array as long as there actually is enough there to use. ... One thing I've seen, which I don't think is your problem but shows the kind of thing that happens, a disk will drop out of the array and reappear instantly as a higher drive letter than the system really has. ...
    (SuSE)