Re: RAID5 slowness (how to fix?)



On Mon, 24 Apr 2006 16:09:06 -0400, John-Paul Stewart wrote:

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.

Yes, I see "Linux raid autodetect" for all of them, fortunately.

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?


.