Re: Problems with raidreconf and RAID-5
From: Jakob Oestergaard <hidden>
Date: 2002-09-02 13:25:05
On Thu, Aug 22, 2002 at 02:18:21PM +0300, Mikko Saukkoriipi wrote:
I have been testing raidreconf and I've been able to add a new disk to a RAID-0 array, but trying to convert RAID-0 to RAID-5 or add a new disk to RAID-5 have failed.
I see that your disks are not of equal size - I have seen one other report of problems with the RAID-5 driver (in reaidreconf - not the kernel RAID-5 driver) related to disks of different sizes.
Just before the conversion has finished or some times even at beginning I get and error "raid5_map_global_to_local: disk 0 block out of range: 488098 (487840) gblock = 1464296" or similar and raidreconf aborts.
Yep - very similar to that other report.
I'll add below script of the program running as well the used raidtabs and listings of partitiontables. The example is from adding a new disk to a 3 drive RAID-5 array. raidreconf version is "raidreconf 0.1.1 for mkraid version 0.90.0".
Great - thanks
Also, what file is gmon.out? It appears after running raidreconf, but the documentation didn't mention anything about it.
That's profiling output - because raidreconf (for some reason) was
compiled with the -pg switch for gcc.
You can run "gprof raidreconf" and see which routines take up the most
CPU time :)
--
................................................................
: jakob@unthought.net : And I see the elder races, :
:.........................: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
: OZ9ABN : his downfall is at hand. :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html