Run the following command to unmount the file system: $ umount /mnt/efs Note: Edit the preceding commands as required by replacing the file system id, mount point, DNS, IP address, and so on. Run the following command to mount using an IP address: $ sudo mount -t nfs -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport mount-target-ip:/ ~/efs-mount-point Connect to the instance through SSH or Session Manager and run the command you copied in step 6: $ sudo mkdir -p /mnt/efs Copy the command under using the NFS mount helper.ħ. After installing the nfs-utils package, navigate to the EFS console.Ħ. Ubuntu-based distributions $ sudo apt install nfs-commonĢ. RHEL and CentOS-based distributions $ sudo yum -y install nfs-utils Run the following command to install the nfs-utils package: Note: Edit the preceding commands as required by replacing the file system id, mount point, and so on. Connect to the instance through SSH or AWS Systems Manager Session Manager and run the command you copied in step 6: $ sudo mkdir -p /mnt/efs Copy the command under using the EFS mount helper.ħ. Select the file system that you want to mount.Ħ. After the efs-utils package is installed, open the EFS console.Ĥ. Other Linux distributions $ sudo yum -y install git build/amazon-efs-utils*deb./build-deb.sh Ubuntu and Debian-based distributions $ sudo apt-get -y install. Run the following command to install the efs-utils package:Īmazon Linux or Amazon Linux 2 $ sudo yum install -y amazon-efs-utils To mount your Amazon EFS file system, you can either install the nfs-utils package or the efs-utils package.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |