> dm create isw_cdgbeijgjh_iaa 0 1250275846 striped 2 256 8:0 8:16 0
<br>Ok, so now that you have that information it is easy enough to calculate the stripe size to change it 2.  It is simply 1250275846/(2*256) = 2441945.01171875
<br>we want an even multiple so take 2441945*512= 1250275840
<br>
<br>Soooo, replace the line in your "init" file 
<br>dm create isw_cdgbeijgjh_iaa 0 1250275846 striped 2 256 8:0 8:16 0
<br>with
<br>dm create isw_cdgbeijgjh_iaa 0 1250275840 striped 2 256 8:0 8:16 0
<br>and the length not divisble by chunk size error should go away (for kernels 2.6.17 and above).
<br>   -James
<br>
<br><br><br><br><br><br><blockquote style='border-top: 1px solid rgb(204, 204, 204); margin: 0.8ex 0pt 0pt 0pt; padding-bottom: 1ex;'>
<br>---------[ Received Mail Content ]----------<br>
<br> <b>Subject : </b>Re: [RE]Intel SATA RAID<br>
<br> <b>Date : </b>Tue, 12 Dec 2006 22:30:14 +0800<br>
<br> <b>From : </b>Hadders <ata.raid@workingwithit.com><br>
<br> <b>To : </b>"ATARAID (eg, Promise Fasttrak,  Highpoint 370) related discussions" <ataraid-list@redhat.com><br>
<br><br>
<br>James Olson wrote:
<br><br>> That solution of stopping and starting dmraid on the same line was 
<br><br>> only tested for those people who had previously installed FC5 to their 
<br><br>> striped dmraid array, and were unable to get it to work with a new 
<br><br>> kernel 2.6.17 and above update. If you created your partitions 
<br><br>> manually and manually copied the data over then there might be other 
<br><br>> problems to deal with. I suggest trying to install FC5 to the array 
<br><br>> with anaconda, the fedora core installer, first.
<br><br>>
<br><br>>
<br><br>Okay, been there, done that. Same problem. New twist.
<br><br>
<br><br>I nailed the container, recreated it (new name now), then installed a 
<br><br>minimal FC5 and used anaconda to create a custom layout.
<br><br>Rebooted,  updated dmraid to rc11, installed the new 2.6.18-1 kernel, 
<br><br>rebooted, nada.
<br><br>Had a peak in the init file for the two (base/new kernel) initrd images 
<br><br>and found the following missing from the new one.
<br><br>
<br><br>rmparts sdb
<br><br>rmparts sda
<br><br>dm create isw_cdgbeijgjh_iaa 0 1250275846 striped 2 256 8:0 8:16 0
<br><br>dm partadd isw_cdgbeijgjh_iaa
<br><br>
<br><br>ah ha! I thought, that's what I need. The container setup is missing 
<br><br>from the new kernel, why did the mkinitrd miss that? anyway, copied 
<br><br>those lines into the new kernel init, repacked the init rd and rebooted.
<br><br>Then I get.  device-mapper: table: 253:0 striped: Target length not 
<br><br>divisble by chunk size
<br><br>
<br><br>Okay, so for some reason the new kernel (which runs device-mapper 4.7) 
<br><br>doesn't like my RAID partitioning either. *sigh*
<br><br>
<br><br>So I've subscribed to the dm-devel list and asked for help there. I 
<br><br>searched their archives and found a couple of references, these usually 
<br><br>ended with people getting patches and the like.
<br><br>
<br><br>Hopefully they can shed some light on this. But I can rule out
<br><br>- dmraid level, now rc11
<br><br>- parttition creation, done in anaconda
<br><br>
<br><br>On the upside, I did identify the missing lines from the initrd and 
<br><br>managed to add them in quickly, just a pity that didn't fix it. ;-(
<br><br>
<br><br>Thanks for your time and patience. Hadders
<br><br>
<br><br>_______________________________________________
<br><br>Ataraid-list mailing list
<br><br>Ataraid-list@redhat.com
<br><br>https://www.redhat.com/mailman/listinfo/ataraid-list
<br><br>
<br><br></BLOCKQUOTE><br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
Lycos Cinema : Catch up with your friends and see free movies online - watch, chat & connect now >>
<a href="http://cinema.lycos.com/?if_Event=mail" target="_blank"><u>http://cinema.lycos.com</u></a>
</div>