<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-7">


<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
..MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EL link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hello All,<br>
<br>
<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Though I have posted this to centos
hardware forum, I also post it here since it affects my cluster and drbd setup
(the drbd complains that &#8220;drbd0: The peer's disk size is too small!&#8221;,
so the LV cannot become available, so the cluster services on node-1 do not
start).<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><br>
I have 2.6.18-92.1.10.el5.centos.plus and fdisk (util-linux 2.13-pre7)<br>
<br>
My old 80GB disk failed and I had replaced.<br>
However the vendor replaced it with a different model.<br>
My old disk was WD800JB-00JJC0 but the new one is a WD800JB-22JJC0.<br>
Since I must have the new disk with the same partitions as the old one (apart
from RAID-1 software, I also have installed DRBD mirrored with a second node),
I use fdisk to partition it.<br>
<br>
But there start the problems:<br>
<br>
1. BIOS reports C38308, H16, S255, Landing Zone 38307, Precomp 0<br>
<br>
2. Kernel reports hda: 156301488 sectors (80026 MB) w/8192KiB Cache,
CHS=65535/16/63, UDMA(100)<br>
<br>
3. fdisk reports <br>
<br>
Disk /dev/hda: 80.0 GB, 80026361856 bytes<br>
16 heads, 63 sectors/track, 155061 cylinders<br>
Units = cylinders of 1008 * 512 = 516096 bytes<br>
<br>
and the disk turns up like:<br>
<br>
Device Boot Start End Blocks Id System<br>
/dev/hda1 * 1 208 104800+ fd Linux raid autodetect<br>
/dev/hda2 209 20554 10254384 fd Linux raid autodetect<br>
/dev/hda3 20555 24500 1988784 83 Linux<br>
/dev/hda4 24501 155061 65802744 83 Linux<br>
<br>
<br>
The result is that I cannot create the same layout on the disk as the old disk.<br>
The <u>old disk</u> was like that:<br>
<br>
Disk /dev/hda: 80.0 GB, 80026361856 bytes<br>
255 heads, 63 sectors/track, 9729 cylinders<br>
Units = cylinders of 16065 * 512 = 8225280 bytes<br>
<br>
Device Boot Start End Blocks Id System<br>
/dev/hda1 * 1 13 104391 fd Linux raid autodetect<br>
/dev/hda2 14 1288 10241437+ fd Linux raid autodetect<br>
/dev/hda3 1289 1543 2048287+ 82 Linux swap / Solaris<br>
/dev/hda4 1544 9729 65754045 83 Linux<br>
<br>
Any help?<br>
<br>
Why the is the new disk known in different ways by BIOS, kernel and fdisk?<br>
And how can I fix this?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><br>
Thank you All for your Time,<br>
Theophanis Kontogiannis<o:p></o:p></span></p>

</div>

</body>

</html>