From: Andreas Dilger Date: Tue, 2 Feb 2021 18:51:20 +0000 (-0700) Subject: LUDOC-458 setup: update ldiskfs MDT inode ratios X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ef6373a0cdb9280ac9c1b14c944ee390a3053c7b;p=doc%2Fmanual.git LUDOC-458 setup: update ldiskfs MDT inode ratios Update the documented MDT inode ratios for the current defaults used by mkfs.lustre for ldiskfs since Lustre 2.10. Signed-off-by: Andreas Dilger Change-Id: Iaf45a1f6d9c4084b6de2f408f7352be34325e017 Reviewed-on: https://review.whamcloud.com/41392 Tested-by: jenkins Reviewed-by: Cliff White --- diff --git a/SettingUpLustreSystem.xml b/SettingUpLustreSystem.xml index b06dc4b..ffca6a8 100644 --- a/SettingUpLustreSystem.xml +++ b/SettingUpLustreSystem.xml @@ -388,7 +388,7 @@ The number of inodes on the MDT is determined at format time based on the total size of the file system to be created. The default bytes-per-inode ratio ("inode ratio") - for an ldiskfs MDT is optimized at one inode for every 2048 bytes of file + for an ldiskfs MDT is optimized at one inode for every 2560 bytes of file system space. This setting takes into account the space needed for additional ldiskfs filesystem-wide metadata, such as the journal (up to 4 GB), @@ -404,7 +404,7 @@ the bytes-per-inode ratio to have enough space on the MDT for small files, as described below. - It is possible to change the recommended 2048 bytes + It is possible to change the recommended default of 2560 bytes per inode for an ldiskfs MDT when it is first formatted by adding the --mkfsoptions="-i bytes-per-inode" option to mkfs.lustre. Decreasing the inode ratio tunable @@ -412,9 +412,9 @@ MDT size, but will leave less space for extra per-file metadata and is not recommended. The inode ratio must always be strictly larger than the MDT inode size, which is 1024 bytes by default. It is recommended - to use an inode ratio at least 1024 bytes larger than the inode size to + to use an inode ratio at least 1536 bytes larger than the inode size to ensure the MDT does not run out of space. Increasing the inode ratio - to include enough space for the most common file data (e.g. 5120 or 65560 + with enough space for the most commonly file size (e.g. 5632 or 66560 bytes if 4KB or 64KB files are widely used) is recommended for DoM. The size of the inode may be changed at format time by adding the --stripe-count-hint=N to have