We have three lustre file systems of which one is "stand alone" and uses it's own MGS. We mount all three file systems on every client. The only difficulty I came across when mounting all three file systems on a client was that there could be only one MGS per NID. So to make client communicating with both MGSs I created an alias network interface and then in modprobe.conf I configured two NIDs<div>
<br></div><div>options lnet networks=tcp1(eth1),tcp2(eth1:0)</div><div><br></div><div>mount -t lustre 10.142.10.201@tcp1:10.142.10.202@tcp1:/scratch  /scratch<br><div><div>mount -t lustre 10.142.10.201@tcp1:10.142.10.202@tcp1:/data  /data    </div>
<div>mount -t lustre 10.42.10.203@tcp2:10.42.10.204@tcp2:/work  /work       </div><div><br></div><div>Regards,</div><div><br></div><div>Wojciech</div><div> <div><div><div><br><div class="gmail_quote">2009/6/26 Andreas Dilger <span dir="ltr"><<a href="mailto:adilger@sun.com">adilger@sun.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Jun 26, 2009  10:52 -0500, Carlos Santana wrote:<br>
> Can a lustre file system have more than one MGS? Isn't it only one per<br>
> site? I saw some examples where target type mgs was mentioned during<br>
> mkfs.lustre for MDS and OSS nodes. Is it correct and when is it used?<br>
<br>
</div>It makes sense generally to have a single MGS per site for multiple<br>
filesystems, because if clients are mounting more than one filesystem<br>
they can only communicate with a single MGS at a time.<br>
<br>
In some cases there will of course be a need for multiple MGSes in<br>
a single site (e.g. secure and open networks), which is fine as long<br>
as clients don't try to mount from multiple MGSes at once.<br>
<br>
Cheers, Andreas<br>
<font color="#888888">--<br>
Andreas Dilger<br>
Sr. Staff Engineer, Lustre Group<br>
Sun Microsystems of Canada, Inc.<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>--<br>Wojciech Turek<br><br>Assistant System Manager<br><br>High Performance Computing Service<br>University of Cambridge<br>Email: <a href="mailto:wjt27@cam.ac.uk">wjt27@cam.ac.uk</a><br>
Tel: (+)44 1223 763517 <br>
</div></div></div></div></div></div>