diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-12-11 13:09:41 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-12-11 13:09:41 +0300 |
commit | 67e771b7de9df455f22b9186c8e93f06eb8ff282 (patch) | |
tree | 640dc741b977aafff0a1659e9ddf9b06e396a268 /doc/administration/repository_storage_paths.md | |
parent | 51300f7657d7a48e2338a475a172122cb257b5d9 (diff) |
Add documentation note about not nesting storage paths
Diffstat (limited to 'doc/administration/repository_storage_paths.md')
-rw-r--r-- | doc/administration/repository_storage_paths.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/administration/repository_storage_paths.md b/doc/administration/repository_storage_paths.md index c03f23a8931..7f25423171f 100644 --- a/doc/administration/repository_storage_paths.md +++ b/doc/administration/repository_storage_paths.md @@ -11,6 +11,25 @@ storage load between several mount points. > - The paths are defined in key-value pairs. The key is an arbitrary name you > can pick to name the file path. > - The target directories and any of its subpaths must not be a symlink. +> - No target directory may be a sub-directory of another; no nesting. + +Example: this is OK: + +``` +default: + path: /mnt/git-storage-1 +storage2: + path: /mnt/git-storage-2 +``` + +This is not OK because it nests storage paths: + +``` +default: + path: /mnt/git-storage-1 +storage2: + path: /mnt/git-storage-1/git-storage-2 # <- NOT OK because of nesting +``` ## Configure GitLab |