| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | [[snapshots-filesystem-repository]]=== Shared file system repositoryinclude::{es-repo-dir}/snapshot-restore/on-prem-repo-type.asciidoc[]Use a shared file system repository to store snapshots on ashared file system.To register a shared file system repository, first mount the file system to thesame location on all master and data nodes. Then add the file system'spath or parent directory to the `path.repo` setting in `elasticsearch.yml` foreach master and data node. For running clusters, this requires a<<restart-cluster-rolling,rolling restart>> of each node.IMPORTANT: By default, a network file system (NFS) uses user IDs (UIDs) andgroup IDs (GIDs) to match accounts across nodes. If your shared file system isan NFS and your nodes don't use the same UIDs and GIDs, update your NFSconfiguration to account for this.Supported `path.repo` values vary by platform:include::{es-repo-dir}/tab-widgets/register-fs-repo-widget.asciidoc[][[filesystem-repository-settings]]==== Repository settings`chunk_size`::(Optional, <<byte-units,byte value>>)Maximum size of files in snapshots. In snapshots, files larger than this arebroken down into chunks of this size or smaller. Defaults to `null` (unlimitedfile size).`compress`::(Optional, Boolean)If `true`, metadata files, such as index mappings and settings, are compressedin snapshots. Data files are not compressed. Defaults to `true`.`location`::(Required, string)Location of the shared filesystem used to store and retrieve snapshots. Thislocation must be registered in the `path.repo` setting on all master and datanodes in the cluster.`max_number_of_snapshots`::(Optional, integer)Maximum number of snapshots the repository can contain.Defaults to `Integer.MAX_VALUE`, which is `2^31-1` or `2147483647`.include::repository-shared-settings.asciidoc[]
 |