Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19315

Support alternatives to /etc/fstab for configuring and mounting NFS shared directory (like autofs)

    XMLWordPrintable

Details

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            tathanassiadou Themis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: