<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
<div>The MDS is in charge of the storage that is attached to it, so for a particular file or directory the client will always communicate with the same MDS. This is different from e.g. Ceph where the MDS is a &quot;service&quot; running on some node that doesn't have
 any of its own storage, so the Ceph MDS serving a particular file or directory can change over time.&nbsp;<br>
<br>
Cheers, Andreas</div>
<div><br>
On Jun 28, 2016, at 19:24, Sangeetha Banavathi Srinivasa &lt;<a href="mailto:bsangee@vt.edu">bsangee@vt.edu</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>Needed a clarification on the second question.
<div class="">Whenever a client has to communicate with an MDS is it always the same MDS or can it be any MDS.</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jun 28, 2016, at 9:19 PM, Patrick Farrell &lt;<a href="mailto:paf@cray.com" class="">paf@cray.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
Replies inline.<br class="">
<br class="">
Hi,<br class="">
<br class="">
I had the following doubts about the functioning of lustre.<br class="">
<br class="">
1. Whenever a file creation request is sent from the client, the request is sent to MDS from where a list of OSTs, file metadata etc is received.<br class="">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; After this point does the data flow through the OSS to the OST or does the client communicate with the OST directly?<br class="">
<br class="">
That question doesn't quite make sense.&nbsp; The OST is just a disk volume.&nbsp; The clients send data to the OSS (a server) that the OST in question is connected to, then the server writes that data to the OST.&nbsp; This is done without involving the metadata server (MDS)
 except when opening and closing the file.<br class="">
<br class="">
2. If a lustre system has more than one MDS will the client always send its requests to the same MDS or how is this decided?<br class="">
An individual file is always on a particular single MDS.&nbsp; So for a given file, the requests always go to the same MDS.&nbsp; Deciding which files are put on which MDS is more complicated.&nbsp; (This feature is known as distributed namespace or DNE, more info can be
 found online)<br class="">
<br class="">
3. How does the MDS decide which OSTs have to be allocated whenever a file request has been made?<br class="">
There are a number of different policies available.&nbsp; I believe the default is a mix of round robin and space usage optimization to keep particular OSTs from filling up.<br class="">
<br class="">
4. How many OSTs can an OSS have? How is this upper limit decided if at all?<br class="">
I don't know what the upper limit is (it is at least 16), but the software limit is not the main concern.&nbsp; The OSS (the server) has to be able to move enough data to keep the OSTs fed.&nbsp; So while you can put many, many OSTs on one server, in practice, you would
 not.<br class="">
<br class="">
5. How many clients can an application have?<br class="">
There is no limit.&nbsp; Real systems exist with tens of thousands of client nodes connected to one Lustre file system.&nbsp; The practical limit is not client count, it is performance of the servers, disks, and network.<span class="Apple-converted-space">&nbsp;</span>
<hr tabindex="-1" style="display: inline-block; width: 1205.390625px;" class="">
<div id="x_divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span>lustre-discuss &lt;<a href="mailto:lustre-discuss-bounces@lists.lustre.org" class="">lustre-discuss-bounces@lists.lustre.org</a>&gt;
 on behalf of Sangeetha Banavathi Srinivasa &lt;<a href="mailto:bsangee@vt.edu" class="">bsangee@vt.edu</a>&gt;<br class="">
<b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Tuesday, June 28, 2016 7:58:03 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a><br class="">
<b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>[lustre-discuss] Query regarding MDS and OSS functions</font>
<div class="">&nbsp;</div>
</div>
</div>
<font size="2" style="font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-size: 10pt;" class="">
<div class="PlainText">Hi,<br class="">
<br class="">
I had the following doubts about the functioning of lustre.<br class="">
<br class="">
1. Whenever a file creation request is sent from the client, the request is sent to MDS from where a list of OSTs, file metadata etc is received.<br class="">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; After this point does the data flow through the OSS to the OST or does the client communicate with the OST directly?<br class="">
<br class="">
2. If a lustre system has more than one MDS will the client always send its requests to the same MDS or how is this decided?<br class="">
<br class="">
3. How does the MDS decide which OSTs have to be allocated whenever a file request has been made?<br class="">
<br class="">
4. How many OSTs can an OSS have? How is this upper limit decided if at all?<br class="">
<br class="">
5. How many clients can an application have?<br class="">
<br class="">
<br class="">
Thanks,<br class="">
Sangeetha<br class="">
_______________________________________________<br class="">
lustre-discuss mailing list<br class="">
<a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a><br class="">
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" class="">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a></div>
</span></font></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>lustre-discuss mailing list</span><br>
<span><a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a></span><br>
<span><a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a></span><br>
</div>
</blockquote>
</body>
</html>