IT/Hardware/Routers/USB Hard Drive/nfs exports

From msgwiki
Revision as of 12:49, 27 February 2020 by Walttheboss (talk | contribs)
Jump to navigation Jump to search

Samba

  • This seems to be the industry standard
  • We would have liked this as it makes setting things up in Windows easier
    • But then again we don't use windows.
  • BUT we have never gotten it to work
    • by working we mean automounting in fstab

NFS

  • This is how we setup the servers at the MSGs to share files across the network
  • It is very easy to setup.
    • The following documentation is from our beloved Asus AC68(may she live forever)
  • Plug in the USB drive
    • We recommend ext3, ext4 or NTFS
  • Turn the service on
  • Put in the information as shown to share to one machine.
    • Usually the one that will be making the backups
Step 1
Step 2
  • In fstab add the following line
    • 192.168.2.1:/mnt/travelbackup /mnt/samba nfs auto 0 0
    • Don't forget that fstab need an empty line at the bottom of the file.
    • Hit return a few times and save the file.
  • run the command to mount all the shares

sudo mount -a

  • Now the share will appear in Dolphin
  • You can use rsync to backup to it