From 67e771b7de9df455f22b9186c8e93f06eb8ff282 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 11 Dec 2018 11:09:41 +0100 Subject: [PATCH] Add documentation note about not nesting storage paths --- .../repository_storage_paths.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 -- GitLab