How to Access Data via OS X File Share (legacy)


Overview: Some labs centrally store data on MacPro Towers, where the data is exported to clients for sharing via Apple File Protocol (AFP) and Samba (SMB). Data on the share is duplicated to a secondary local disk, and R-cloned offsite to Google Drive via a shared NetID.  


Data Typology: The general structure of these shares if of the form: 


Filesystem

Mounted On

Scope

/dev/disk0s2

/ (local disk)

Operating system (OS)

/dev/disk1s1

/Volumes/DATA

Data

/dev/disk2s1

/Volumes/TM

TimeMachine (backup)


The naming convention for additional data disks is either: DATA, DATAB, etc., or: DATA, DATA2, etc. 


Authentication: Authentication to the file share is done via local user accounts, where there’s one general-purpose account (for day-to-day use), and a secondary account (for administration). Users are encouraged to use the general-purpose account exclusively.


Accessing the Share: 


  • macOS (AFP, SMB): 

    • Click GO in the Finder Menu bar, then choose "Connect to Server"

    • Enter: afp://hostname.cns.nyu.edu (or smb://hostname.cns.nyu.edu/sharepoint)

    • Enter username & password when prompted, e.g.: 



  • Windows (via SSHFS)

    • Click This PC -> (right click) -> Map network drive ->

    • You'll be greeted with a window that asks you: "What network folder would you like to map?" For “drive” you can select any letter. The important part is getting the "folder" syntax correct: 

 

\\sshfs\username@hostname.cns.nyu.edu, e.g.: 

  • SSH (secure shell): 

    • Open a SSH client (e.g. Terminal in macOS)

    • Enter username@hostname.cns.nyu.edu

    • Provide password when prompted, e.g.: 


  • VNC (virtual network computing): 

    • Open a VNC client (e.g. Screen Sharing in macOS)

    • Enter the hostname of the machine: hostname.cns.nyu.edu, e.g.: 

  • Provide username & password when prompted, e.g.: