<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-US" link="blue" vlink="purple">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">This caught me out in a recent upgrade:<br>
<br>
cat /proc/fs/lustre/lov/{yourmdt}/target_obd<br>
<br>
rather than <br>
<br>
"lctl dl"<br>
<br>
Shows the state of the OST.<br>
<br>
Cheers,<br>
Sean<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF648475"><font face="Tahoma" size="2" color="#000000"><b>From:</b> lustre-discuss-bounces@lists.lustre.org [lustre-discuss-bounces@lists.lustre.org] on behalf of Andrus, Brian Contractor [bdandrus@nps.edu]<br>
<b>Sent:</b> 13 January 2015 17:28<br>
<b>To:</b> lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> [Lustre-discuss] how do I deactivate a very wonky OST<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal">All,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We are still trying to move forward getting our filesystem at least partially up with a failed OST.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Currently the OST will kernel panic any device that mounts it. That seems to be a constant.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">So, the plan is to bring the system up without that OST and find what data will be lost.</p>
<p class="MsoNormal">Now, I am trying to deactivate the OST on the MGS, but it seems to have no effect.</p>
<p class="MsoNormal">Running lctl --device 14 deactivate does not change anything. The OST still shows ‘UP’</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is there a way to force lustre to deactivate an OST altogether when it is showing ‘UP’ and the OST is not going to be happily mounted?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I can mount the filesystem, but many actions hang (ls, df, etc).</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">Brian Andrus</span></p>
<p class="MsoNormal"><span style="color:#1F497D">ITACS/Research Computing</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Naval Postgraduate School</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Monterey, California</span></p>
<p class="MsoNormal"><span style="color:#1F497D">voice: 831-656-6238</span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</body>
</html>