Home Directories

Your home directory in CS is served by a high performance network fileserver. Any Linux server you log in to will have your home directory mounted, likewise with Windows desktops (mounted through the SAMBA server as K:/). New home directories are located under /u and are limited in size.

After logging in to one of our Linux servers, your working directory will be your home directory

[xyz1ab@portal01 ~]$ pwd
[xyz1ab@portal01 ~]$ df -h .
Filesystem            Size  Used Avail Use% Mounted on
corezfs01:/u/xyz1ab   100G  5.2M  100G   1% /u/xyz1ab

Home directories are quota limited in size, and should not be used for large data sets or project data. Users must save large data sets or project data in a project directory (see Project Directories).

Upon separation from UVA CS, your account will be closed one month after that separation, and your home directory will be removed. No backup will be provided, so it is important for you to save any files you wish to take with you onto other storage.

Home Directory Access

NFSCS filesystems are exported via NFS to department-managed Linux interactive and compute nodes. Filesystems are mounted consistently across all nodes so the paths are identical no matter what node you are working on. If you have root on your own desktop or laptop, we do not export NFS to your machine, you'll need to use our SAMBA server (samba.cs.virginia.edu) using the SMB protocol.
Samba/CIFSUsers logging into their “CSDOM” Windows account will automatically find their home directory mounted as their “K:\” drive.
Anyone can mount their home directory using Samba on their personal computers. Windows, Linux and Mac OS all have clients that will allow you to mount your CS department home directory over Samba.
SCP/SFTPFor remote access, we recommend using an SCP/SFTP client: the openssh package is available on Mac OSX and Linux. For Windows users, openssh is part of the cygwin packages, and ITS also provides SecureFX at ITS Software Central. For these connections, you should use the hostname portal.cs.virginia.edu to access the files; direct access to all file servers is restricted to Samba and NFS services.

Secure Copy (SCP)/Secure File Transfer Protocol (SFTP)

You can use scp or sftp to copy files to/from our filesystems. Use the host sftp.cs.virginia.edu for these connections.

Using SAMBA to access Linux directories from Mac/Windows

We have a SAMBA server samba.cs.virginia.edu that everyone can use to connect to their home directory. To connect to your home directory, use the following network share:


When asked to authenticate please format your username like this:


For example:

Accessing your CS directories via SAMBA on Windows

SAMBA allows users on PCs to access their home or project directories via the SAMBA protocol.

ShareShare PathDesc
/u/username\\samba.cs.virginia.edu\usernameHome Directories
/p/project_name\\samba.cs.virginia.edu\p\project_nameProject Directories
/bigtemp\\samba.cs.virginia.edu\bigtemp/bigtemp temporary data space
Mounting Filesystems on Linux or Mac OS

Graphical file managers under Linux and Mac OS (e.g. Nautilus, Finder, Caja, etc.) allow you to enter a network directory path using the following formatting:

smb://samba.cs.virginia.edu/username   <- home directory 
smb://samba.cs.virginia.edu/p/project_name   <- project directory 
smb://samba.cs.virginia.edu/bigtemp   <- bigtemp directory 

On a Mac, you would select “Connect to Server” at the end of the Go menu on a Finder window, and type in the string above.

You may be required to specify a user name in this path, so if you are not asked for a username and password, try adding your username like so:

smb://username@samba.cs.virginia.edu/username   <- home directory 
smb://username@samba.cs.virginia.edu/project_name   <- project directory 
smb://username@samba.cs.virginia.edu/bigtemp   <- bigtemp directory 

If you are asked for a domain or workgroup, use CSDOM.

My directory is empty!

We use the linux “automounter” service autofs to mount network filesystems on Linux systems. Because of the way autofs works, if you try to get a list of files, the directory appears to be empty:

[abc1de@portal01]$ ls /u/abc1de
[abc1de@portal01]$                       <-- no output

However once you 'cd' into that directory, autofs quickly mounts the filesystem and its files are listed

[abc1de@portal01]$ cd /u/abc1de
[abc1de@portal01]$ ls /u/abc1de
file1  file2  file3...
[abc1de@portal01]$ ls /u
abc1de                                   <-- /u/abc1de will stay mounted while the directory is being used
  • storage_home_directories.txt
  • Last modified: 2021/11/04 18:59
  • (external edit)