<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<br>
Mark,<br>
<br>
I haven’t played specifically with FLR and inheritance/templates, but if you want to set a default layout on a directory, you’ll want to look at lfs setstripe.  Mirror extend is specifically for modifying individual, existing files.<br>
<br>
- Patrick<br>
<br>
<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 Mark Roper <markroper@gmail.com><br>
<b>Sent:</b> Thursday, June 21, 2018 8:36:43 AM<br>
<b>To:</b> lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> [lustre-discuss] Lustre 2.11 File Level Replication</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr"><span style="color:rgb(33,33,33); font-size:13px">Hi Lustre Users,</span>
<div style="color:rgb(33,33,33); font-size:13px"><br>
</div>
<div style="color:rgb(33,33,33); font-size:13px">I have set up a Lustre 2.11 cluster with multiple OSS's in order to experiment with the File Level Replication feature in Lustre 2.11, which I'm excited about since it raises the bar on availability for cloud
 deployment of Lustre. I cannot seem to get files created within a directory to inherit the mirror settings from the parent directory, which I thought might be possible given the documentation at <a href="http://wiki.lustre.org/File_Level_Replication_High_Level_Design" target="_blank">http://wiki.lustre.org/File_Level_Replication_High_Level_Design</a> :</div>
<div style="color:rgb(33,33,33); font-size:13px"><br>
</div>
<div style="color:rgb(33,33,33); font-size:13px">'<span style="background-color:rgb(248,249,250); font-family:monospace,Courier; font-size:14px">lfs mirror extend [--no-verify] <-N[mirror_count]> [other setstripe options|-f <victim_file>] <file_name><br>
</span><span style="color:rgb(34,34,34); font-size:14px">This command will append a replica indicated by setstripe options or just take the layout from existing file victim_file into the file file_name. The file_name must be an existing file but it can be a
 mirrored or normal file. This command will create new volatile file with any optional setstripe options that are specified, or using the defaults inherited from the parent directory or filesystem.</span>'</div>
<div style="color:rgb(33,33,33); font-size:13px"><br>
</div>
<div style="color:rgb(33,33,33); font-size:13px">I was hoping to be able to make all files written to particular directories or within a filesystem inherit a mirror count transparently to the client writing or reading files.  Does anyone know if this is possible?</div>
<div style="color:rgb(33,33,33); font-size:13px"><br>
</div>
<div style="color:rgb(33,33,33); font-size:13px">Cheers!</div>
<div style="color:rgb(33,33,33); font-size:13px"><br>
</div>
<div style="color:rgb(33,33,33); font-size:13px">Mark Roper</div>
</div>
</div>
</body>
</html>