This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
guide:lustre [2020/04/29 14:53] kevin created |
guide:lustre [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======The Lustre Parallel File System====== | ======The Lustre Parallel File System====== | ||
| + | |||
| + | |||
| + | :!: There is a new Lustre parallel file system mounted on ''/ | ||
| + | |||
| + | |||
| + | |||
| + | =====Lustre on Lengau===== | ||
| + | |||
| + | Lengau has 16 OSSs arranged in pairs. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | =====Lustre tools===== | ||
| + | |||
| + | The main tool for displaying information on the files and directories of a Lustre file system is '' | ||
| + | |||
| + | ====Searching==== | ||
| + | |||
| + | Use '' | ||
| + | |||
| + | To find all files larger than 1GB: | ||
| + | lfs find < | ||
| + | |||
| + | To find all files newer than 60 days: | ||
| + | lfs find < | ||
| + | |||
| + | |||
| + | =====Best practices===== | ||
| + | |||
| + | Lustre is designed for parallel access to large files. | ||
| + | |||
| + | ====Striping==== | ||
| + | |||
| + | The standard recommendation from the Lustre developers is: | ||
| + | |||
| + | * Files smaller than 1GB should be left with the default striping (1) | ||
| + | * Between 1GB and 10GB a small stripe should be used (2) | ||
| + | * 10 to 100GB : use medium striping (2 to 4) | ||
| + | * Above 100GB: use maximum striping (-c -1)\\ **Use only this last option with individual files that you know will be above 100GB or use highly parallelized access.** | ||
| + | |||
| + | To set the striping for a file to 2 | ||
| + | lfs setstripe -c 2 < | ||
| + | |||
| + | To change the default striping applied to files in a sub-directory to 2 (and only applied to files larger than 1G) | ||
| + | lfs setstripe -c 2 -s 1G < | ||
| + | |||
| + | > Check this ^^^. | ||
| + | |||
| + | **Note: | ||
| + | |||
| + | *When you change the settings for an existing file, the file will actually only change to the new striping when it is recreated. | ||
| + | |||
| + | * The same applies when you change the settings for an existing directory. You will need to rename the directory, create a new directory with the new stripe settings, and then **copy** (not move) the files to the new directory to inherit the new settings. | ||
| + | |||
| + | See '' | ||
| + | |||