Skip to content

Commit a68cda0

Browse files
Merge branch 'docs-update-nfs-ha-git_data_dirs' into 'master'
Update the HA NFS docs See merge request gitlab-org/gitlab-ce!22239
2 parents a01a134 + eb45fdb commit a68cda0

File tree

1 file changed

+2
-2
lines changed
  • doc/administration/high_availability

1 file changed

+2
-2
lines changed

doc/administration/high_availability/nfs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Mount `/gitlab-nfs` then use the following Omnibus
8787
configuration to move each data location to a subdirectory:
8888

8989
```ruby
90-
git_data_dirs({"default" => "/gitlab-nfs/gitlab-data/git-data"})
90+
git_data_dirs({"default" => { "path" => "/gitlab-nfs/gitlab-data/git-data"} })
9191
user['home'] = '/gitlab-nfs/gitlab-data/home'
9292
gitlab_rails['uploads_directory'] = '/gitlab-nfs/gitlab-data/uploads'
9393
gitlab_rails['shared_path'] = '/gitlab-nfs/gitlab-data/shared'
@@ -133,7 +133,7 @@ following are the 5 locations need to be shared:
133133

134134
| Location | Description | Default configuration |
135135
| -------- | ----------- | --------------------- |
136-
| `/var/opt/gitlab/git-data` | Git repository data. This will account for a large portion of your data | `git_data_dirs({"default" => "/var/opt/gitlab/git-data"})`
136+
| `/var/opt/gitlab/git-data` | Git repository data. This will account for a large portion of your data | `git_data_dirs({"default" => { "path" => "/var/opt/gitlab/git-data"} })`
137137
| `/var/opt/gitlab/.ssh` | SSH `authorized_keys` file and keys used to import repositories from some other Git services | `user['home'] = '/var/opt/gitlab/'`
138138
| `/var/opt/gitlab/gitlab-rails/uploads` | User uploaded attachments | `gitlab_rails['uploads_directory'] = '/var/opt/gitlab/gitlab-rails/uploads'`
139139
| `/var/opt/gitlab/gitlab-rails/shared` | Build artifacts, GitLab Pages, LFS objects, temp files, etc. If you're using LFS this may also account for a large portion of your data | `gitlab_rails['shared_path'] = '/var/opt/gitlab/gitlab-rails/shared'`

0 commit comments

Comments
 (0)