Mount accesible NFS Shares

We can mount an NFS being shared over the network if we find an active NFS service running in a target machine.

  • Check if exist any NFS share

showmount -e $targetIP

  • Create a folder and mount the share under that folder

mkdir $folder
sudo mount -t nfs $targetIP:$folderToMount ./$folder/ -o nolock

  • After retrieving the information needed, go back to the initial point and unmount the share

cd $folder/..
sudo umount ./target-NFS

Last updated