Skip to content

nfs_mounter job from capi/1.196.0

The NFS Mounter sets up an NFS mount at a specific location. It can be used with the Cloud Controller to save assets to the NFS Server.

Github source: 1c7c6fde or master branch

Properties

nfs_server

address

NFS server for droplets and apps (not used in an AWS deploy, use s3 instead)

idmapd_domain

Domain name for NFS idmapd

Default
localdomain

nfsv4

bool to use NFS4 (not used in an AWS deploy, use s3 instead)

pipefs_directory

Pipefs directory for NFS idmapd

Default
/var/lib/nfs/rpc_pipefs

share

Path to share from the remote NFS server (not used in an AWS deploy, use s3 instead)

share_path

Location to mount the nfs share

Default
/var/vcap/data/nfs

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/nfs_mounter/ directory (learn more).

  • bin/handle_nfs_blobstore.sh (from handle_nfs_blobstore.sh.erb)
  • bin/nfs_mounter_crontab (from nfs_mounter_crontab)
  • bin/nfs_mounter_ctl (from nfs_mounter_ctl.erb)
  • bin/pre-start (from pre-start.sh.erb)
  • config/idmapd.conf (from idmapd.conf.erb)
  • config/nfs-common (from nfs-common)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.