Mark,

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.

- Patrick

________________________________
From: lustre-discuss <[email protected]> on behalf of 
Mark Roper <[email protected]>
Sent: Thursday, June 21, 2018 8:36:43 AM
To: [email protected]
Subject: [lustre-discuss] Lustre 2.11 File Level Replication

Hi Lustre Users,

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 
http://wiki.lustre.org/File_Level_Replication_High_Level_Design :

'lfs mirror extend [--no-verify] <-N[mirror_count]> [other setstripe options|-f 
<victim_file>] <file_name>
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.'

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?

Cheers!

Mark Roper
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to