File Access & Data Storage

Access Your OIT CIFS Home Folder

Overview:

In addition to resources provided at the Departmental or School level, all Duke faculty, staff, and students are provided with a 5 GB of home folder space for file storage by Duke OIT, accessed using the CIFS protocol.  By default, this space is private storage for the end user only,  but includes a oublic folder with which one can share files with others in or outside of Duke.

To connect to your CIFS home folder, you either need to be on the Duke network, or using Duke VPN when off-campus.  More details can be found on OIT's web site:

http://oit.duke.edu/comp-print/storage/personal.php

Mounting Your OIT CIFS home folder in Windows:

  1. Right-click "My Computer" and choose "Map a Network Drive...".  Pick a drive letter, and use the path (with appropriate substitutions):

    • \\homedir.oit.duke.edu\users\<first letter of your NetID>\<NetID>
  2. Click to connect using a different user name.  As your credentials, use:
    •  WIN\<NetID>
  3. ...as the username and your Duke NetID password.

Mounting Your OIT CIFS home folder in Mac OS X:

  1. In Mac OS, under the Finder "Go" menu, choose "Connect to Server" using the path:

    • cifs://homedir.oit.duke.edu/users/<first letter of your NetID>/<NetID>
  2. It should ask for credentials, for which you should also use:
    • WIN\<NetID>
  3. ...and your Duke NetID password.

( Important note: Windows requires the path to be separated with backslashes(\), Mac requires the path to use slashes (/), but both require a backslash with the username WIN\NetID )

Sharing Files Publicly On the Web:

Once you get your home folder mapped, you should see a folder called public_html.  Anything you put there can be accessed publicly on the web at the address:

http://www.duke.edu/~NetID

Web browsers will generate a file listing of public_html from which each file can be viewed or downloaded:

You can also use the space to create a personal web page, by storing html files.  If you store a file in a folder called "index.html", it won't show all the files listed, but load the index.html page for viewing automatically.


Windows and Mac

In Durham

To connect to Nicholas School servers from offsite, use Cisco AnyConnect through portal.duke.edu. Choose the Default option from the dropdown menu.

Map a Drive in Windows:

  1. Right-click on My Computer and choose Map Network Drive.... The Map Network Drive dialog box will open.
  2. Fill in the drive letter you want to use. These letters are arbitrary, although the current model is to use Z for home directories, S for departmental directories, and R for research directories.
  3. Enter the path to the network folder you'd like to access:  
    • for your home folder: \\ns-files.win.duke.edu\homedir\netid (for those who do not have a home directory hosted by Nicholas School, map to: \\homedir.oit.duke.edu\users\n\netid - where 'n' is the first letter of your netid)
    • for your department folder: \\ns-files.win.duke.edu\dept\sharename
    • for your research folder: \\ns-files.win.duke.edu\research\sharename
  4. Click on the Connect using a different user name link, and the Connect As... dialog box should come up.
  5. Enter your NetID credentials to authenticate the connection. Prepend your username with WIN\.
  6. Click OK to confirm the Connect As... dialog, then Finish to close the Map Network Drive dialog.

Mount a Drive in Mac OS X:

  1. In Finder, open the Go menu (or Cmd+k and skip to step 3).
  2. Choose Connect to Server
  3. Enter the path to the network folder you'd like to access as below. 
    • smb://ns-files.win.duke.edu/dept/sharename  - (deptartmental folders)
    • smb://ns-files.win.duke.edu/research/sharename - (research folders)
    • smb://ns-files.win.duke.edu/homedir/netid - (home folders) - (for those who do not have a home directory hosted by Nicholas School, map to: cifs://homedir.oit.duke.edu/users/n/netid - where 'n' is the first letter of your netid)
  4. Enter your NetID credentials to authenticate the connection. Prepend your username with WIN\.
  5. Find additional info on mapping drives in Mac OS X here.

At the Marine Lab

Remote Access

To connect to Marine Lab file servers, you need to be in one of several network contexts:

  1. Duke's academic network, in Beaufort or Durham
  2. DUKE wireless
  3. Outside network or Duke's VISITOR wireless with Duke VPN using "-Default-" connection group 

Map a Drive in Windows

  1. Right-click on "My Computer" and choose "Map Network Drive...". The Map Network Drive dialog box should come up.
  2. Fill in the drive letter you want to use.
  3. Enter the path to the users area
    • on the primary file server, Mako:
    • \\mako.ml.duke.edu\users
    • or for the new file server, Goby:
    • \\goby.ml.duke.edu\users
  4. Click on the "Connect using a different user name" link, and the "Connect As..." dialog box should come up.
  5. In the authentication dialog, enter your username.  This can be either your Duke NetID or your Marine Lab account username.  For NetID authentication, prepend your NetID with "WIN\" ( WIN\NetID ), and for using your Marine Lab account, prepend your username with "ML\" ( ML\username ).
  6. Click OK to confirm the "Connect As..." dialog, then Finish to close the "Map Network Drive" dialog.

Mount a Drive in Mac OS X

  1. In Finder, open the "Go" menu.
  2. Choose "Connect to Server"
  3. Enter the path to the users area on the primary file server, Mako:
    • cifs://mako.ml.duke.edu/users
    • or for the new file server, Goby:
    • cifs://goby.ml.duke.edu/users
  4. Click Connect
  5. In the authentication dialog, enter your username.  This can be either your Duke NetID or your Marine Lab account username.  For NetID authentication, prepend your NetID with "WIN\" ( WIN\NetID ), and for using your Marine Lab account, prepend your username with "ML\" ( ML\username ).
  6. Enter the appropriate ML or NetID password, and click OK.

Cloud-based storage services: Box and OneDrive

OneDrive can be used by any Duke staff, faculty or students who have an Office365 email account. OneDrive for Business is intended for storage and to support access to mobile Office apps. It provides 1 TB of storage and allows sharing of files with other Duke users.

Box provides 50 GB of storage and can also be used by Duke staff, faculty and students. Unlike One Drive, Box also allows sharing of files with non-Duke users. Students may keep their Duke Box 50 GB storage after graduation by changing their email address on their account.

For more information about OneDrive and Box and how to use these services, please visit this page.


Linux

If you're a linux user, you can use SSH/SFTP to access your Nicholas School linux system from outside the school's network or from wireless, but you will be required to VPN in first. The easiest method is to connect via Cisco AnyConnect through https://portal.duke.edu. From there you can choose "Nicholas Internal" in the dropdown menu, and log in using your netid and password.

Once connected, you may use your favorite SSH or SFTP client (or a terminal) to access linux systems to which you have been granted permission. Be sure to use the fully qualified domain name ie: systemname.nicholas.duke.edu. If you have not previously connected remotely to a Nicholas School linux-based system, please contact it@nicholas.duke.edu to ensure you have proper access. Otherwise, your connection may fail.

SFTP is not the same as a mapped drive in Windows. When you use SFTP, you are downloading the files to your local computer. To save any changes to the network, you need to upload your finished work back to your home, department or research folder.

Filezilla is an open source FTP client available for Windows, Mac and Linux.

For hostname use sftp://systemname.nicholas.duke.edu ('systemname' being the name of whatever system you need to connect to)

For username and password use your NetID credentials.

Leave the port field blank.

Click Quickconnect.

Once connected, you will see your home directory files on the right. Your local files and folders will be visible on the left. You can then drag files from one window to another to transfer.

For other linux-based shared (exported) files, you can change to /nfs/ on the right side. Whatever NFS exported files are available will be located there. Transferring files back and forth then works the same as above.

For SSH access, putty is a simple and free option, or you may use the terminal on your Mac or on your remote linux system. Again, be sure to use the fully-qualified name ie: ssh yournetid@systemname.nicholas.duke.edu