Re: RAID5 slowness (how to fix?)



David Stuart wrote:
I'm not sure if the setup is using the mdadm tools (I think it's using
mkraid, radtab, raid0run, raidstop, etc).

I was thinking of editing the /etc/raidtab:

raiddev /dev/md0
raid-level 5
nr-raid-disks 3
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hdb1
raid-disk 0
device /dev/hdc1
raid-disk 1
device /dev/hdd1
raid-disk 2


To whatever the new partitions are going to be .. I suppose I should
shutdown the raid before doing this.

Is that safe?

Sounds reasonable. It may not be using /etc/raidtab at all, or may not be using mdadm at all...I'm not sure how to tell. But it wouldn't hurt to edit /etc/raidtab, even if it's not being used.
.



Relevant Pages

  • Re: failed disk urgent please help
    ... well now md2 is showing as failedtoo ... I believe hard driveA is going bad. ... > persistent-superblock 1 ... > raid-disk 0 ...
    (linux.redhat)
  • Rearranging drives in RAID 1
    ... I have a RAID1 with the following raidtab ... into degraded mode and then add /dev/hdc3 back into the array? ...
    (comp.os.linux.misc)