<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 face=Verdana>Hi, dearlist</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>We have done the steps from 1 to 5, but we can 
still only see 2/7 osc devices on the MDS, but we can see 7 osc devices on a 
mounted client. Then we run e2fsck on the osts, However, we get the same 
result.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>And we had the problem, after we do the step 1 to 
4  and umount the filesystem from ldiskfs, then run the step 5, 
we got the logs:</FONT></DIV>
<DIV><FONT color=#000080>According to the logs, we have no idea why there are 63 
clients and where the MDS get the clients information with we removing 
</FONT><FONT color=#000000>CONFIGS/* and linking down.</FONT></DIV>
<DIV><FONT color=#000080 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080 face=Verdana>
<DIV>Nov 12 09:02:37 beshome01 kernel: Lustre: 2474:0:(mds_fs.c:493:mds_init_server_data()) RECOVERY: service besfs2-MDT0000, 63 recoverable clients, last_transno 118077355</DIV>
<DIV>Nov 12 09:02:37 beshome01 kernel: Lustre: MDT besfs2-MDT0000 now serving dev (besfs2-MDT0000/5ceb6ad6-e810-9fae-4862-8ed0913bf7e7), but will be in recovery for at least 5:00, or until 63 clients reconnect. During this time new clients will not be allowed to connect. Recovery progress can be monitored by watching /proc/fs/lustre/mds/besfs2-MDT0000/recovery_status.</DIV></FONT></DIV>
<DIV><FONT color=#c0c0c0 face=Verdana>2009-11-12 </FONT></DIV><FONT 
color=#000080 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 face=Verdana><SPAN>huangql</SPAN> </FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT face=Verdana><STRONG>发件人:</STRONG> Andreas Dilger </FONT></DIV>
<DIV><FONT face=Verdana><STRONG>发送时间:</STRONG> 2009-11-12  06:19:53 
</FONT></DIV>
<DIV><FONT face=Verdana><STRONG>收件人:</STRONG> Lu Wang </FONT></DIV>
<DIV><FONT face=Verdana><STRONG>抄送:</STRONG> lustre-discuss </FONT></DIV>
<DIV><FONT face=Verdana><STRONG>主题:</STRONG> Re: [Lustre-discuss] osc lost on 
MDS server </FONT></DIV>
<DIV><FONT face=Verdana></FONT> </DIV>
<DIV><FONT face=Verdana>
<DIV>On 2009-11-11, at 05:59, Lu Wang wrote:</DIV>
<DIV>> Dear  list,</DIV>
<DIV>>  
Our MDS losts 5/7 osc devices after a reconfiguration:</DIV>
<DIV>>  1.umount all osts</DIV>
<DIV>>  
2.tunfs.lustre --writeconf --mgs --mdt /dev/sda1</DIV>
<DIV>>  
3.mount -t ldiskfs mdtdevice mountpoint</DIV>
<DIV>>  4.rm CONFIGS/*</DIV>
<DIV>>  5.mount -t lustre mdtdevice mountpoint</DIV>
<DIV></DIV>
<DIV>Where is it documented to delete all of the files in CONFIGS?</DIV>
<DIV>This deletes the action of step #2 above, and isn't a good idea.</DIV>
<DIV>Presumably there was also a step 4b to unmount the filesystem</DIV>
<DIV>from type lfdiskfs?</DIV>
<DIV></DIV>
<DIV>Cheers, Andreas</DIV>
<DIV>--</DIV>
<DIV>Andreas Dilger</DIV>
<DIV>Sr. Staff Engineer, Lustre Group</DIV>
<DIV>Sun Microsystems of Canada, Inc.</DIV>
<DIV></DIV>
<DIV>_______________________________________________</DIV>
<DIV>Lustre-discuss mailing list</DIV>
<DIV>Lustre-discuss@lists.lustre.org</DIV>
<DIV>http://lists.lustre.org/mailman/listinfo/lustre-discuss</DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>