Problem with dmraid volumes at boot time
"HERVE Stephane (AREVA)" <[email protected]> Wed, 12 Jun 2013 19:13:06 +0200
| Newsgroups | gmane.linux.ataraid |
|---|---|
| Message-ID | <82094B9D6584C047A5387D1E12F9F3EE041C0BD1@cfraix1mx01.cdom.ad.corp> |
This is a multi-part message in MIME format. --===============7665676616774370513== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CE6790.1B5B2001" This is a multi-part message in MIME format. ------_=_NextPart_001_01CE6790.1B5B2001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, on Saturday we had our annual reboot of my NFS server which is on RedHat 5.2 (kernel 2.6.18-92). Since I'm in big trouble because my server does not recognize his dmraid volumes at boot time. I know that my disks are ok (made diag from my LSIlogic controller) and that my datas are there (because when I boot on install CD, I can see my all datas even if I still have some errors). When I look into the rc.sysinit file, I can see that the dm_resolve_name function does not return anything. In fact it's the command dmsetup table in this function which does not return anything. I think it's not the right way, but maybe it is, I hope you can explain it to me. Here are the output of some dmraid commands when I finally finish my boot : =20 # dmraid -r /dev/sda: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0 /dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0 /dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0 /dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0 /dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0 /dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0 # dmraid -s *** Group superset .ddf1_disks --> Subset name : ddf1_4c53494c4f4749431000005010003110000047bef3103289 size : 1751949312 stride : 128 type : stripe status : ok subsets: 0 devs : 3 spares : 0 --> Subset name : ddf1_4c53494c4f4749431000005010003110000047d1d930979b size : 1751949312 stride : 128 type : stripe status : ok subsets: 0 devs : 3 spares : 0 # dmraid -tay ddf1_4c53494c4f4749431000005010003110000047bef3103289: 0 1751949312 striped 3 128 /dev/sda 0 /dev/sdb 0 /dev/sdc 0 ddf1_4c53494c4f4749431000005010003110000047d1d930979b: 0 1751949312 striped 3 128 /dev/sdd 0 /dev/sde 0 /dev/sdf 0 # fdisk -l /dev/sda =20 Disk /dev/sda: 300.0 GB, 300000000000 bytes 255 heads, 63 sectors/track, 36472 cylinders Units =3D cylinders of 16065 * 512 =3D 8225280 bytes =20 Device Boot Start End Blocks Id System /dev/sda1 1 109054 875974655+ 8e Linux LVM # fdisk -l /dev/sdd =20 Disk /dev/sdd: 300.0 GB, 300000000000 bytes 255 heads, 63 sectors/track, 36472 cylinders Units =3D cylinders of 16065 * 512 =3D 8225280 bytes =20 Device Boot Start End Blocks Id System /dev/sdd1 1 109054 875974655+ 8e Linux LVM An the errors I get in /var/log/messages : =20 kernel: sda: p1 exceeds device capacity ........ kernel: sdd: p1 exceeds device capacity ........ kernel: attempt to access beyond end of device =20 My system see /dev/sda1 and /dev/sdd1 like partitions of a single disk of 300Go and not like a member of a dmraid volume of 3 disks. How can I do to make my system recognize these volums ? And why it doesn't while from an install CD averything seems almost ok ? Thanks in advance if you can help me. =20 Regards. =20 S.HERVE AREVA TA - DP/SI/EMI [email protected] +33 (0)442602647 +33 (0)777390285 =20 ------_=_NextPart_001_01CE6790.1B5B2001 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dus-ascii" = http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.23487"></HEAD> <BODY> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 face=3DArial>Hi=20 all,</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 face=3DArial>on = Saturday we had=20 our annual reboot of my NFS server which is on RedHat 5.2 (kernel=20 2.6.18-92).</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 = face=3DArial>Since I'm in=20 big trouble because my server does not recognize his dmraid volumes at = boot=20 time.</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 face=3DArial>I know = that my disks=20 are ok (made diag from my LSIlogic controller) and that my datas are=20 there</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 = face=3DArial>(because when I boot=20 on install CD, I can see my all datas even if I still have some=20 errors).</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 face=3DArial>When I = look into the=20 rc.sysinit file, I can see that the dm_resolve_name function does not=20 return</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 = face=3DArial>anything. In fact=20 it's the command</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 = face=3DArial><EM>dmsetup=20 table</EM></FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 face=3DArial>in = this function=20 which does not return anything. I think it's not the right way, but = maybe it is,=20 I hope</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 face=3DArial>you = can explain it=20 to me.</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013><FONT size=3D2 face=3DArial>Here = are the output=20 of some dmraid commands when I finally finish my boot = :</FONT></SPAN></DIV> <DIV><SPAN class=3D562565516-12062013> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = color=3D#0000ff=20 size=3D2 face=3DArial></FONT></SPAN> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = size=3D2=20 face=3DArial><EM># dmraid -r<BR>/dev/sda: ddf1, ".ddf1_disks", GROUP, = ok,=20 583983104 sectors, data@ 0<BR>/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok,=20 583983104 sectors, data@ 0<BR>/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok,=20 583983104 sectors, data@ 0<BR>/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok,=20 585806427 sectors, data@ 0<BR>/dev/sde: ddf1, ".ddf1_disks", GROUP, ok,=20 585806427 sectors, data@ 0<BR>/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok,=20 585806427 sectors, data@ 0<BR></EM></DIV></FONT></SPAN> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = size=3D2=20 face=3DArial><EM># dmraid -s<BR>*** Group superset .ddf1_disks<BR>--> = Subset<BR>name :=20 ddf1_4c53494c4f4749431000005010003110000047bef3103289<BR>size = :=20 1751949312<BR>stride : 128<BR>type : stripe<BR>status :=20 ok<BR>subsets: 0<BR>devs : 3<BR>spares : 0<BR>-->=20 Subset<BR>name :=20 ddf1_4c53494c4f4749431000005010003110000047d1d930979b<BR>size = :=20 1751949312<BR>stride : 128<BR>type : stripe<BR>status :=20 ok<BR>subsets: 0<BR>devs : 3<BR>spares :=20 0<BR></EM></DIV></FONT></SPAN> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = size=3D2=20 face=3DArial><EM># dmraid=20 -tay<BR>ddf1_4c53494c4f4749431000005010003110000047bef3103289: 0 = 1751949312=20 striped 3 128 /dev/sda 0 /dev/sdb 0 /dev/sdc=20 0<BR>ddf1_4c53494c4f4749431000005010003110000047d1d930979b: 0 1751949312 = striped=20 3 128 /dev/sdd 0 /dev/sde 0 /dev/sdf 0<BR></EM></DIV></FONT></SPAN> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = size=3D2=20 face=3DArial><EM># fdisk -l /dev/sda</EM></FONT></SPAN></DIV> <DIV><FONT size=3D2 face=3DArial><EM></EM></FONT> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = size=3D2=20 face=3DArial><EM>Disk /dev/sda: 300.0 GB, 300000000000 bytes<BR>255 = heads, 63=20 sectors/track, 36472 cylinders<BR>Units =3D cylinders of 16065 * 512 =3D = 8225280=20 bytes</EM></FONT></SPAN></DIV> <DIV><FONT size=3D2 face=3DArial><EM></EM></FONT> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = size=3D2=20 face=3DArial><EM> Device Boot =20 Start =20 End Blocks Id =20 System<BR>/dev/sda1 = =20 1 109054 875974655+ = 8e =20 Linux LVM<BR># fdisk -l /dev/sdd</EM></FONT></SPAN></DIV> <DIV><FONT size=3D2 face=3DArial><EM></EM></FONT> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = size=3D2=20 face=3DArial><EM>Disk /dev/sdd: 300.0 GB, 300000000000 bytes<BR>255 = heads, 63=20 sectors/track, 36472 cylinders<BR>Units =3D cylinders of 16065 * 512 =3D = 8225280=20 bytes</EM></FONT></SPAN></DIV> <DIV><FONT size=3D2 face=3DArial><EM></EM></FONT> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D611332416-12062013><FONT = color=3D#0000ff=20 size=3D2 face=3DArial><FONT color=3D#000000><EM> Device=20 Boot =20 Start =20 End Blocks Id =20 System<BR>/dev/sdd1 = =20 1 109054 875974655+ = 8e =20 Linux LVM<BR></EM></FONT></DIV></FONT></SPAN></SPAN></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D562565516-12062013>An the = errors I get=20 in /var/log/messages :</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D562565516-12062013></SPAN></FONT> </DIV> <DIV><FONT size=3D2 face=3DArial><SPAN = class=3D562565516-12062013><EM>kernel: =20 sda: p1 exceeds device capacity</EM></SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D562565516-12062013><EM>........</EM></SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN = class=3D562565516-12062013><EM>kernel: =20 sdd: p1 exceeds device capacity</EM></SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D562565516-12062013><EM>........</EM></SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN = class=3D562565516-12062013><EM>kernel: attempt=20 to access beyond end of device</EM></SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D562565516-12062013></SPAN></FONT> </DIV> <DIV><FONT size=3D2 face=3DArial> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D562565516-12062013>My = system see=20 /dev/sda1 and /dev/sdd1 like partitions of a single disk of 300Go and = not like a=20 member</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D562565516-12062013>of a = dmraid volume=20 of 3 disks.</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D562565516-12062013>How = can I do to make=20 my system recognize these volums ? And why it doesn't while from an = install=20 CD</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN = class=3D562565516-12062013>averything seems=20 almost ok ?</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN class=3D562565516-12062013>Thanks = in advance if=20 you can help me.</SPAN></FONT></DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D562565516-12062013></SPAN></FONT> </DIV> <DIV><FONT size=3D2 face=3DArial><SPAN=20 class=3D562565516-12062013>Regards.</SPAN></FONT></DIV></FONT></DIV> <DIV><FONT size=3D2 face=3DArial></FONT> </DIV> <DIV align=3Dleft> <P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal align=3Dleft><SPAN=20 style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: = 10pt">S.HERVE</SPAN></P> <P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal align=3Dleft><SPAN=20 style=3D"FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: = 10pt"></SPAN><STRONG><SPAN=20 style=3D"FONT-FAMILY: Arial; COLOR: maroon; FONT-SIZE: 7.5pt">AREVA TA=20 - DP/SI/EMI</SPAN></STRONG></P> <P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal = align=3Dleft><STRONG><SPAN=20 style=3D"FONT-FAMILY: Arial; COLOR: maroon; FONT-SIZE: = 7.5pt"></SPAN></STRONG><SPAN=20 style=3D"FONT-SIZE: 10pt"><A=20 href=3D"mailto:[email protected]">[email protected]</A></SP= AN></P> <P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal align=3Dleft><SPAN=20 style=3D"FONT-SIZE: 10pt">+33 (0)442602647</SPAN></P> <P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal align=3Dleft><SPAN=20 style=3D"FONT-SIZE: 10pt"></SPAN><?xml:namespace prefix =3D o ns =3D=20 "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3D2>+33=20 (0)777390285</FONT></o:p></P></DIV> <DIV><FONT size=3D2 face=3DArial></FONT> </DIV></BODY></HTML> ------_=_NextPart_001_01CE6790.1B5B2001-- --===============7665676616774370513== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ataraid-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/ataraid-list --===============7665676616774370513==--