Skip to content

Commit 2c9f4a8

Browse files
authored
Merge pull request #203 from tcdowney/update-nfs-blobstore-docs-157880726
Update NFS Blobstore docs to refer to new NFS mount path
2 parents 024cbc4 + 492426c commit 2c9f4a8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

common/cc-blobstore-config.html.md.erb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ To configure your blobstores to use an NFS-mounted directory, do the following:
403403
buildpack_directory_key: YOUR-BUILDPACK-DIRECTORY-PREFIX
404404
fog_connection: &fog_connection
405405
provider: Local
406-
local_root: LOCAL_DIR_TO_MOUNT
406+
local_root: '/var/vcap/data/nfs'
407407
droplets:
408408
blobstore_type: fog
409409
droplet_directory_key: YOUR-DROPLET-DIRECTORY-PREFIX
@@ -418,7 +418,7 @@ To configure your blobstores to use an NFS-mounted directory, do the following:
418418
fog_connection: *fog_connection
419419
```
420420

421-
1. Replace `YOUR-BUILDPACK-DIRECTORY-PREFIX`, `YOUR-DROPLET-DIRECTORY-PREFIX`, `YOUR-PACKAGE-DIRECTORY-PREFIX`, and `YOUR-RESOURCE-DIRECTORY-PREFIX` with the names of the directories you will be using. If you do not specify these, Cloud Foundry will supply usable default values.
421+
1. Replace `YOUR-BUILDPACK-DIRECTORY-PREFIX`, `YOUR-DROPLET-DIRECTORY-PREFIX`, `YOUR-PACKAGE-DIRECTORY-PREFIX`, and `YOUR-RESOURCE-DIRECTORY-PREFIX` with the names of the directories you will be using. If you do not specify these, Cloud Foundry will supply usable default values. It is important that `local_root` be set to `/var/vcap/data/nfs` because the Cloud Controller jobs expect the NFS volume to be mounted at that path.
422422

423423
1. (Optional) Provide other configuration with the `fog_connection` hash, which is passed through to the Fog gem.
424424

@@ -430,7 +430,7 @@ To configure your blobstores to use an NFS-mounted directory, do the following:
430430
nfs_server:
431431
address: NFS-ENDPOINT
432432
share: REMOTE-DIR-TO-MOUNT
433-
share_path: LOCAL-DIR-TO-MOUNT
433+
share_path: '/var/vcap/data/nfs'
434434
nfsv4: false
435435
release: capi
436436
```
@@ -439,7 +439,6 @@ Replace the placeholder text in the example above with the values you want to us
439439

440440
- `NFS-ENDPOINT`: `nfstestserver.service.cf.internal`
441441
- `REMOTE-DIR-TO-MOUNT`: `/var/data/exported`
442-
- `LOCAL-DIR-TO-MOUNT`: `/var/vcap/nfs`
443442

444443
##<a id="webdav"></a>WebDAV
445444

0 commit comments

Comments
 (0)