<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">There was feature request, and there were corresponding LU:</p>
<p style="margin-top:0;margin-bottom:0"><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 14.6667px;">LU-5703 - Lustre quiesce</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 14.6667px;">LU-7236 - connections on demand</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 14.6667px;">Alex.</span></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> 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</font>
<div> </div>
</div>
<div style="background-color:#FFFFFF">
<p>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.
<br>
</p>
<p>Have a look at lctl barrier_freeze.</p>
On 5/14/19 5:25 PM, Mohr Jr, Richard Frank (Rick Mohr) wrote:<br>
<blockquote type="cite">
<pre class="x_moz-quote-pre"></pre>
<blockquote type="cite">
<pre class="x_moz-quote-pre">On May 13, 2019, at 6:51 PM, Fernando Pérez <a class="x_moz-txt-link-rfc2396E" href="mailto:fperez@icm.csic.es"><fperez@icm.csic.es></a> wrote:

Is there a way to stop file writes for all users or for groups without using quotes?

We have a lustre filesystem with corrupted quotes and I need to stop the write for all users (or for some users).
</pre>
</blockquote>
<pre class="x_moz-quote-pre">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.

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.

--
Rick Mohr
Senior HPC System Administrator
National Institute for Computational Sciences
<a class="x_moz-txt-link-freetext" href="http://www.nics.tennessee.edu">http://www.nics.tennessee.edu</a>

_______________________________________________
lustre-discuss mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>
<a class="x_moz-txt-link-freetext" href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
</blockquote>
<div class="x_moz-signature">-- <br>
<p style="color:#808080; font-size:smaller">Dr. Robert Redl<br>
Scientific Programmer, "Waves to Weather" (SFB/TRR165)<br>
Meteorologisches Institut<br>
Ludwig-Maximilians-Universität München<br>
<br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>