Configuring NFS server to access Data Mover
Configure permission as read-only for the exported source folder on the NFS file server and use no_root_squash command.
Create an NFS mount for the source folder on the Data Mover
Procedure. To create an NFS mount for the source folder:Create a local directory that will be used to mount the file share using lyveinstall user.
Example
sudo mkdir -p /mnt/nas1-data
Use the vi command to edit the
/etc/fstab
file or any text editor using the Data Mover portal server's credentials.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
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.
Run the command to verify if the NFS share is mounted successfully.
mount –t nfs
Configure NFS exports on the NFS server as read and write permission and use no_root_squash.
Mount the NFS folder to a specific location on the Data Mover.
Create a local directory to mount the file share using lyveinstall user.
Example
sudo mkdir -p /mnt/nas1-data-restore
Use the vi command to edit the
/etc/fstab
file or any text editor using the Data Mover portal server credentials.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
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.
Run the command to verify if the NFS share is mounted successfully.
mount –t nfs