<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1787385744;
        mso-list-type:hybrid;
        mso-list-template-ids:-1101249060 1388999920 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Connections on demand has been done and is not relevant here – It just idles unused connections to save resources, no impact on ability to write, etc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Patrick<o:p></o:p></li></ul>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">lustre-discuss <lustre-discuss-bounces@lists.lustre.org> on behalf of Alexander I Kulyavtsev <aik@fnal.gov><br>
<b>Date: </b>Tuesday, May 14, 2019 at 11:42 AM<br>
<b>To: </b>"lustre-discuss@lists.lustre.org" <lustre-discuss@lists.lustre.org><br>
<b>Subject: </b>Re: [lustre-discuss] Stop writes for users<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="divtagdefaultwrapper">
<p><span style="font-size:12.0pt;color:black">There was feature request, and there were corresponding LU:<o:p></o:p></span></p>
<p><span style="font-family:"Tahoma",sans-serif;color:#212121">LU-5703 - Lustre quiesce</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-family:"Tahoma",sans-serif;color:#212121">LU-7236 - connections on demand</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Tahoma",sans-serif;color:#212121">Alex.</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> lustre-discuss <lustre-discuss-bounces@lists.lustre.org> on behalf of Robert Redl <robert.redl@lmu.de><br>
<b>Sent:</b> Tuesday, May 14, 2019 10:36 AM<br>
<b>To:</b> lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> Re: [lustre-discuss] Stop writes for users</span><span style="font-size:12.0pt;color:black">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<p style="background:white"><span style="font-size:12.0pt;color:black">I don't know is this really works for this use case, but newer Lustre versions have the possibility to create a write barrier, which is normally part of the snapshot process.
<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:12.0pt;color:black">Have a look at lctl barrier_freeze.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">On 5/14/19 5:25 PM, Mohr Jr, Richard Frank (Rick Mohr) wrote:<br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="background:white"><span style="color:black">On May 13, 2019, at 6:51 PM, Fernando Pérez <a href="mailto:fperez@icm.csic.es"><fperez@icm.csic.es></a> wrote:<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="color:black">Is there a way to stop file writes for all users or for groups without using quotes?<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="color:black">We have a lustre filesystem with corrupted quotes and I need to stop the write for all users (or for some users).<o:p></o:p></span></pre>
</blockquote>
<pre style="background:white"><span style="color:black">There are ways to deactivate OSTs, but those are intended to stop creation of new file objects on those OSTs and don’t actually stop writes to existing files.  I don’t think that mounting OSTs read-only  (with “mount -t lustre -o ro …”) works because Lustre updates some info when it mounts the target (but this might be based on old info so I could be wrong).  You could remount all the clients read-only, but I don’t know if this is practical for you.<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="color:black">The only other option I can think of would be if there was a client-side parameter that could be set via “lctl conf_param” that might cause the clients to treat all the targets as read-only.  But if there is such a parameter, I am not familiar with it.<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="color:black">--<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">Rick Mohr<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">Senior HPC System Administrator<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">National Institute for Computational Sciences<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><a href="http://www.nics.tennessee.edu">http://www.nics.tennessee.edu</a><o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><o:p> </o:p></span></pre>
<pre style="background:white"><span style="color:black">_______________________________________________<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">lustre-discuss mailing list<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a><o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black"><a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><o:p></o:p></span></pre>
</blockquote>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">--
<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.0pt;color:gray">Dr. Robert Redl<br>
Scientific Programmer, "Waves to Weather" (SFB/TRR165)<br>
Meteorologisches Institut<br>
Ludwig-Maximilians-Universität München<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>