viper25

Mount a network path in Linux

Jun 20th, 2015 (edited)
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.52 KB | None | 0 0
  1. #Mount a network path in Linux
  2. sudo mount //192.168.0.103/backups -o username=user1,password=password /home/ubuntu/Desktop/nas_share
  3.  
  4. #Unmount
  5. umount -l /mnt/backups
  6.  
  7. # NFS Mount (Option 2)
  8. https://www.synology.com/en-global/knowledgebase/DSM/tutorial/File_Sharing/How_to_access_files_on_Synology_NAS_within_the_local_network_NFS
  9. sudo apt install nfs-common
  10. (In Synology, ensure NFS share is enabled).
  11. Check the mountpath as mentioned in the BFS page on the NAS and mount:
  12. sudo mount 192.168.1.152:/volume1/downloads /mnt/nas
Add Comment
Please, Sign In to add comment