<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Can a client ask for multiple file requests at the same  time or is it sequential as in it initially asks for one file creation and once that is done it asks for the next?<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 28, 2016, at 9:39 PM, Dilger, Andreas <<a href="mailto:andreas.dilger@intel.com" class="">andreas.dilger@intel.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class="">

<div dir="auto" class="">
<div class="">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 "service" 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. <br class="">
<br class="">
Cheers, Andreas</div>
<div class=""><br class="">
On Jun 28, 2016, at 19:24, Sangeetha Banavathi Srinivasa <<a href="mailto:bsangee@vt.edu" class="">bsangee@vt.edu</a>> wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div class="">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 class="">
<blockquote type="cite" class="">
<div class="">On Jun 28, 2016, at 9:19 PM, Patrick Farrell <<a href="mailto:paf@cray.com" class="">paf@cray.com</a>> 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="">
        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.  The OST is just a disk volume.  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.  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.  So for a given file, the requests always go to the same MDS.  Deciding which files are put on which MDS is more complicated.  (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.  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.  The OSS (the server) has to be able to move enough data to keep the OSTs fed.  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.  Real systems exist with tens of thousands of client nodes connected to one Lustre file system.  The practical limit is not client count, it is performance of the servers, disks, and network.<span class="Apple-converted-space"> </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"> </span>lustre-discuss <<a href="mailto:lustre-discuss-bounces@lists.lustre.org" class="">lustre-discuss-bounces@lists.lustre.org</a>>
 on behalf of Sangeetha Banavathi Srinivasa <<a href="mailto:bsangee@vt.edu" class="">bsangee@vt.edu</a>><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>Tuesday, June 28, 2016 7:58:03 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </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"> </span>[lustre-discuss] Query regarding MDS and OSS functions</font>
<div class=""> </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="">
        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" class="">
<div class=""><span class="">_______________________________________________</span><br class="">
<span class="">lustre-discuss mailing list</span><br class="">
<span class=""><a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a></span><br class="">
<span 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></span><br class="">
</div>
</blockquote>
</div>

</div></blockquote></div><br class=""></div></body></html>