Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Description
Use case: Modifying /etc/fstab is prohibited due to security restrictions on customer's environments
Possible Alternatives (currently unsupported)
- use autofs -> This is currently not recommended as Bitbucket needs constant access to the NFS shared volume, and autofs is designed for occasional access.
- use systemd .mount unit file
Note: Currently, the supported way to configure and mount the NFS shared directory for Bitbucket DC is the following:
For example, suppose your Bitbucket home directory is /var/atlassian/application-data/bitbucket , and your shared home directory is available as an NFS export called bitbucket-san:/bitbucket-shared. To configure the mount on each cluster node:
Add the following line to /etc/fstab on each cluster node.
bitbucket-san:/bitbucket-shared /var/atlassian/application-data/bitbucket/shared nfs rw,nfsvers=3,lookupcache=pos,noatime,intr,rsize=32768,wsize=32768,_netdev 0 0
Mount the share on each node:
mkdir -p /var/atlassian/application-data/bitbucket/shared sudo mount -a