File layouts
CephFS allows you to alter the way files are stored across the underlying objects by using settings that are known as file layouts. File layouts allow you to control the stripe size and width and also which RADOS pool the data objects will reside in. The file layouts are stored as extended attributes on files and directories. A new file or directory will inherit its parent's file layouts settings; however, further changes to a parent directory's layout will not affect existing files.
Adjusting the file striping will normally be done for performance reasons to increase the parallelism of reading larger files as a section of data will end up being spread across more OSDs. By default, there is no striping and a large file stored ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access