diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-12-11 17:38:14 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-12-11 17:38:14 +0300 |
commit | 466a10a8ed46e48692d0e595847223e3025d1878 (patch) | |
tree | 291de878019005fc446aab19222242a56f121d5c /doc | |
parent | 71209c91f0b526fbf28c1dbf6c352b65d0ea0beb (diff) | |
parent | 67e771b7de9df455f22b9186c8e93f06eb8ff282 (diff) |
Merge branch 'docs-nested-storage-paths' into 'master'
Add documentation note about not nesting storage paths
See merge request gitlab-org/gitlab-ce!23722
Diffstat (limited to 'doc')
-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 |