Skip to content

Instantly share code, notes, and snippets.

@evadeflow
Created March 23, 2017 13:23
Show Gist options
  • Save evadeflow/4d8fad2e6ebd75c4b3b74e22689dad19 to your computer and use it in GitHub Desktop.
Save evadeflow/4d8fad2e6ebd75c4b3b74e22689dad19 to your computer and use it in GitHub Desktop.
fstab entry for mounting a Windows share permanently
# Mount the 'Demo' folder on the I-Drive as /mnt/i-drive
//plx0av03.acme.com/some/long/path/Dept/ABC/Restricted/Demo /mnt/i-drive cifs credentials=/home/evadeflow/.smbcredentials,iocharset=utf8,sec=ntlm,uid=evadeflow,gid=wheel,dir_mode=0775,file_mode=0775 0 0
@evadeflow
Copy link
Author

This article was a big help in figuring this out. Setting things up this way, I was able to rsync backups of a Linux utility server running Jenkins, Redmine and Gitlab to a gigantic corporate NAS that—unlike the server itself—had terrabytes of free space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment