Skip to main content

Lyve Cloud Documentation

Configuring NFS server to access Data Mover

Procedure. To configure the source file system:
  1. Configure permission as read-only for the exported source folder on the NFS file server and use no_root_squash command.

  2. Create an NFS mount for the source folder on the Data Mover

    Procedure. To create an NFS mount for the source folder:
    1. Create a local directory that will be used to mount the file share using lyveinstall user.

      Example

      sudo mkdir -p /mnt/nas1-data
      
    2. Use the vi command to edit the /etc/fstab file or any text editor using the Data Mover portal server's credentials.

    3. Define the NFS share at the end of the /etc/fstab file.

      Note

      Insert a tab character between each parameter, and it should appear as one line with no line break defining the NFS share at the end of the /etc/fstab file.

      sudo vi /etc/fstab
      <nfs server name (FQDN)>:<Data Source Path> <Data Source Mount Point Path> nfs defaults,nfsvers=3 0 0

      Example

      sudo vi /etc/fstab
      nas2.company.com:</nas2> /mnt/nas1-data nfs defaults,nfsvers=3 0 0
    4. Use the following command to mount the file share.

      sudo mount /mnt/nas1-data

      The next time the system starts, the folder is mounted automatically.

    5. Run the command to verify if the NFS share is mounted successfully.

      mount –t nfs
  1. Configure NFS exports on the NFS server as read and write permission and use no_root_squash.

  2. Mount the NFS folder to a specific location on the Data Mover.

    1. Create a local directory to mount the file share using lyveinstall user.

      Example

      sudo mkdir -p /mnt/nas1-data-restore
    2. Use the vi command to edit the /etc/fstab file or any text editor using the Data Mover portal server credentials.

    3. Defining the NFS share at the end of the /etc/fstab file.

      Note

      Insert a tab character between each parameter, and it should appear as one line with no line break defining the NFS share at the end of the /etc/fstab file.

      sudo vi /etc/fstab
      [sudo] password for lyveinstall:
      <nfs server name (FQDN)>:<Data Restore Path> <Data Restore Mount Point Path> nfs defaults,nfsvers=3 0 0

      Example

      sudo vi /etc/fstab
      [sudo] password for lyveinstall:
      nas2.company.com:</nas2> /mnt/nas1-data-restore nfs defaults,nfsvers=3 0 0
    4. Use the following command to mount the file share.

      sudo mount /mnt/nas1-data-restore

      The next time the system starts, the folder is mounted automatically.

    5. Run the command to verify if the NFS share is mounted successfully.

      mount –t nfs